bytedance/seedance-2.5/text-to-videoGeneration type:
text_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
Input parameters
Send these fields ininput_params.
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".The aspect ratio of the generated videoAllowed values:
"auto", "21:9", "16:9", "4:3", "1:1", "3:4", "9:16".Render a cheap 480p draft (resolution is forced to 480p). The response carries a draft_task_id that renders this same take at 1080p within 7 days.
draft_task_id from a draft of this same model. Renders that exact take at 1080p; every other input is ignored except duration, which is required and prices the render: pass the draft’s duration in seconds. Cannot be combined with draft.
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.
