Skip to content

Seedance 2.0 Mini Text to Video

POST/v1/run

Seedance 2.0 Mini is ByteDance's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to bytedance/seedance/2.0/mini/text-to-video.

Default: bytedance/seedance/2.0/mini/text-to-video

stringpromptrequired

The text prompt used to generate the video

Optional<string>aspect_ratio

The aspect ratio of the generated image.

Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16

Optional<string>resolution

Video resolution - 480p for faster generation, 720p for balance.

Allowed values: 480p, 720p

Default: 720p

Optional<integer>duration

Duration of the video in seconds. Supports 4 to 15 seconds, or auto to let the model decide based on the prompt.

Allowed values: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

Default: auto

Optional<boolean>generate_audio

Whether to generate synchronized audio for the video, including sound effects, ambient sounds, and lip-synced speech. The cost of video generation is the same regardless of whether audio is generated or not.

Default: true

Optional<string>end_user_id

The unique user ID of the end user.

Response Schema

The 202 submit response is pending or running and contains only id, status, and model. Poll GET /v1/run/{id} for the same public status envelope.

stringidrequired

Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.

stringstatusrequired

Current public run status.

Allowed values: pending, running, completed, failed, timeout

Optional<string>model

Public SandBase model name used for this run.

Optional<array<object>>outputs

Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.

Optional<object>error

Present only for failed or timeout runs. Contains a public error type and sanitized message.

Optional<string>error.type

Stable public error category.

Optional<string>error.message

Sanitized error message safe to show to clients.

Optional<object>usage

Usage details when available.

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: text-to-video

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async