GET
https://zx1.deepwl.net
/
v1
/
video
/
query
查询任务
curl --request GET \
  --url https://zx1.deepwl.net/v1/video/query \
  --header 'Authorization: Bearer <token>'
{
  "id": "task_01k6x15vhrff09dkkqjrzwhm60",
  "status": "pending",
  "video_url": null,
  "enhanced_prompt": "",
  "status_update_time": 1759763621142
}

查询任务

Veo 统一视频任务提交后,通过 GET /v1/video/query 查询进度与结果。查询参数使用 id,值为 创建视频 返回的任务 ID。
  • 路由入口是 GET /v1/video/query
  • 任务 ID 通过 Query 参数 id 传入。
  • 处理中时常返回 pendingprocessing 等状态;完成后 video_url 会带上可访问地址。

方法与路径

GET /v1/video/query?id={task_id}

请求示例

curl "https://zx1.deepwl.net/v1/video/query?id=sora-2:task_01k74ynm13exf9ha36zz7820hv" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

响应示例

{
  "id": "task_01k6x15vhrff09dkkqjrzwhm60",
  "status": "pending",
  "video_url": null,
  "enhanced_prompt": "",
  "status_update_time": 1759763621142
}
部分渠道在 pendingcompleted 时还会返回更完整的 detail 结构(含上游任务元数据、缩略图、进度百分比等)。请以实际响应为准做兼容解析。

认证

Authorization: Bearer YOUR_API_KEY

Query Parameters

id
string
必填
任务 ID,与创建接口返回的 id 一致。

Response

id
string
任务 ID。
status
string
任务状态,常见值包括 pendingprocessingcompletedfailed
video_url
string | null
视频结果地址。任务未完成时可能为 null
enhanced_prompt
string
增强后的提示词;若未启用增强可能为空字符串。
status_update_time
integer
状态最近更新时间(Unix 时间戳,毫秒或秒取决于上游,请以实际响应为准)。

相关接口