Skip to main content

Volcengine Query Video Generation Task

GET /api/v3/contents/generations/tasks/{task_id}

Query the status and result of a video generation task submitted via Volcengine Create Video Generation Task. Once the task succeeds, the generated video URL can be retrieved from the response.

⚠️ The task ID is retained for only 7 days (from the task creation time) and is automatically cleared afterward.

Request Parameters​

NameTypeRequiredDescription
task_id (path)stringRequiredVideo generation task ID

Request Example​

{
"path": {
"task_id": "cgt-2026xxxx-xxxxx"
}
}

Response Fields (200)​

NameTypeDescription
idstringVideo generation task ID
task_idstringVideo generation task ID (same as id)
objectstringObject type, always video
modelstringModel name
statusstringTask status: queued, in_progress, completed, failed
progressintegerTask progress percentage (0–100)
created_atintegerTask creation timestamp (seconds)
completed_atintegerTask completion timestamp (seconds)
metadataobjectVideo task metadata
metadata.urlstringGenerated video URL (when succeeded)
errorobjectTask error info (when failed)
error.codestringError code
error.messagestringError message

Response Example​

{
"id": "cgt-2026xxxx-xxxxx",
"task_id": "cgt-2026xxxx-xxxxx",
"object": "video",
"model": "doubao-seedance-1-5-pro-251215",
"status": "completed",
"progress": 100,
"created_at": 1757222400,
"completed_at": 1757222520,
"metadata": {
"url": "https://example.com/generated-video.mp4"
}
}