cURL - Query task result
Check task status and retrieve the generated video URL.
Polling strategy
- Create a task to receive a
task_id. - Poll this endpoint 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
Task identifier returned by the video creation endpoint.