Video models
Wan 2.6
On this page
Wan 2.6 — high-quality AI video generation.
| modelId | wan-2-6-video-to-video, wan-2-6-image-to-video, wan-2-6-text-to-video |
| Modality | video |
| Pricing | See this model on the Pricing page for the current per-call price (with your markup). |
Operations
| Operation | modelId | Endpoint | Required input |
|---|---|---|---|
| Video To Video | wan-2-6-video-to-video | POST /api/v1/generate | prompt, video_urls |
| Image To Video | wan-2-6-image-to-video | POST /api/v1/generate | prompt, image_urls |
| Text To Video | wan-2-6-text-to-video | POST /api/v1/generate | prompt |
| Poll task | — | GET /api/v1/task/{id}?model=wan-2-6-video-to-video | — |
Video To Video — wan-2-6-video-to-video
| Field | Type | Required | Values / example |
|---|---|---|---|
| prompt | string | Yes | Text 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_urls | string[] | Yes | The URL of the image used to generate video (image URL) |
| duration | string | No | The duration of the generated video in seconds (options: 5 | 10) (default: 5) |
| resolution | string | No | Video resolution tier (options: 720p | 1080p) (default: 1080p) |
| multi_shots | boolean | No | The 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_checker | boolean | No | A 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
| Field | Type | Required | Values / example |
|---|---|---|---|
| prompt | string | Yes | Text 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_urls | string[] | Yes | A list of image URLs. All images must be at least 256x256px. (image URL) |
| duration | string | No | The duration of the generated video in seconds (options: 5 | 10 | 15) (default: 5) |
| resolution | string | No | Video resolution tier (options: 720p | 1080p) (default: 1080p) |
| multi_shots | boolean | No | The 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_checker | boolean | No | A 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
| Field | Type | Required | Values / example |
|---|---|---|---|
| prompt | string | Yes | Text 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.) |
| duration | string | No | The duration of the generated video in seconds (options: 5 | 10 | 15) (default: 5) |
| resolution | string | No | Video resolution tier (options: 720p | 1080p) (default: 1080p) |
| multi_shots | boolean | No | The 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_checker | boolean | No | A 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}}'