Wan 2.6
VideoNot available
Wan 2.6 video-to-video transformation.
- Type
- Video to Video
- Billed
- per sec
- Provider
- Wan
Pricing
/ secDefault$0.21 / sec
Default duration: 5s
Supported parameters
modelSettings- Promptprompt
- Video Inputvideo_input
- Aspect Ratioaspect_ratio
- Durationduration
Code examples
POST /v1/generationsGenerations are async — the request returns immediately with an id; poll for the result.
python
import requests
response = requests.post(
"https://api.modelstack.cc/v1/generations",
headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
json={
"type": "VIDEO_TO_VIDEO",
"prompt": "A serene mountain landscape at sunset",
"model": "wan/2.6",
"modelSettings": {
"aspect_ratio": "16:9",
"duration": "5"
}
},
)
generation_id = response.json()["data"]["id"]
# Poll for the result
result = requests.get(
f"https://api.modelstack.cc/v1/generations/{generation_id}",
headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
).json()
print(result["data"]["status"])Related models
Other generation types for this model
More from Wan
Frequently asked questions
How is Wan 2.6 billed on ModelStack?expand_more
Wan 2.6 (Video to Video) is billed at a flat, prepaid rate of $1.05 / vid — generation pricing has no tier-based discounts. Final request costs are available in the console.
What other generation types does Wan 2.6 support?expand_more
Besides Video to Video, Wan 2.6 also supports: Text to Video, Image to Video.
Which parameters does Wan 2.6 support?expand_more
Wan 2.6 supports: Prompt, Video Input, Aspect Ratio, Duration.
How can I generate with Wan 2.6?expand_more
Use the Generate composer in your dashboard, or call the API directly with model `wan/2.6` and type `VIDEO_TO_VIDEO` — see the code example above.