API 参考可用模型
获取当前 Key 可用模型
返回当前 API Key 实际可调用的创作模型和 DeepSeek 备用能力。以返回的模型 ID、控制台模型广场和当前用户分组为准。
授权
BearerAuth 授权Bearer <token>
使用 Bearer Token 认证。
格式: Authorization: Bearer sk-xxxxxx
位置: header
查询参数
key?string
Google API Key (用于 Gemini 格式)
标头参数
x-api-key?string
Anthropic API Key (用于 Claude 格式)
anthropic-version?string
Anthropic API 版本
x-goog-api-key?string
Google API Key (用于 Gemini 格式)
响应主体
application/json
application/json
curl -X GET "https://example.com/v1/models" \ -H "x-api-key: " \ -H "anthropic-version: " \ -H "x-goog-api-key: "{ "object": "list", "data": [ { "id": "gpt-4", "object": "model", "created": 0, "owned_by": "openai" } ]}