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
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2025-11-12T10:30:00"
}
}Wan
Wan 2.6 Video Generation
Multi-shot 1080p video generation with Alibaba Wan 2.6
POST
/
api
/
generate
/
submit
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
}
}
'{
"code": 200,
"data": {
"task_id": "task-unified-1757165031-uyujaw3d",
"status": "not_started",
"created_time": "2025-11-12T10:30:00"
}
}- After submission, a
task_idwill be returned. If you provided acallback_url, when the task status becomesfinishedorfailed, a POST request will be sent to thecallback_url. - Regardless of whether
callback_urlis provided, you can retrieve the response result through the unified Query Task Status endpoint.
Wan 2.6 Video Generation
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.Available Models
- wan2.6-text-to-video - Generate videos from text prompts
- wan2.6-image-to-video - Animate a reference image with a prompt
- wan2.6-video-to-video - Edit or restyle an input video using a prompt
Key Features
- Duration: 5, 10, or 15 seconds (video-to-video up to 10 seconds)
- Resolution: 720p or 1080p
- Multi-Shots: Toggle multi-shot composition for cinematic transitions
- Prompt Length: Up to 5,000 characters
Authorizations
All API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Authorization: Bearer YOUR_API_KEY
Body
application/json
Wan 2.6 model identifier
Available options:
wan2.6-text-to-video, wan2.6-image-to-video, wan2.6-video-to-video Webhook callback URL for result notifications
Example:
"https://your-domain.com/callback"
Input parameters for generation
Show child attributes
Show child attributes