cURL - Query task result
Get task status and results for an image-to-video (first & last frames) generation task.
Polling strategy
- Create a task to receive a
task_id. - Poll every 15 seconds until
task_statusisSUCCEEDEDorFAILED. - On success, retrieve the video from
video_url.
Important notes
- URL expiration: Video URLs expire after 24 hours. Download promptly.
- Task status flow:
PENDING→RUNNING→SUCCEEDEDorFAILED.
Authorizations
string
header
required
DashScope API Key. Create one in the Qwen Cloud console.
Path Parameters
string
required
The ID of the task to query.