Query Task
Use `GET /v1/video/generations/{task_id}` to query the status and result of a Seedance 2.0 video generation task.
https://zx1.deepwl.net/v1/video/generations/{task_id}curl https://zx1.deepwl.net/v1/video/generations/cgt-20260412163502-x8k2m \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"{
"code": "success",
"data": {
"task_id": "task_xxxxx",
"status": "IN_PROGRESS",
"progress": "50%",
"submit_time": 1775908082,
"start_time": 1775908086,
"finish_time": 0,
"data": {
"status": "processing",
"duration": 5,
"resolution": "720p",
"ratio": "16:9",
"content": {},
"usage": {}
}
}
}Query the task status, progress, and result video URL based on the task_id returned by Create Video.
Request Headers
Authorizationstring必填Authentication header. Uses a Bearer token, e.g. Bearer YOUR_API_KEY.
Query Parameters
task_idstring必填Video generation task ID, consistent with the task_id returned by the creation endpoint.
Request Examples
Response Examples
Response Fields
codestringResponse code, success on success.
dataobjectTask data.
task_idstringTask ID.
statusstringTask status: SUBMITTED, IN_PROGRESS, SUCCESS, FAILURE.
progressstringProgress string, such as 50% or 100%.
fail_reasonstringReason for failure, present only when status=FAILURE.
dataobjectUpstream native data.
statusstringUpstream native status: queued, pending, processing, succeeded, failed.
contentobjectTask result content.
video_urlstringGenerated video URL (usually a temporary signed link, valid for about 12 hours by default).
usageobjectUsage information.
total_tokensintegerToken usage related to billing.