跳到主要内容

Google AI Studio

官方网站 https://aistudio.google.com/

Google AI Studio 是一个基于浏览器的 IDE,专为生成模型的原型设计而量身定制。用户可以在 Google AI Studio 中快速试验各种模型和提示。

连接您的提供商账户

  • Google AI Studio 创建一个账户。
  • 创建一个新项目以附加 API Key。
  • 生成并复制 API Key
  • 在 VSCode CodeGPT 扩展中,更改聊天中的模型。

  • 选择 LLMs Cloud model 并选择 Google AI Studio 作为 Provider

  • 选择一个模型,例如 gemini-1.5-flash-latest

  • 在此处粘贴 API Key,然后点击 Connect

  • 点击选项外部并开始聊天。

移除或编辑 Key

要从 CodeGPT 中移除您的 API Key,请点击 Change connection settings 按钮。