Skip to main content
← Seedance Model name: bytedance/seedance/v1.5/pro/text-to-video
Generation type: text_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

Input parameters

Send these fields in input_params.
string
required
The text prompt used to generate the videoMaximum characters: 2000.
integer
Random seed to control video generation. Use -1 for random.Minimum: -1. Maximum: 4294967295.
string
default:"5"
Duration of the video in secondsAllowed values: "4", "5", "6", "7", "8", "9", "10", "11", "12".
string
default:"720p"
Video resolutionAllowed values: "480p", "720p", "1080p".
string
default:"16:9"
The aspect ratio of the generated videoAllowed values: "21:9", "16:9", "4:3", "1:1", "3:4", "9:16".
boolean
default:false
Whether to fix the camera position
boolean
default:true
Whether to generate 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.