Seedance Query Video Generation Task
Retrieves the information of a video generation task.
Only tasks from the last 7 days can be queried, with a time range of [T-7 days, T), where T is the UTC timestamp (in seconds) when the request is initiated. Note: Video URLs are valid for 14 days. Please download or save them promptly.
Authorizations
Pass Authorization: Bearer <token> in the request header.
Headers
The content type of the request.
Path Parameters
The ID of the video generation task to query.
Note: The above parameter is a Query String Parameter, passed in the URL String.
Response
response
The ID of the video generation task.
The name and version of the model used by the task (Model name-Version).
The status of the task. Valid values:
queued: In queue.running: Task is running.cancelled: Task cancelled (Only tasks in the queued state can be canceled). Cancelled status is automatically deleted after 24h.succeeded: Task succeeded.failed: Task failed.expired: Task timed out.
queued, running, cancelled, succeeded, failed, expired The error information. If the task succeeds, null is returned. If the task fails, the error information is returned.
The time when the task was created. The value is a Unix timestamp in seconds.
The time when the task was last updated. The value is a Unix timestamp in seconds.
The output after the video generation task is completed.
The seed value (integer) used for this request.
The resolution of the generated video.
The width-to-height ratio of the generated video.
The length of the generated video in seconds.
Note: Only one of the duration and frames parameters is returned. If frames is not specified in the creating video generation request, duration will be returned.
Number of frames for the generated video.
Note: Only one of the duration and frames parameters will be returned. If frames is specified in the creating video generation request, frames will be returned.
The frame rate of the generated video.
Whether the generated video includes audio synchronized with the visuals. This parameter is only supported by seedance 2.0 & 2.0 fast, and seedance 1.5 pro.
- true: The model outputs a video with synchronized audio.
- false: The model outputs a silent video.
The tools actually used by the model for this request. Not returned when no tools are used.
A unique identifier for the end user. If you set this parameter when creating a video generation task, the API returns it unchanged.
The execution priority of the current request.
Whether the generated video is a draft video. This parameter is only returned by seedance 1.5 pro.
- true: The current output is a draft video.
- false: The current output is a standard video.
Draft video task ID. This parameter will be returned when generating an official video based on a draft video.
The service tier actually used to process the task.
The expiration threshold for the task, in seconds.
The token usage for the request.