curl --request POST \ --url https://api.vidgo.ai/api/generate/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "wan2.6-text-to-video", "callback_url": "https://your-domain.com/callback", "input": { "prompt": "A cinematic time-lapse of a bustling city street transitioning from day to night.", "duration": 5, "resolution": "1080p", "multi_shots": false }}'
Multi-shot 1080p video generation with Alibaba Wan 2.6
POST
/
api
/
generate
/
submit
Copy
curl --request POST \ --url https://api.vidgo.ai/api/generate/submit \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "wan2.6-text-to-video", "callback_url": "https://your-domain.com/callback", "input": { "prompt": "A cinematic time-lapse of a bustling city street transitioning from day to night.", "duration": 5, "resolution": "1080p", "multi_shots": false }}'
After submission, a task_id will be returned. If you provided a callback_url, when the task status becomes finished or failed, a POST request will be sent to the callback_url.
Regardless of whether callback_url is provided, you can retrieve the response result through the unified Query Task Status endpoint.
Wan 2.6 is Alibaba’s latest video generation model family. It supports text-to-video, image-to-video, and video-to-video workflows with stable character identity, multi-shot composition, and 1080p output.