Appearance
OpenAI Models
获取当前可用的 OpenAI 兼容模型列表。
请求
GET https://api.mirrorstages.com/openai/v1/models请求头
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
Authorization | string | 是 | Bearer your-api-key |
请求示例
bash
curl https://api.mirrorstages.com/openai/v1/models \
-H "Authorization: Bearer your-api-key"响应
json
{
"object": "list",
"data": [
{
"id": "claude-sonnet-4-6-20250514",
"object": "model",
"created": 1735689600,
"owned_by": "openai",
"type": "model",
"display_name": "claude-sonnet-4-6-20250514"
},
{
"id": "gpt-4o",
"object": "model",
"created": 1735689600,
"owned_by": "openai",
"type": "model",
"display_name": "gpt-4o"
}
]
}