bytedance/seedance-2.5/image-to-videoGeneration type:
image_to_videoEndpoint:
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 ininput_params.
string
required
The text prompt used to generate the videoMaximum characters:
5000.string
required
The URL of the image used as the first frame
integer
Random seed to control video generation. Use -1 for random.Minimum:
-1.
Maximum: 2147483647.string
default:"auto"
Duration of the video in secondsAllowed values:
"auto", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30".string
default:"720p"
Video resolutionAllowed values:
"480p", "720p", "1080p".string
The URL of the image used as the last frame
boolean
default:true
Whether to generate audio for the video
Complete JSON schema
Complete JSON schema
Response
The request returns the task withstatus: "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.
