cURL
Polling strategy
- Call Create a digital human video to get a
task_id. - Poll this endpoint every 15 seconds until
task_statusisSUCCEEDEDorFAILED. Video generation takes about 5 to 10 minutes. - On success, download the video from the
video_urlfield.
Notes
- URL expiration: The
video_urlexpires after 24 hours. Download it promptly. - Task ID expiration: A
task_idis valid for 24 hours. After that, you cannot query its status or result. - Task status flow:
PENDING→RUNNING→SUCCEEDEDorFAILED.CANCELEDmeans the task was canceled.UNKNOWNmeans the task ID is invalid or expired. - Avoid duplicate submissions: Poll for the result instead of submitting the task again.