跳到主要内容
AI
MarkdownLLMs.txt

查询视频任务

Endpoint

GET /v1/videos/{task_id}

Header 参数

NameTypeRequiredDescriptionExample
AuthorizationstringNoBearer {your_token}

Path 参数

NameTypeRequiredDescriptionExample
task_idstringYes

响应字段

FieldTypeRequiredTitleDescription

响应示例

示例 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"
}