跳至正文

API 參考

CHUA ONE 公開推理介面、通用請求標頭、請求憑證和協定差異。

基礎網址

https://chuaone.si/v1

介面

GET /v1/models
專案密鑰可見的模型
POST /v1/chat/completions
OpenAI 相容對話
POST /v1/responses
Responses 相容文字與工具
POST /v1/messages
Anthropic 相容 Messages
POST /v1/images/generations
生成一張圖像
POST /v1/videos/generations
建立非同步影片任務
GET /v1/videos/{id}
查詢已有影片任務

通用請求約定

Authorization
Bearer $CHUA_API_KEY
Content-Type
application/json for request bodies
Idempotency-Key
1–160 characters from A-Z a-z 0-9 . _ : -; required for generation requests.
X-CHUA-Request-ID
Save this response header as the request receipt when returned.

密鑰與權限 · 錯誤與重試

機器可讀規格

GET /docs/openapi.json · GET /llms.txt