Kling Task Status Query
Use `GET /v1/videos/{task_id}` to query Kling video task status and use `GET /v1/videos/{task_id}/content` to fetch the generated video.
https://zx1.deepwl.net/v1/videos/{task_id}curl https://zx1.deepwl.net/v1/videos/video_123 \
-H "Authorization: Bearer YOUR_API_KEY"{
"id": "task_ZOAIupBoCLMo3dmUGcrKUcUEUnCLctc6",
"object": "video",
"model": "kling-3.0-omni-720p-noref-audio",
"status": "processing",
"progress": 50,
"created_at": 1774494511
}After a Kling series task is submitted, query the task status and results via GET /v1/videos/{task_id}; once completed, fetch the generated video via GET /v1/videos/{task_id}/content.
The gateway aligns with the AigcVideoTask of the upstream DescribeTaskDetail:
- Status: upstream
WAITING / PROCESSING / FINISH / ABORTEDis normalized into unified task statuses (such asqueued,processing,completed,failedin the responses) - Progress: read from
AigcVideoTask.Progress - Error: read from
ErrCode/ErrCodeExt/Message - Video URL: read from
AigcVideoTask.Output.FileInfos[].FileUrlfirst, and surfaced asmetadata.urlandvideo_urlin the response
Request Headers
Authorizationstring必填Authentication header. Uses a Bearer token, e.g. Bearer YOUR_API_KEY.
Query Parameters
task_idstring必填Task ID, which is the same as the id or task_id returned by the generation endpoint.
Request Examples
Response Examples
Response Fields
idstringTask ID.
objectstringAlways video.
modelstringModel name.
statusstringTask status; common values include queued, processing, completed, failed, and cancelled.
progressintegerProgress percentage (0-100).
created_atintegerCreation time (Unix timestamp).
completed_atintegerCompletion time (Unix timestamp), returned only when the task is completed.
metadataobjectMetadata.
urlstringVideo URL (in metadata).
video_urlstringVideo URL (same as metadata.url).