已验证的接入方式
先完成快速验证,再运行对应客户端示例。不同能力使用对应 Key;Models可查询其模型列表。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
按经过实际调用的客户端和协议选择接入方式。
| 客户端 | 实测版本 / 环境 | 接入配置 |
|---|---|---|
| Codex CLI | macOS,0.153.2 | Responses HTTP,根地址 https://code.heihuzi.ai |
| Claude Code | macOS,2.1.206 | Messages,根地址 https://code.heihuzi.ai |
| Python OpenAI SDK | 2.32.0 | base_url="https://code.heihuzi.ai/v1" |
| JavaScript OpenAI SDK | 7.13.0 | baseURL: "https://code.heihuzi.ai/v1" |
| cURL | 当前 macOS 命令行 | 填写完整 /v1/... URL |