Skip to main content
HappyHorse

HappyHorse -- Retrieve video editing result

Check HappyHorse video editing task status

GET
/tasks/{task_id}
cURL - Query task result
# Replace {task_id} with the actual task ID from the submit response
curl -X GET 'https://dashscope-intl.aliyuncs.com/api/v1/tasks/{task_id}' \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY"
{
  "request_id": "c11018a8-3f83-9591-a636-xxxxxx",
  "output": {
    "task_id": "051c7b40-b2c5-4341-aee4-xxxxxx",
    "task_status": "SUCCEEDED",
    "submit_time": "2026-04-26 14:13:14.373",
    "scheduled_time": "2026-04-26 14:13:14.419",
    "end_time": "2026-04-26 14:14:13.679",
    "orig_prompt": "Make the horse-headed humanoid character in the video wear the striped sweater from the image",
    "video_url": "https://dashscope-result-sh.oss-accelerate.aliyuncs.com/xxxx.mp4?Expires=xxx"
  },
  "usage": {
    "duration": 13.24,
    "input_video_duration": 6.62,
    "output_video_duration": 6.62,
    "video_count": 1,
    "SR": 720
  }
}
Poll task status and download the video when ready.

Polling strategy

  1. Save the task_id from the submit response.
  2. Poll this endpoint every 15 seconds until task_status is SUCCEEDED or FAILED.
  3. Download the video from video_url within 24 hours -- the URL expires after that.

Authorizations

string
header
required

DashScope API Key. Get one from the Qwen Cloud console.

Path Parameters

string
required

Task ID from the POST response.

Response

200-application/json
string

Request ID for troubleshooting. Include this when contacting support.

object
object

Resource consumption. Only present when task_status is SUCCEEDED.