t2v / i2v / r2v / video-edit), use this endpoint to poll the status and retrieve the result.
Endpoint
Quick Example
Task Status
data.status | Meaning | Next Action |
|---|---|---|
NOT_START | Task received, not yet started | Continue polling |
QUEUED | Queued | Continue polling |
IN_PROGRESS | Processing (progress increments from 50%) | Continue polling, recommended 15s interval |
SUCCESS | Complete | Read data.result_url |
FAILURE | Failed | Read data.fail_reason; platform auto-refunds |
result_url is valid for 24 hours — download or transfer immediately.
Top-Level Response Fields
| Field | Type | Description |
|---|---|---|
data.task_id | string | Platform task ID (format: asyntask_xxx) |
data.action | string | Task subtype: generate / firstTailGenerate / referenceGenerate / omniGenerate |
data.status | string | Task status (see table above) |
data.result_url | string | Pre-signed download URL, valid for 24 hours. Omitted for failed tasks |
data.fail_reason | string | Copies result_url on success (for backward compatibility); contains error message on failure |
data.submit_time | int64 | Submission timestamp (Unix seconds) |
data.start_time | int64 | Upstream start timestamp; 0 if not started |
data.finish_time | int64 | Completion timestamp |
data.progress | string | Progress percentage text, e.g. "50%", "100%" |
data.request_id | string | Request tracing ID |
data.data | object | Raw upstream DashScope output + usage (see below) |
data.data — Upstream DashScope Output
| Field | Description |
|---|---|
output.task_id | Upstream DashScope task ID (different from the outer task_id) |
output.task_status | Upstream status: PENDING / RUNNING / SUCCEEDED / FAILED / CANCELED / UNKNOWN |
output.video_url | Video URL delivered by upstream (same as outer result_url) |
output.orig_prompt | Original prompt echoed back |
output.submit_time / scheduled_time / end_time | Upstream timestamps for each phase (string date format) |
usage.SR | Actual resolution tier generated (number 720 / 1080) |
usage.duration | Total billed duration |
usage.input_video_duration | Input video duration (0 for t2v / i2v / r2v; only present for video-edit) |
usage.output_video_duration | Actual generated video duration |
usage.ratio | Actual aspect ratio (only returned for t2v / r2v; not for i2v / video-edit) |
usage.video_count | Number of videos (always 1) |
Success Response
Failure Response
API Reference
HappyHorse Task Query interactive Playground.

