查询视频状态
GET /v1/videos/{video_id}
使用任务所属账户的客户密钥,每 3–5 秒查询一次。完成后从 /content 下载文件。
在线调试
填写自己的 API Key 和请求参数后发送。生成请求会正常计费;Key 仅用于本次调试,不保存到浏览器。
路径与请求头
| Name | In | Required | Description |
|---|---|---|---|
video_id | path | yes | ID returned by the create operation. |
响应
| Status | Description |
|---|---|
| 200 | Current status. |
| 400 | Unsupported or conflicting parameters. |
| 401 | Missing or invalid customer API Key. |
| 404 | Task is not accessible. |
| 429 | Capacity or rate limit exceeded. |
application/json
json
{
"id": "task_EXAMPLE",
"object": "video",
"status": "in_progress",
"progress": 50,
"created_at": 1790980000
}