跳转到主要内容
GET
/
v1
/
models
List Models
curl --request GET \
  --url https://api.shuyou.ai/v1/models \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "openai/gpt-5",
      "object": "model",
      "display_name": "GPT-5",
      "owned_by": "openai",
      "input_modalities": [
        "text",
        "image"
      ],
      "output_modalities": [
        "text"
      ]
    }
  ]
}

授权

Authorization
string
header
必填

Authorization: Bearer YOUR_API_KEY — create keys in the ShuYou console.

响应

200 - application/json

Model list

object
string
示例:

"list"

data
object[]