任务管理
列出全部模型 spec 注册
列出全部可通过 /api/generate/submit 提交的 model(含别名 / 上游真实 ID / 前缀),以及它们映射到的 spec。
适合作为 SDK 的 model 发现入口:拉一次拿到所有可用 model,再按需用 /api/generate/spec/:model 拉具体字段表。
Query Parameters
include_pricing?boolean
为精确模型注册项附加 pricing 和 default_action。前缀项不代表具体模型,不返回价格。pricing 结构与单模型 spec 接口一致。
Default
falseResponse Body
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": "gpt-image-2.5-flare",
"match_type": "exact",
"spec_id": "gpt-image-2.5"
},
{
"match": "gpt-image-2.5-sunburst",
"match_type": "exact",
"spec_id": "gpt-image-2.5"
},
{
"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"
}
]
}
}这篇文档对您有帮助吗?
最后更新于