AIAI工具导航
首页|全部工具对比工作流博客使用指南AI 生态提交工具|

AI工具导航

发现最适合你的AI智能工具

浏览

  • 全部工具
  • 榜单
  • 最新上线
  • 对比

社区

  • 提示词分享
  • 社区讨论
  • 工作流
  • 站点动态

资源

  • 博客
  • 使用指南
  • AI 生态
  • 价格对比

关于

  • 提交工具
  • 数据统计
  • 站点状态
  • API 文档

订阅周刊

© 2026 AI工具导航. 保留所有权利.
首页搜索榜单工作流
首页/模型部署/Gemini 2.5
🧠

Gemini 2.5 部署教程

Google DeepMind

Google 原生多模态大模型,支持文本/图像/音频/视频/代码输入,1M 上下文窗口。通过 Google AI Studio 和 Vertex AI 提供云端 API。

多模态LLM云端APIGoogle
难度
简单
耗时
10 分钟
平台
Google AI Studio
硬件
云端 API(无需本地 GPU)

✨ 核心亮点

原生多模态 1M 上下文 免费额度慷慨 Google 生态集成
1

Google AI Studio 免费使用

  1. 访问 https://aistudio.google.com
  2. 点击 'Create new prompt'
  3. 选择模型: Gemini 2.5 Pro (Experimental)
  4. 设置 System Instructions(系统指令)
  5. 开始对话,支持上传图片/视频/音频文件
  6. 获取 API Key: 左侧菜单 → Get API Key → 点击 'Create API Key'
2

Python API 调用

  1. 安装 SDK: pip install google-generativeai
  2. 导入库: import google.generativeai as genai
  3. 配置Key: genai.configure(api_key='YOUR_API_KEY')
  4. 初始化: model = genai.GenerativeModel('gemini-2.5-pro-exp-03-25')
  5. 生成: response = model.generate_content('你的提示词')
  6. 免费额度: 每分钟 2 请求 (免费层)
3

Vertex AI 企业部署

  1. 在 GCP Console 启用 Vertex AI API
  2. 创建 Service Account 并下载 JSON Key
  3. gcloud auth activate-service-account --key-file=key.json
  4. 通过 Vertex AI SDK 调用,支持企业级 SLA 和 VPC 私网
返回全部部署教程