Skip to main content
← Seedance Model name: bytedance/seedance-2.0/fast/reference-to-video
Generation type: video_to_video
Endpoint: POST /api/asset_generator/

Pricing

Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.

Quick start

The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files.

Input parameters

Send these fields in input_params.
string
required
The text prompt used to generate the video
integer
Random seed to control video generation. Use -1 for random.Minimum: -1. Maximum: 4294967295.
string
default:"auto"
Duration of the video in secondsAllowed values: "auto", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15".
string
default:"720p"
Video resolution - 480p for faster generation, 720p for balanceAllowed values: "480p", "720p".
string
default:"16:9"
The aspect ratio of the generated videoAllowed values: "auto", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16".
string[]
Up to 9 reference images (JPEG, PNG, WebP, max 30MB each).Maximum items: 9.
string[]
Up to 3 reference videos (MP4, MOV, 2-15s combined, max 50MB total).Maximum items: 3.
string[]
Up to 3 audio files (MP3, WAV, max 15s combined, 15MB per file). Requires at least one image or video reference.Maximum items: 3.
boolean
default:true
Whether to generate synchronized audio for the video

Response

The request returns the task with status: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.