查询视频任务
Endpoint
GET /v1/videos/{task_id}
Header 参数
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
Authorization | string | No | Bearer {your_token} |
Path 参数
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
task_id | string | Yes |
响应字段
| Field | Type | Required | Title | Description |
|---|
响应示例
示例 1
{
"id": "task_xxxxxxxxxxxxxxxxxxxxxx",
"error": null,
"model": "wan2.6-video-1080p",
"object": "video.generation.job",
"result": {
"outputs": [
"https://xxxxxxx.cn/predictions/xxxxx/1.mp4"
],
"video_url": "https://xxxxxxx.cn/predictions/xxxxx/1.mp4"
},
"status": "completed",
"task_id": "xxxxxxxxxxxxxxxxxxxxxxx",
"progress": 100,
"video_url": "https://xxxxxxx.cn/predictions/xxxxx/1.mp4",
"created_at": 1773984104,
"raw_status": "COMPLETED"
}