GET
/alibailian/api/v1/tasks/{task_id}视频查询
API Key none
请求示例
curl https://top.qingyuntop.ai/alibailian/api/v1/tasks/{task_id} \
-H "Authorization: Bearer ${QINGYUN_TOP_API_KEY}"请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
task_id | Path | string | 是 | - | a55bfe14-6e78-4b9d-b97d-128420399ed1 |
返回响应 (200)
| 参数 | 位置 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|---|
usage | 响应 JSON | object | 是 | - | - |
usage.SR | 响应 JSON | integer | 是 | - | - |
usage.duration | 响应 JSON | integer | 是 | - | - |
usage.video_count | 响应 JSON | integer | 是 | - | - |
output | 响应 JSON | object | 是 | - | - |
output.task_id | 响应 JSON | string | 是 | - | - |
output.end_time | 响应 JSON | string | 是 | - | - |
output.video_url | 响应 JSON | string | 是 | - | - |
output.orig_prompt | 响应 JSON | string | 是 | - | - |
output.submit_time | 响应 JSON | string | 是 | - | - |
output.task_status | 响应 JSON | string | 是 | - | - |
output.actual_prompt | 响应 JSON | string | 是 | - | - |
output.scheduled_time | 响应 JSON | string | 是 | - | - |
request_id | 响应 JSON | string | 是 | - | - |
响应示例
{
"usage": {
"SR": 480,
"duration": 5,
"video_count": 1
},
"output": {
"task_id": "a55bfe14-6e78-4b9d-b97d-128420399ed1",
"end_time": "2025-10-11 19:02:27.297",
"video_url": "https://dashscope-result-bj.oss-cn-beijing.aliyuncs.com/1d/21/20251011/9b1c82b0/a55bfe14-6e78-4b9d-b97d-128420399ed1.mp4?Expires=1760266939&OSSAccessKeyId=LTAI5tDUB1cEqFCYhEwWry26&Signature=Fjpx1uAlmLmeYGWx0Ye7n%2F%2F9Isw%3D",
"orig_prompt": "改变一下光线",
"submit_time": "2025-10-11 18:55:56.952",
"task_status": "SUCCEEDED",
"actual_prompt": "橙衣男性骑着扫帚从画面右侧向左侧高速飞过,身体前倾,双手紧握扫帚杆,头部朝前,嘴巴张开并大喊:'嘿!你们别拦我!'。扫帚在空中快速移动,扫帚毛因速度产生模糊效果。下方三人站在人行道上,手持魔杖指向空中人物,头部随其飞行方向轻微转动,注视其动作。背景中持续传来城市街道的车流声、行人交谈声、风声以及扫帚划过空气的呼啸声。",
"scheduled_time": "2025-10-11 18:55:57.908"
},
"request_id": "ec8f059e-f2e5-4887-bb43-3306cd38f403"
}来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 495899743,
"name": "视频查询",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "",
"operationId": "",
"sourceUrl": "",
"method": "get",
"path": "/alibailian/api/v1/tasks/{task_id}",
"tags": [],
"status": -2,
"requestBody": {
"type": "none",
"parameters": [],
"examples": [],
"mediaType": "",
"oasExtensions": "",
"required": false,
"additionalContentTypes": []
},
"parameters": {
"path": [
{
"id": "task_id#0",
"name": "task_id",
"required": true,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "a55bfe14-6e78-4b9d-b97d-128420399ed1"
}
],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 134875277,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {
"usage": {
"type": "object",
"properties": {
"SR": {
"type": "integer"
},
"duration": {
"type": "integer"
},
"video_count": {
"type": "integer"
}
},
"required": [
"SR",
"duration",
"video_count"
],
"x-apifox-orders": [
"SR",
"duration",
"video_count"
]
},
"output": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"end_time": {
"type": "string"
},
"video_url": {
"type": "string"
},
"orig_prompt": {
"type": "string"
},
"submit_time": {
"type": "string"
},
"task_status": {
"type": "string"
},
"actual_prompt": {
"type": "string"
},
"scheduled_time": {
"type": "string"
}
},
"required": [
"task_id",
"end_time",
"video_url",
"orig_prompt",
"submit_time",
"task_status",
"actual_prompt",
"scheduled_time"
],
"x-apifox-orders": [
"task_id",
"end_time",
"video_url",
"orig_prompt",
"submit_time",
"task_status",
"actual_prompt",
"scheduled_time"
]
},
"request_id": {
"type": "string"
}
},
"required": [
"usage",
"output",
"request_id"
],
"x-apifox-orders": [
"usage",
"output",
"request_id"
]
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": []
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 134875277,
"data": "{\r\n \"usage\": {\r\n \"SR\": 480,\r\n \"duration\": 5,\r\n \"video_count\": 1\r\n },\r\n \"output\": {\r\n \"task_id\": \"a55bfe14-6e78-4b9d-b97d-128420399ed1\",\r\n \"end_time\": \"2025-10-11 19:02:27.297\",\r\n \"video_url\": \"https://dashscope-result-bj.oss-cn-beijing.aliyuncs.com/1d/21/20251011/9b1c82b0/a55bfe14-6e78-4b9d-b97d-128420399ed1.mp4?Expires=1760266939&OSSAccessKeyId=LTAI5tDUB1cEqFCYhEwWry26&Signature=Fjpx1uAlmLmeYGWx0Ye7n%2F%2F9Isw%3D\",\r\n \"orig_prompt\": \"改变一下光线\",\r\n \"submit_time\": \"2025-10-11 18:55:56.952\",\r\n \"task_status\": \"SUCCEEDED\",\r\n \"actual_prompt\": \"橙衣男性骑着扫帚从画面右侧向左侧高速飞过,身体前倾,双手紧握扫帚杆,头部朝前,嘴巴张开并大喊:'嘿!你们别拦我!'。扫帚在空中快速移动,扫帚毛因速度产生模糊效果。下方三人站在人行道上,手持魔杖指向空中人物,头部随其飞行方向轻微转动,注视其动作。背景中持续传来城市街道的车流声、行人交谈声、风声以及扫帚划过空气的呼啸声。\",\r\n \"scheduled_time\": \"2025-10-11 18:55:57.908\"\r\n },\r\n \"request_id\": \"ec8f059e-f2e5-4887-bb43-3306cd38f403\"\r\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fc09b-0b21-77aa-b034-e3817b409dd3"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436125,
"ordering": 6,
"responsibleId": 0,
"commonResponseStatus": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"customApiFields": {},
"oasExtensions": "",
"mockScript": {},
"createdAt": "2026-08-02T03:53:34.000Z",
"updatedAt": "2026-08-06T12:15:55.000Z",
"creatorId": 2863449,
"editorId": 2863449,
"creatorUserId": 2863449,
"editorUserId": 2863449,
"responseChildren": [
"BLANK.134875277"
],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}