跳转到内容

Google Gemini

Google Gemini 是 Google 的多模态模型系列,提供超长上下文窗口,适合编程、推理和文档分析。

官网: ai.google.dev

  1. 访问 Google AI Studio,使用 Google 账号登录。

  2. 打开 aistudio.google.com/apikey。

  3. 点击 Create API Key,选择或新建一个 Google Cloud 项目。

  4. 立即复制并妥善保存 Key。

通用步骤见模型配置。

  1. 点击 Dline 面板标题栏的 Settings 按钮。

  2. 在 Provider 中选择 Google Gemini。

  3. 把 Key 粘贴到 Gemini API Key 输入框。

  4. 在 Model 中选择模型。

默认请求地址为 https://generativelanguage.googleapis.com。需要走代理网关时,勾选 Use custom base URL 并填写地址。支持推理强度的模型会额外显示推理强度选项。