OmniAgent 文档

OpenAI

本文介绍如何在 OmniAgent 中配置 OpenAI 模型服务。

获取 API Key

  1. 登录官方 API Key 页面
  2. 点击 + Create new secret key 创建一个新的密钥。
  3. 复制生成的密钥(Key),请务必妥善保存,关闭后将无法再次查看。

image-20260227192943318

在 OmniAgent 中配置

  1. 打开 OmniAgent 的 系统设置 -> API Key 页面。

  2. 点击 + 添加,选择 OpenAI

  3. 填入您刚刚获取的 API Key

  4. 如果您使用的是第三方中转服务,请在 Base URL 或自定义端点处填写对应的代理地址。

    image-20260303154417165

常用服务商 Base URL 参考

如需填写 Base URL,可参考下表选择对应服务商地址:

服务商Base URL推荐模型
Qwenhttps://dashscope.aliyuncs.com/apps/anthropicqwen3.5-plus
DeepSeekhttps://api.deepseek.com/anthropicdeepseek-chat
Kimihttps://api.moonshot.ai/anthropic kimi-k2.5
GLMhttps://open.bigmodel.cn/api/anthropicGLM-4.7
MiniMaxhttps://api.minimax.com/anthropicMiniMax-M2.5
Anthropichttps://api.anthropic.com/v1claude-sonnet-4-6

注意事项

  • 网络环境: 中国大陆地区(除台湾外)无法直接访问 OpenAI 服务,您可能需要自行解决 API 请求的代理/网络中转问题。
  • 账户余额: 请确保您的 OpenAI 账户中有充足的额度,否则请求将返回错误。

您可以点击设置页面的“详情”查看当前 Key 的使用额度(如果服务商支持)。

On this page