Skip to content

Video Query

GET https://www.kkiai.com/alibailian/api/v1/tasks/{task_id}

Request Parameters

Authorization

Add the Authorization parameter to the Header, with its value being the Token concatenated after Bearer

Example: Authorization: Bearer ********************

Path Parameters

Parameter NameTypeRequiredDescription
task_idstringRequired

cURL Example

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

Response

🟢 200 Success

Response Body

Parameter NameTypeRequiredDescription
usageobjectRequired
  └ SRintegerRequired
  └ durationintegerRequired
  └ video_countintegerRequired
outputobjectRequired
  └ task_idstringRequired
  └ end_timestringRequired
  └ video_urlstringRequired
  └ orig_promptstringRequired
  └ submit_timestringRequired
  └ task_statusstringRequired
  └ actual_promptstringRequired
  └ scheduled_timestringRequired
request_idstringRequired

Response Example

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": "Change the lighting",
        "submit_time": "2025-10-11 18:55:56.952",
        "task_status": "SUCCEEDED",
        "actual_prompt": "A man in orange clothing rides a broomstick flying rapidly from the right side of the frame to the left, leaning forward with both hands gripping the broomstick handle, head facing forward, mouth open and shouting: 'Hey! Don't stop me!'. The broomstick moves quickly through the air, with the bristles blurred by the speed. Three people below stand on the sidewalk, holding wands pointed at the flying figure, their heads turning slightly to follow the flight path, watching the action. In the background, continuous sounds of city street traffic, pedestrian conversations, wind, and the whooshing sound of the broomstick cutting through the air can be heard.",
        "scheduled_time": "2025-10-11 18:55:57.908"
    },
    "request_id": "ec8f059e-f2e5-4887-bb43-3306cd38f403"
}