Messages
调用示例
deepseek-v4-pro、deepseek-v4-flash、qwen3.6-35b-a3b、kimi-k2.6、glm-5.1、glm-5.2、minimax-m2.7)均支持 Anthropic Messages 协议,把 model 换成对应 ID 即可,请求 / 响应 / 流式格式完全一致。响应示例
"stream": true)会发送 Anthropic SSE 事件(message_start、content_block_delta、message_delta、message_stop):
加群 & 客服


Authorizations
Use the API key created at https://coder.visioncoder.cn/key as the Bearer token. Anthropic clients can pass the same key via the x-api-key header.
Body
Anthropic Messages API request body. The platform forwards it upstream as-is; fields follow the official Anthropic protocol.
Model ID supporting the Anthropic protocol — Claude models (claude-sonnet-4-6, claude-opus-4-7, claude-haiku-4-5-20251001, claude-opus-4-5-20251101, claude-opus-4-6, claude-sonnet-4-5-20250929) and all open-source models (deepseek-v4-pro, deepseek-v4-flash, qwen3.6-35b-a3b, kimi-k2.6, glm-5.1, glm-5.2, minimax-m2.7). Call GET /v1/models for the live list.
"claude-sonnet-4-6"
4096
String or structured array, used as the system prompt
"You are a concise assistant."
0 <= x <= 1Response
A successful response.
Anthropic Messages API response body.