MD 创建视频
创建 Seedance 2.0 视频生成任务。支持满血版(sd2_mx_*,按秒计费,素材须审核)、SP 经济版(seedance2.0-sp / seedance2.0-fast-sp,按分辨率按秒计费)、SP 官方版(seedance2.0-of-sp / seedance2.0-of-fast-sp,按分辨率按秒计费)、Mini 版(seedance2.0-mini,按分辨率按秒计费)、Mini 特价版(seedance2.0-mini-sp,按次计费,仅 480p/720p)、MD(seedance2.0-md / seedance2.0-fast-md,按次计费,720p,不支持音频)、Fast I2V(seedance2.0-fast-i2v,按次计费,720p,仅图片参考最多 9 张,不支持参考视频/音频)、STD 标准版(seedance2.0-std,按次计费,720p,支持音频参考)。创建后使用 GET /api/open-api/v1/videos/ 查询结果。详见 seedance/md/create、seedance/md/fast-i2v、seedance/md/std、seedance/mini/create 与 seedance/mini-sp/create 文档。
task_id,请使用 查询视频任务 轮询状态,完成后从 result.video_url 获取视频地址。
POST /api/open-api/v1/seedance/videos。满血版、Mini、SP 线路见各自文档。模型
| 线路 | model 取值 | 计费 | 时长 |
|---|---|---|---|
| MD 标准 | seedance2.0-md | 按次 | 4–15 秒 |
| MD 快速 | seedance2.0-fast-md | 按次 | 4–15 秒 |
请求参数
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
model | string | 是 | 见上表 |
prompt | string | 是 | 视频生成提示词,最多 5000 字符 |
duration | int | 是 | 时长(秒),4–15,默认 5 |
ratio | string | 否 | 画面比例:16:9(默认)、9:16、1:1 |
images | string[] | 否 | 参考图列表,最多 4 张 |
first_image | string | 否 | 首帧图片;首尾帧模式须与 last_image 同时传入 |
last_image | string | 否 | 尾帧图片;首尾帧模式须与 first_image 同时传入 |
reference_videos | string[] | 否 | 参考视频列表,最多 3 个 |
素材说明
- 直接传入可公网访问的
https://图片或视频 URL。图片不支持 GIF 格式。 - 不支持 SP 素材库
asset://流程;满血版asset://审核流程也不适用于 MD。
约束
images(参考图模式)与first_image/last_image(首尾帧模式)不可同时使用。- 不支持仅传首帧图;使用首尾帧模式时,
first_image与last_image必须同时传入。 ratio仅支持16:9、9:16、1:1。images最多 4 张;prompt最多 5000 字符。- 不支持
reference_audios。 reference_videos最多 3 个;参考视频总时长须控制在 4–15 秒,总大小不超过 200MB;单个参考视频分辨率须在 720px–2160px 之间,视频帧率在 24–60 帧以内。
示例
MD 标准 — 参考图生视频
MD 快速 — 首尾帧图生视频
first_image 与 last_image 必须同时传入,不支持仅传首帧图。响应示例
查询任务
queued → processing → completed / failed。完成后从 data.result.video_url 获取视频地址。
授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
Model name. Manxue: sd2_mx_720p | sd2_mx_1080p | sd2_mx_2k | sd2_mx_4k; Fast: sd2_mx_fast_720p | sd2_mx_fast_1080p; Video ref: sd2_mx_video_720p | sd2_mx_video_1080p | sd2_mx_video_2k | sd2_mx_video_4k; Video ref Fast: sd2_mx_video_fast_720p | sd2_mx_video_fast_1080p (all per-second). reference_videos only for video-series models. SP economy: seedance2.0-sp | seedance2.0-fast-sp (per-second by resolution). SP official: seedance2.0-of-sp | seedance2.0-of-fast-sp (per-second by resolution). Mini: seedance2.0-mini (per-second by resolution). Mini Special: seedance2.0-mini-sp (per-task, 480p/720p only). MD: seedance2.0-md | seedance2.0-fast-md (per-task, 720p). Fast I2V: seedance2.0-fast-i2v (per-task, 720p, image refs only). STD standard: seedance2.0-std (per-task, 720p)
Text prompt. MD route: max 5000 characters
Duration in seconds. Full 4-12; SP economy 4-15; MD 1-15; STD standard 4-15. Default 5
Output resolution for SP economy. Default 720p
480p, 720p, 1080p Video orientation (ratio takes precedence if set)
landscape, portrait Reference images. Full route: asset://{assetId}; SP/MD/STD/Fast I2V: https:// URL. MD max 4; seedance2.0-fast-i2v and STD max 9. Mutually exclusive with first_image/last_image
Aspect ratio. MD: 16:9, 9:16, 1:1 only. STD: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16. Full route also supports 4:3, 3:4, 21:9, Adaptive
First frame. Full: asset://{assetId}; Economy/MD: https:// URL. MD frame mode requires last_image as well; first frame only is not supported
Last frame. Full: asset://{assetId}; Economy/MD: https:// URL. MD frame mode requires first_image as well
Reference videos. Full: asset://{assetId}; Economy/MD: https:// URL. MD: max 3, combined duration ≤15s, combined size ≤200MB, each resolution 720px–2160px. Not supported on seedance2.0-fast-i2v
Reference audio. Supported on Full, SP economy, and STD. Not supported on MD or seedance2.0-fast-i2v. Full: asset://{assetId}; SP: https:// URL or asset://. STD max 3 clips; frame mode does not support audio references