Task Management
List all model spec registrations
Lists every model accepted by /api/generate/submit — including friendly aliases, raw upstream IDs, and registered prefixes — together with the spec each one maps to.
Use it as the model-discovery entry for your SDK: fetch the list once, then drill into /api/generate/spec/:model for the field table of any model you care about.
Authorization
BearerAuth
AuthorizationBearer <token>
使用 Bearer Token 认证。
格式: Authorization: Bearer sk-xxxxxx
In: header
Response Body
application/json
application/json
curl -X GET "https://api.apimp.ai/api/generate/specs"{
"code": 200,
"data": {
"models": [
{
"match": "gpt-image-2",
"match_type": "exact",
"spec_id": "gpt-image-2"
},
{
"match": "nano-banana-2",
"match_type": "exact",
"spec_id": "nano-banana-2"
},
{
"match": "nano-banana-pro",
"match_type": "exact",
"spec_id": "nano-banana-pro"
},
{
"match": "sora-2",
"match_type": "exact",
"spec_id": "sora-2"
},
{
"match": "sora-2-pro",
"match_type": "exact",
"spec_id": "sora-2-pro"
},
{
"match": "doubao-seedance-2.0",
"match_type": "prefix",
"spec_id": "seedance-2.0"
},
{
"match": "seedance-2.0",
"match_type": "prefix",
"spec_id": "seedance-2.0"
},
{
"match": "kling-",
"match_type": "prefix",
"spec_id": "kling"
},
{
"match": "veo-",
"match_type": "prefix",
"spec_id": "veo"
}
]
}
}{
"code": 0,
"error": {
"message": "string",
"type": "string"
}
}How is this guide?
Last updated on