Wan 2.6 API
Model-specific Buble API parameters, modes, pricing, and examples for Wan 2.6.
Wan 2.6 API
Wan 2.6 supports text-to-video and reference-to-video workflows with optional audio input for longer audio-driven scenes.
Model keys
wan/wan2.6— Wan2.6
Supported modes and inputs
| Model | Mode | Label | Input requirements |
|---|---|---|---|
wan/wan2.6 | text_to_video | Text to Video | Prompt max 2000 chars Audio: 1-1 files, 50 MB, max 120s, formats mp3, wav, aac, m4a |
wan/wan2.6 | reference_to_video | Reference to Video | Prompt max 2000 chars Images reference: 1-1 files, 10 MB, formats jpg, png, webpAudio: 1-1 files, 10 MB, max 120s, formats mp3, wav, aac, m4a |
Options
| Model | Option | Default | Allowed values | Applies to |
|---|---|---|---|---|
wan/wan2.6 | duration | 5s | 5s, 10s, 15s | All modes |
wan/wan2.6 | aspect_ratio | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4 | text_to_video |
wan/wan2.6 | resolution | 720p | 720p, 1080p | All modes |
wan/wan2.6 | short_type | single | single, multi | All modes |
wan/wan2.6 | audio | false | true, false | All modes |
Pricing
| Model | Pricing |
|---|---|
wan/wan2.6 | 4 credits per second; option multipliers: resolution={"720p":1,"1080p":1.5} |
Production guidance
- Pass
modeexplicitly. - Use only option values listed above.
- Upload media with
POST /api/v1/filesbefore calling media-input modes. - Use the exact model key for the variant you want.
Example: text to video
curl https://buble.ai/api/v1/generations \
-H "Authorization: Bearer $BUBLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/wan2.6",
"mode": "text_to_video",
"prompt": "A cinematic product launch shot with slow camera movement, premium lighting, and realistic motion",
"duration": "5s",
"resolution": "720p",
"aspect_ratio": "16:9",
"short_type": "single",
"audio": "false"
}'Example: media-guided video
curl https://buble.ai/api/v1/generations \
-H "Authorization: Bearer $BUBLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/wan2.6",
"mode": "reference_to_video",
"prompt": "Animate the source into a polished cinematic motion shot with natural camera movement",
"image_urls": ["https://example.com/reference.png"],
"duration": "5s",
"resolution": "720p",
"aspect_ratio": "16:9",
"short_type": "single",
"audio": "false"
}'