Query Status and Download the Video (Doubao / Seedance Format)
Querying uses the same endpoint as Get Video Generation Task Status, returning the unified task JSON (status flow and fields: that page). Once SUCCESS, download the video from data.result_url.
Endpoint
GET /v1/video/generations/{task_id}
Request Examples
Poll once every 10 seconds or so. Note that result_url is a signed upstream direct link that expires in about 24 hours — download and store it promptly.
Response Body
The query response is a unified task JSON. data.data is the upstream's raw task response, echoing the values that actually took effect — verify your parameters here:
Response Example
Status Callback (Optional)
When metadata.callback_url (a publicly reachable, POST-accepting URL) is passed on submit, The upstream pushes one POST per status change: the body is the upstream task object JSON (with id, model, status, content, etc.) — use the status field to detect the terminal state (succeeded / failed). Callbacks and polling are independent and can be used together.
