Skip to content
Docs menu

Video models

Wan 2.6

On this page

Wan 2.6 — high-quality AI video generation.

modelIdwan-2-6-video-to-video, wan-2-6-image-to-video, wan-2-6-text-to-video
Modalityvideo
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationmodelIdEndpointRequired input
Video To Videowan-2-6-video-to-videoPOST /api/v1/generateprompt, video_urls
Image To Videowan-2-6-image-to-videoPOST /api/v1/generateprompt, image_urls
Text To Videowan-2-6-text-to-videoPOST /api/v1/generateprompt
Poll taskGET /api/v1/task/{id}?model=wan-2-6-video-to-video

Video To Video — wan-2-6-video-to-video

FieldTypeRequiredValues / example
promptstringYesText prompts for video generation. Supports both Chinese and English, with a minimum of 2 characters and a maximum of 5,000 characters. Max 5000 characters. (default: Restyle into a rich cinematic color grade with soft golden rim light and filmic contrast, preserving the original motion and composition.)
video_urlsstring[]YesThe URL of the image used to generate video (image URL)
durationstringNoThe duration of the generated video in seconds (options: 5 | 10) (default: 5)
resolutionstringNoVideo resolution tier (options: 720p | 1080p) (default: 1080p)
multi_shotsbooleanNoThe multi shots parameter controls the shot composition style during AI video generation, determining whether the generated video is a single continuous shot or multiple shots with transitions. (true/false) (default: false)
nsfw_checkerbooleanNoA configurable parameter. Defaults to true in the Playground. (true/false) (default: true)
bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"wan-2-6-video-to-video","input":{"prompt":"A cinematic aerial shot of a coastal town at golden hour, gentle waves rolling onto the shore, warm light, slow camera push-in.","video_urls":["https://example.com/input.mp4"],"duration":"5","resolution":"720p","multi_shots":false,"nsfw_checker":true}}'

Image To Video — wan-2-6-image-to-video

FieldTypeRequiredValues / example
promptstringYesText prompts for video generation. Supports both Chinese and English, with a minimum of 2 characters and a maximum of 5,000 characters. Max 5000 characters. (default: Animate the scene: the barista tilts the pitcher and pours a slow rosetta into the cup, milk foam blooming into a leaf while steam curls upward, a soft handheld drift closing in on her steady hands.)
image_urlsstring[]YesA list of image URLs. All images must be at least 256x256px. (image URL)
durationstringNoThe duration of the generated video in seconds (options: 5 | 10 | 15) (default: 5)
resolutionstringNoVideo resolution tier (options: 720p | 1080p) (default: 1080p)
multi_shotsbooleanNoThe multi shots parameter controls the shot composition style during AI video generation, determining whether the generated video is a single continuous shot or multiple shots with transitions. (true/false) (default: false)
nsfw_checkerbooleanNoA configurable parameter. Defaults to true in the Playground. (true/false) (default: true)
bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"wan-2-6-image-to-video","input":{"prompt":"A cinematic aerial shot of a coastal town at golden hour, gentle waves rolling onto the shore, warm light, slow camera push-in.","image_urls":["https://example.com/input.jpg"],"duration":"5","resolution":"720p","multi_shots":false,"nsfw_checker":true}}'

Text To Video — wan-2-6-text-to-video

FieldTypeRequiredValues / example
promptstringYesText prompts for video generation. Supports both Chinese and English, with a minimum of 1 characters and a maximum of 5,000 characters. Max 5000 characters. (default: Hyperreal ASMR: a knife slices a crystal-clear jelly cube filled with edible flowers, macro close-up, crisp sound.)
durationstringNoThe duration of the generated video in seconds (options: 5 | 10 | 15) (default: 5)
resolutionstringNoVideo resolution tier (options: 720p | 1080p) (default: 1080p)
multi_shotsbooleanNoThe multi shots parameter controls the shot composition style during AI video generation, determining whether the generated video is a single continuous shot or multiple shots with transitions. (true/false) (default: false)
nsfw_checkerbooleanNoA configurable parameter. Defaults to true in the Playground. (true/false) (default: true)
bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"wan-2-6-text-to-video","input":{"prompt":"A cinematic aerial shot of a coastal town at golden hour, gentle waves rolling onto the shore, warm light, slow camera push-in.","duration":"5","resolution":"720p","multi_shots":false,"nsfw_checker":true}}'