cURL - Query task result
Check task status and retrieve video results.
Polling strategy
- Submit a task via Generate a video from text and save the returned
task_id. - Poll every 15 seconds until
task_statusreachesSUCCEEDEDorFAILED. - On success, retrieve the video from
video_url.
Notes
- URL expiration: Download within 24 hours —
video_urlexpires after that. - Status flow:
PENDING→RUNNING→SUCCEEDED/FAILED.
Authorizations
string
header
required
DashScope API Key. Get one from the Qwen Cloud console.
Path Parameters
string
required
Task ID returned by the POST submission endpoint.