API 文档接口参考
Seedream 5.0 Pro · 查询单个模型
模型对象包含 slug、name、type、vendor、params 和 providers。供应商条目包含其实际参数和价格档位。
GET
/api/v1/models/{slug}公开接口 · 无需 API Key此模型使用的接口
POST
/generations创建生成任务POST/images/generationsOpenAI 兼容生图GET/generations/{id}获取结果POST/generations/{id}/cancel取消任务POST/quote报价GET/models/{slug}查询单个模型选择供应商可查看其实际参数限制。自动路由会选择支持所传参数的供应商。示例包含默认值和必填输入,请将示例媒体地址替换为可访问的文件。
请求
cURL
curl 'https://01router.com/api/v1/models/seedream-5.0-pro'输入参数
查询 / 路径参数slugstring · path必填模型目录中的 slug;项目密钥也可使用项目自定义的模型 slug。
可选值:"seedream-5.0-pro"
响应示例
200 · application/json
{
"slug": "seedream-5.0-pro",
"name": "Seedream 5.0 Pro",
"type": "image",
"vendor": "ByteDance",
"description": "ByteDance Seedream 5.0 Pro: photoreal images, multilingual text and up to 10-reference editing.",
"tags": [
"text-to-image",
"image-edit"
],
"coverUrl": "",
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_urls",
"type": "images",
"label": "Reference images",
"description": "Optional — switches to image editing",
"maxItems": 10
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"21:9"
],
"default": "1:1"
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"1K",
"2K"
],
"default": "1K"
},
{
"name": "num_images",
"type": "integer",
"label": "Images",
"min": 1,
"max": 4,
"default": 1
}
],
"providers": [
{
"provider": "fal",
"providerName": "fal.ai",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_urls",
"type": "images",
"label": "Reference images",
"description": "Optional — switches to image editing",
"maxItems": 10
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"21:9"
],
"default": "1:1"
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"1K"
],
"default": "1K"
},
{
"name": "num_images",
"type": "integer",
"label": "Images",
"min": 1,
"max": 4,
"default": 1
}
],
"prices": [
{
"unit": "image",
"conditions": {
"resolution": "1K"
},
"priceMicros": 60750,
"originalMicros": 67500,
"credits": 7
}
]
},
{
"provider": "replicate",
"providerName": "Replicate",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_urls",
"type": "images",
"label": "Reference images",
"description": "Optional — switches to image editing",
"maxItems": 10
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"21:9"
],
"default": "1:1"
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"1K",
"2K"
],
"default": "1K"
},
{
"name": "num_images",
"type": "integer",
"label": "Images",
"min": 1,
"max": 4,
"default": 1,
"options": [
1
]
}
],
"prices": [
{
"unit": "image",
"conditions": {
"resolution": "1K"
},
"priceMicros": 40500,
"originalMicros": 45000,
"credits": 5
},
{
"unit": "image",
"conditions": {
"resolution": "2K"
},
"priceMicros": 81000,
"originalMicros": 90000,
"credits": 9
}
]
},
{
"provider": "wavespeed",
"providerName": "WaveSpeedAI",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_urls",
"type": "images",
"label": "Reference images",
"description": "Optional — switches to image editing",
"maxItems": 10
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"21:9"
],
"default": "1:1"
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"1K",
"2K"
],
"default": "1K"
},
{
"name": "num_images",
"type": "integer",
"label": "Images",
"min": 1,
"max": 4,
"default": 1,
"options": [
1
]
}
],
"prices": [
{
"unit": "image",
"conditions": {
"resolution": "1K"
},
"priceMicros": 36450,
"originalMicros": 40500,
"credits": 4
},
{
"unit": "image",
"conditions": {
"resolution": "2K"
},
"priceMicros": 72900,
"originalMicros": 81000,
"credits": 8
}
]
},
{
"provider": "kie",
"providerName": "KIE AI",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_urls",
"type": "images",
"label": "Reference images",
"description": "Optional — switches to image editing",
"maxItems": 10
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"21:9"
],
"default": "1:1"
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"1K",
"2K"
],
"default": "1K"
},
{
"name": "num_images",
"type": "integer",
"label": "Images",
"min": 1,
"max": 4,
"default": 1,
"options": [
1
]
}
],
"prices": [
{
"unit": "image",
"conditions": {
"resolution": "1K"
},
"priceMicros": 31500,
"originalMicros": 35000,
"credits": 4
},
{
"unit": "image",
"conditions": {
"resolution": "2K"
},
"priceMicros": 63000,
"originalMicros": 70000,
"credits": 7
}
]
},
{
"provider": "apimart",
"providerName": "APIMart",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_urls",
"type": "images",
"label": "Reference images",
"description": "Optional — switches to image editing",
"maxItems": 10
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"21:9"
],
"default": "1:1"
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"1K",
"2K"
],
"default": "1K"
},
{
"name": "num_images",
"type": "integer",
"label": "Images",
"min": 1,
"max": 4,
"default": 1
}
],
"prices": [
{
"unit": "image",
"conditions": {
"resolution": "1K"
},
"priceMicros": 26325,
"originalMicros": 29250,
"credits": 3
},
{
"unit": "image",
"conditions": {
"resolution": "2K"
},
"priceMicros": 52650,
"originalMicros": 58500,
"credits": 6
}
]
},
{
"provider": "evolink",
"providerName": "EvoLink",
"discount": 90,
"preferred": false,
"params": [
{
"name": "prompt",
"type": "text",
"label": "Prompt",
"required": true
},
{
"name": "image_urls",
"type": "images",
"label": "Reference images",
"description": "Optional — switches to image editing",
"maxItems": 10
},
{
"name": "aspect_ratio",
"type": "enum",
"label": "Aspect ratio",
"options": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"21:9"
],
"default": "1:1"
},
{
"name": "resolution",
"type": "enum",
"label": "Resolution",
"options": [
"1K",
"2K"
],
"default": "1K"
},
{
"name": "num_images",
"type": "integer",
"label": "Images",
"min": 1,
"max": 4,
"default": 1,
"options": [
1
]
}
],
"prices": [
{
"unit": "image",
"conditions": {
"resolution": "1K"
},
"priceMicros": 30600,
"originalMicros": 34000,
"credits": 4
},
{
"unit": "image",
"conditions": {
"resolution": "2K"
},
"priceMicros": 61200,
"originalMicros": 68000,
"credits": 7
}
]
}
],
"fromMicros": 26325,
"fromOriginalMicros": 29250,
"fromUnit": "image"
}响应仅用于说明结构;ID、用量、价格和结果以实际请求为准。
输出字段
slugstring模型目录中的 slug;项目密钥也可使用项目自定义的模型 slug。
paramsarray参数定义:name、type、required、default、options,以及已配置的 min、max、maxItems、maxLength。
providersarray可用供应商、各自的参数约束及公开价格档位。
给 AI 使用
把文档索引或完整接口文档交给 AI 编程助手,包含实时模型参数。