查询视频任务(免费)
GET /jimeng/fetch/{task_id}
说明
TaskStatus: "NOT_START" "SUBMITTED" "QUEUED" "IN_PROGRESS" "FAILURE" "SUCCESS"
概览
| Method | GET |
|---|---|
| Path | /jimeng/fetch/{task_id} |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 62423944 |
参数
{ "path": [ { "id": "task_id#0", "name": "task_id", "required": true, "description": "任务id", "type": "string", "enable": true, "sampleValue": "cgt-20250829165122-qkwch" } ], "header": [] }
请求体
{ "type": "none", "parameters": [], "jsonSchema": { "type": "object", "properties": { "user_prompt": { "description": "必传,用户输入的提示词/问题描述", "type": "string" }, "expand_prompt": { "description": "可选,提示词优化开关", "type": "boolean" }, "loop": { "description": "可选,是否循环使用参考图", "type": "boolean" }, "image_url": { "description": "可选,参考图片来源", "type": "string" }, "image_end_url": { "description": "可选,目标关键帧图片", "type": "string" }, "notify_hook": { "description": "可选,处理完成后的回调通知地址", "type": "string" } }, "required": [ "user_prompt", "expand_prompt", "loop", "image_url", "image_end_url", "notify_hook" ], "x-apifox-orders": [ "user_prompt", "expand_prompt", "loop", "image_url", "image_end_url", "notify_hook" ] }, "mediaType": "", "examples": [ { "value": "", "mediaType": "none", "description": "" } ], "oasExtensions": "" }
响应
[ { "id": 728442760, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": { "code": { "type": "integer" }, "message": { "type": "string" }, "request_id": { "type": "string" }, "data": { "type": "object", "properties": { "task_id": { "type": "string" }, "task_status": { "type": "string" }, "created_at": { "type": "integer" }, "updated_at": { "type": "integer" } }, "required": [ "task_id", "task_status", "created_at", "updated_at" ] } }, "required": [ "code", "message", "request_id", "data" ] }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [], "oasExtensions": "" } ]
响应示例
[ { "name": "成功示例", "responseId": 728442760, "data": "{\r\n \"code\": \"success\",\r\n \"message\": \"\",\r\n \"data\": {\r\n \"task_id\": \"cgt-20250829165122-qkwch\",\r\n \"action\": \"jimeng-videos\",\r\n \"status\": \"SUCCESS\",\r\n \"fail_reason\": \"\",\r\n \"submit_time\": 1756457484,\r\n \"start_time\": 0,\r\n \"finish_time\": 1756457496,\r\n \"progress\": \"100%\",\r\n \"data\": {\r\n \"code\": \"success\",\r\n \"data\": {\r\n \"data\": {\r\n \"video\": \"https://ark-content-generation-cn-beijing.tos-cn-beijing.volces.com/doubao-seedance-1-0-pro/02175645748366600000000000000000000ffffac144da8be727d.mp4?X-Tos-Algorithm=TOS4-HMAC-SHA256&X-Tos-Credential=AKLTYWJkZTExNjA1ZDUyNDc3YzhjNTM5OGIyNjBhNDcyOTQ%2F20250829%2Fcn-beijing%2Ftos%2Frequest&X-Tos-Date=20250829T085221Z&X-Tos-Expires=86400&X-Tos-Signature=21b6342d402b99e61d2f842485451b1bf6635d4547103233586f15e485b02a05&X-Tos-SignedHeaders=host\",\r\n \"status\": \"SUCCESS\",\r\n \"created_at\": \"2025-08-29T16:52:26.472319\"\r\n },\r\n \"action\": \"jimeng-videos\",\r\n \"status\": \"SUCCESS\",\r\n \"task_id\": \"cgt-20250829165122-qkwch\",\r\n \"platform\": \"jimeng\",\r\n \"progress\": \"100%\",\r\n \"start_time\": 1756457496,\r\n \"fail_reason\": \"\",\r\n \"finish_time\": 1756457546,\r\n \"search_item\": \"\",\r\n \"submit_time\": 1756457484\r\n },\r\n \"message\": \"\"\r\n }\r\n }\r\n}", "description": "", "oasKey": "", "oasExtensions": "", "id": 648775653 } ]