Query Task
Use `GET /v1/video/query` to query the status and result of a Vidu unified video task.
https://zx1.deepwl.net/v1/video/querycurl "https://zx1.deepwl.net/v1/video/query?id=48038932-0ff5-4251-8b4b-7a76c09fd114" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"{
"id": "48038932-0ff5-4251-8b4b-7a76c09fd114",
"status": "processing",
"progress": 50,
"created_at": 1774494511
}After a Vidu unified video task is submitted, use this endpoint to query its progress and result. The query parameter uses id, whose value is the task ID returned by Create Video. The returned structure includes fields such as status, progress, and video_url.
Request Headers
Authorizationstring必填Authentication header. Uses a Bearer token, e.g. Bearer YOUR_API_KEY.
Query Parameters
idstring必填Task ID, consistent with the task_id returned by the creation interface.
Request Examples
Response Examples
Response Fields
idstringTask ID.
statusstringTask status; common values include processing, failed, and completed.
progressintegerProgress percentage (0-100).
created_atintegerCreation time (Unix timestamp).
completed_atintegerCompletion time (Unix timestamp), returned only when the task is completed.
video_urlstringVideo download URL, returned only when the status is completed.