Qwen

Wan 2.7

Video
Not available
Generate Now

Wan 2.7 video editing. Up to 15 seconds, advanced editing capabilities.

Type
Video Edit
Billed
per sec
Provider
Wan

Pricing

/ sec
720p$0.24 / sec
1080p$0.36 / sec

Default duration: 5s

Supported parameters

modelSettings
  • Promptprompt
  • Video Inputvideo_input
  • Negative Promptnegative_prompt
  • Resolutionresolution
  • Aspect Ratioratio
  • Durationduration
  • Prompt Extendprompt_extend
  • Watermarkwatermark
  • Seedseed
  • Nsfw Checkernsfw_checker

Code examples

POST /v1/generations

Generations 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_EDIT",
        "prompt": "A serene mountain landscape at sunset",
        "model": "wan/2.7",
        "modelSettings": {
            "duration": "5",
            "resolution": "1K"
        }
    },
)
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

Frequently asked questions

How is Wan 2.7 billed on ModelStack?expand_more
Wan 2.7 (Video Edit) is billed at a flat, prepaid rate of $1.20 / vid — generation pricing has no tier-based discounts. Final request costs are available in the console.
What other generation types does Wan 2.7 support?expand_more
Besides Video Edit, Wan 2.7 also supports: Text to Video, Image to Video, Reference to Video.
Which parameters does Wan 2.7 support?expand_more
Wan 2.7 supports: Prompt, Video Input, Negative Prompt, Resolution, Aspect Ratio, Duration, Prompt Extend, Watermark, Seed, Nsfw Checker.
How can I generate with Wan 2.7?expand_more
Use the Generate composer in your dashboard, or call the API directly with model `wan/2.7` and type `VIDEO_TO_VIDEO_EDIT` — see the code example above.