Unified Video

Query Task

Use `GET /v1/video/query` to query the status and result of Veo unified video tasks.

GEThttps://zx1.deepwl.net/v1/video/query
Request
curl "https://zx1.deepwl.net/v1/video/query?id=veo_3_1:task_01k74ynm13exf9ha36zz7820hv" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"
Response
{
  "id": "task_01k6x15vhrff09dkkqjrzwhm60",
  "status": "pending",
  "video_url": null,
  "enhanced_prompt": "",
  "status_update_time": 1759763621142
}

After a Veo unified video task is submitted, use GET /v1/video/query to check its progress and result. The query parameter uses id, whose value is the task ID returned by Create Video.

  • While processing, statuses such as pending or processing are commonly returned; after completion, video_url will include an accessible address.

Request Headers

Authorizationstring必填

Authentication header. Uses a Bearer token, e.g. Bearer YOUR_API_KEY.

Query Parameters

idstring必填

Task ID, consistent with the id returned by the create interface.

Request Examples

Response Examples

Some channels also return a more complete detail structure when pending or completed (including upstream task metadata, thumbnails, progress percentage, and more). Please parse compatibly according to the actual response.

Response Fields

idstring

Task ID.

statusstring

Task status; common values include pending, processing, completed, and failed.

video_urlstring | null

The video result URL. It may be null when the task is not yet complete.

enhanced_promptstring

The enhanced prompt; may be an empty string if enhancement is not enabled.

status_update_timeinteger

The most recent status update time (Unix timestamp, in milliseconds or seconds depending on the upstream source; please refer to the actual response).