Skip to main content
Wan 2.7

Wan 2.7 -- Retrieve image-to-video result

Check wan2.7 image-to-video 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": "2ca1c497-f9e0-449d-9a3f-xxxxxx",
  "output": {
    "task_id": "af6efbc0-4bef-4194-8246-xxxxxx",
    "task_status": "SUCCEEDED",
    "submit_time": "2025-09-25 11:07:28.590",
    "scheduled_time": "2025-09-25 11:07:35.349",
    "end_time": "2025-09-25 11:17:11.650",
    "orig_prompt": "A scene of urban fantasy art. A dynamic graffiti art character. A boy made of spray paint comes to life on a concrete wall. He sings an English rap song at high speed while striking a classic, energetic rapper pose. The scene is set under an urban railway bridge at night. The light comes from a single street lamp, creating a cinematic atmosphere full of high energy and amazing detail. The audio of the video consists entirely of his rap, with no other dialogue or noise.",
    "video_url": "https://dashscope-result-sh.oss-accelerate.aliyuncs.com/xxx.mp4?Expires=xxx"
  },
  "usage": {
    "duration": 15,
    "input_video_duration": 0,
    "output_video_duration": 15,
    "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 QwenCloud 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.

2ca1c497-f9e0-449d-9a3f-xxxxxx
object
object

Resource consumption. Only present when task_status is SUCCEEDED.