cURL - Query task result
Check the status and get the result of a video character swap task.
How to poll
- Create a task to get a
task_id. - Poll this endpoint every 15 seconds until
task_statusisSUCCEEDEDorFAILED. - On success, download the video from the
video_urlfield.
Status flow and URL expiration
- Status flow:
PENDING→RUNNING→SUCCEEDEDorFAILED. - URL expiration:
video_urlexpires after 24 hours. Download the video promptly.
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.