模型
视频ByteDancetext-to-videoimage-to-videoaudio
Seedance 2.5
ByteDance’s flagship video model: up to 30 s in one pass, native synchronized audio, first/last-frame control.
模型 ID: seedance-2.5
Playground
4 – 30
预计费用—
在代码中发送同样的请求 — API 文档
本次请求的各供应商报价
输入提示词即可对比各供应商价格。
结果
生成结果会显示在这里。
各供应商价格
价格按单位计费;未指定供应商时,会路由到支持该参数组合且价格最低的供应商。
| 供应商 | 规格 | 价格(美元) | 积分 |
|---|---|---|---|
| fal.ai | resolution: 480p | 60 / 秒 | |
| resolution: 1080p | 315 / 秒 | ||
| resolution: 720p | 128 / 秒 | ||
| Replicate | resolution: 720p | 53 / 秒 | |
| resolution: 480p | 24 / 秒 | ||
| WaveSpeedAI | resolution: 720p | 81 / 秒 | |
| resolution: 480p | 41 / 秒 | ||
| resolution: 1080p | 203 / 秒 | ||
| KIE AI | resolution: 720p | 71 / 秒 | |
| resolution: 480p | 32 / 秒 | ||
| resolution: 1080p | 178 / 秒 | ||
| APIMart | resolution: 720p | 49 / 秒 | |
| resolution: 480p | 22 / 秒 | ||
| resolution: 1080p | 121 / 秒 | ||
| EvoLink | resolution: 480p | 32 / 秒 | |
| resolution: 1080p | 167 / 秒 | ||
| resolution: 720p | 67 / 秒 | ||
| AtlasCloud | resolution: 480p | 31 / 秒 | |
| Vercel AI Gateway | resolution: 720p | 52 / 秒 | |
| resolution: 1080p | 128 / 秒 | ||
| resolution: 480p | 24 / 秒 |
API 文档
接口列表
Base URL: https://01router.com/api/v1
POST
/generations创建生成任务(扣积分)GET
/generations/{id}查询任务;运行中会向上游拉取状态POST
/quote对所有供应商报价(不扣费,无需 Key)鉴权
以 Bearer Token 方式发送 API Key,费用从 Key 所属账户的积分中扣除。
Authorization: Bearer sk_xxxxxxxxxxxxxxxx获取 API Key请求体
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| model | string | 是 | "seedance-2.5" |
| provider | string | 否 | 指定供应商;不传则自动路由到最便宜的。可选: fal | replicate | wavespeed | kie | apimart | evolink | atlascloud | vercel |
| input | object | 是 | 模型参数,字段见下方 input 字段表。 |
input 字段
统一参数适用于所有供应商;部分供应商支持的取值范围更窄,可通过报价接口或 Playground 查看。
| 参数名 | 类型 | 可选值 | 默认值 |
|---|---|---|---|
| prompt* | text | — | — |
| image_url Optional start image (image-to-video) | image | — | — |
| end_image_url | image | — | — |
| duration | integer | 4 – 30 | 5 |
| resolution | enum | 480p | 720p | 1080p | 720p |
| aspect_ratio | enum | 16:9 | 9:16 | 1:1 | 4:3 | 3:4 | 21:9 | 16:9 |
| generate_audio | boolean | — | true |
调用示例
curl https://01router.com/api/v1/generations \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5",
"provider": "fal",
"input": {
"prompt": "A cinematic shot of a red fox running through snow",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
}
}'
# poll until status is "succeeded" or "failed"
curl https://01router.com/api/v1/generations/<id> -H "Authorization: Bearer $API_KEY"响应示例
传入模型 ID、统一输入参数,可选指定供应商 slug。接口立即返回任务 ID;同步类供应商的图片模型可能直接返回成功结果。
{
"id": "gen_6f1c…",
"object": "generation",
"model": "seedance-2.5",
"type": "video",
"provider": "fal",
"status": "processing",
"input": {
"prompt": "…",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
"generate_audio": true
},
"outputs": [],
"error": null,
"credits": 0,
"price_usd": 0,
"created_at": "2026-10-23T08:00:00.000Z",
"completed_at": null
}获取结果
每隔几秒轮询,直到 status 为 succeeded 或 failed。输出链接由供应商托管,可能过期,请及时下载保存。
curl https://01router.com/api/v1/generations/gen_6f1c… -H "Authorization: Bearer $API_KEY"
{ "id": "gen_6f1c…", "model": "seedance-2.5", "status": "succeeded", "outputs": ["https://…"], … }报价
请求体与创建任务相同。返回按价格排序的可用供应商,以及无法处理该请求的供应商及原因。
curl https://01router.com/api/v1/quote -H "Content-Type: application/json" \
-d '{"model":"seedance-2.5","input":{"prompt":"…","duration":5,"resolution":"720p","aspect_ratio":"16:9","generate_audio":true}}'鉴权、路由、计费与错误码详见 网关 API 文档