主题
Base URL 怎么填
Base URL 是 AI 工具访问图漾API的接口地址。不同工具写法不一样,这是新手最容易填错的地方。
常用地址
| 场景 | 填写 |
|---|---|
| 图漾API平台入口 | https://codex.tuyoung.com |
| OpenAI 兼容客户端 | https://codex.tuyoung.com/v1 |
| Codex 配置文件 | https://codex.tuyoung.com |
| Claude Code 环境变量 | 通常填 https://codex.tuyoung.com,以平台密钥页弹窗为准 |
最稳的方法
在图漾API的 API Keys 页面,找到你的 Key,点击 使用密钥。平台会根据这个 Key 的分组显示对应工具的配置示例。能用平台弹窗时,优先以弹窗为准。
根地址和 /v1 的区别
https://codex.tuyoung.com 是根地址,适合 Codex 这类会自己拼接 Responses API 路径的工具。
https://codex.tuyoung.com/v1 是 OpenAI 兼容地址,适合 ChatBox、Cherry Studio、Cursor 这类要求填写 OpenAI Compatible Base URL 的客户端。
快速判断
如果工具页面写的是:
OpenAI API Base URLOpenAI CompatibleAPI HostEndpoint
通常先填:
text
https://codex.tuyoung.com/v1如果工具文档明确要求 Codex config.toml 的 base_url,则填:
text
https://codex.tuyoung.com