seedance-2.0
Submit an async ByteDance Seedance 2.0 video generation task. Three public tiers — seedance-2.0 / seedance-2.0-fast / seedance-2.0-mini — with the mode (text / image / reference) inferred from the media inputs in the request. Returns a task_id to poll via the status endpoint until status=finished.
Authorization
BearerAuth
使用 Bearer Token 认证。
格式: Authorization: Bearer sk-xxxxxx
In: header
Request Body
application/json
Seedance 2.0 档位。seedance-2.0 = standard(最高质量,唯一支持 1080p / 4k),-fast = 加速档,-mini = 轻量档。模式(text/image/reference)由请求中的媒体输入自动判定。
"seedance-2.0" | "seedance-2.0-fast" | "seedance-2.0-mini"视频描述。Text-to-Video 必填;带媒体输入(image / images / video_urls / audio_urls / image_with_roles)时可省。中文建议 ≤500 字,英文 ≤1000 词。
视频比例。adaptive 根据首帧或参考素材自动选择。
"16:9" | "9:16" | "1:1" | "4:3" | "3:4" | "21:9" | "adaptive"视频时长,单位为秒。范围 4..15,默认 5。
4 <= value <= 15首帧/参考图 URL。
参考图 URL 列表。Image-to-Video: 12 张(2 张时第 1 张为首帧、第 2 张为尾帧);Reference-to-Video: 09 张。与 image_with_roles 互斥。
items <= 9视频清晰度。默认 720p;1080p 和 4k 仅 seedance-2.0 支持。
"480p" | "720p" | "1080p" | "4k"是否生成音轨。需要明确控制音轨时请显式指定。
参考视频 URL(Reference-to-Video)。03 个,总时长 ≤15s;格式 .mp4/.mov;480p720p。
items <= 3参考音频 URL(Reference-to-Video)。0~3 个,总时长 ≤15s;格式 .wav/.mp3。必须配合图或视频输入,不能单独提供。
items <= 3带角色的参考图列表,与 images 互斥。
"first_frame" | "last_frame" | "reference_image"高级生成参数。
联网搜索,默认 false。开启后模型自主决定是否检索;触发时按搜索次数额外计费。
任务终态时由平台主动 POST 的 HTTPS 回调地址(可选)
uriResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.apimp.ai/api/generate/submit" \ -H "Content-Type: application/json" \ -d '{ "model": "seedance-2.0", "prompt": "A cat playing the Moonlight Sonata on a piano, cinematic lighting" }'{
"code": 200,
"data": {
"task_id": "task_2BvCWmHzG6sJxK4tQpAr8M9nZyYfRdLs",
"status": "not_started",
"created_time": "2026-06-26T09:21:26",
"error_message": null
}
}{
"code": 400,
"error": {
"message": "prompt is required unless `image`, `images`, `image_with_roles`, `video_urls`, or `audio_urls` is provided",
"type": "invalid_request_error"
}
}{
"code": 400,
"error": {
"message": "string",
"type": "invalid_request_error"
}
}{
"code": 400,
"error": {
"message": "string",
"type": "invalid_request_error"
}
}{
"code": 400,
"error": {
"message": "string",
"type": "invalid_request_error"
}
}{
"code": 400,
"error": {
"message": "string",
"type": "invalid_request_error"
}
}How is this guide?
Last updated on