| 配置项 | 填写内容 |
|---|---|
| OpenAI Compatible Base URL | https://api.naoshengyun.com/v1 |
| Anthropic Compatible Base URL | https://api.naoshengyun.com |
| API Key | 在脑生云控制台创建的 API Key |
| Model ID | 控制台中当前 API Key 有权限使用的实际模型 ID |
POST。https://api.naoshengyun.com/v1/chat/completions。Authorization: Bearer YOUR_API_KEY。Content-Type: application/json。messages。{
"model": "YOUR_MODEL_ID",
"messages": [
{"role": "user", "content": "{input}"}
],
"stream": false
}choices[0].message.content。