Skip to main content
POST
Create Video

Create Video

Submit a Seedance 2.0 video generation task. It supports text-to-video, first-frame/first-and-last-frame, reference image/video/audio, video continuation, video editing, and multimodal composition modes. For assets in the media library, it is recommended to reference them in content using asset://{assetId} (see Upload Assets).

Method and Path

Request Examples

Response Examples

After submission, use Query Task to poll task_id.

Authentication

Body

string
required
Model name:
  • doubao-seedance-2-0-260128: Standard version, optimized for the best visual quality and complex shot planning
  • doubao-seedance-2-0-fast-260128: Fast version, optimized for low latency and cost-sensitive scenarios
array<object>
required
Multimodal input array; the order affects role assignment.
string
required
Content type: text, image_url, video_url, audio_url, draft_task.
string
Required when type=text; prompt text.
object
Used when type=image_url; must include url.
string
required
Public image URL or asset reference asset://{assetId}.
object
Used when type=video_url; must include url.
string
required
Public video URL or asset://{assetId}.
object
Used when type=audio_url; must include url.
string
required
Public audio URL or asset://{assetId}.
object
Used when type=draft_task; must include id, and it must be the only element in content.
string
required
Draft task ID, used to continue generation from a draft.
string
Media role:
  • first_frame: first frame (image)
  • last_frame: last frame (image)
  • reference_image: reference image
  • reference_video: reference/source video (continuation, editing)
  • reference_audio: reference audio (requires metadata.generate_audio=true)
object
Video generation parameters; all are optional.
integer
Video duration in seconds. Valid range [4, 15] or -1 (automatically determined by the model), default 5.
string
Resolution: 480p, 720p, 1080p, 4k, default 720p.
string
Aspect ratio: 16:9, 9:16, 1:1, 4:3, adaptive, default 16:9.
integer
Total number of video frames. Mutually exclusive with duration; if frames is provided, it takes precedence over duration.
integer
Random seed. The same seed plus the same input can produce similar results.
boolean
Whether to keep the camera fixed (suppress camera movement), default false.
boolean
Whether to add a watermark in the bottom-right corner of the video, default true.
boolean
Whether to generate or synthesize audio. Must be true when using reference_audio, default false.
boolean
Whether to return the final frame image URL for subsequent continuation, default false.
boolean
Draft mode: faster generation with slightly lower quality, suitable for previews, default false.
string
Service tier, default default.
integer
Maximum task execution time in seconds, range [3600, 259200] (1 hour to 3 days), default 172800.
string
Callback URL when the task is completed.

content Mixing Rules

Violating the following rules may return 400:
  • reference_image cannot appear together with first_frame / last_frame
  • audio_url cannot be the only input in content; it must be paired with at least an image or video
  • draft_task must be the only element in the content array

Generation Mode Comparison

Response

string
Task ID, used for Query Task.