Skip to content

视频查询

GET https://az.gptplus5.com/alibailian/api/v1/tasks/{task_id}

请求参数

Authorization

在 Header 添加参数Authorization,其值为在 Bearer 之后拼接 Token

示例:Authorization: Bearer ********************

Path 参数

参数名类型必需说明
task_idstring必需

cURL 示例

bash
curl --location --request GET 'https://az.gptplus5.com/alibailian/api/v1/tasks/a55bfe14-6e78-4b9d-b97d-128420399ed1' \
--header 'Authorization: Bearer <token>'

返回响应

🟢200成功

响应 Body

参数名类型必需说明
usageobject必需
  └ SRinteger必需
  └ durationinteger必需
  └ video_countinteger必需
outputobject必需
  └ task_idstring必需
  └ end_timestring必需
  └ video_urlstring必需
  └ orig_promptstring必需
  └ submit_timestring必需
  └ task_statusstring必需
  └ actual_promptstring必需
  └ scheduled_timestring必需
request_idstring必需

响应示例

json
{
    "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"
}