Model Details
Wan 2.7 turns a written prompt into a cinematic, high-fidelity video clip with smooth, coherent motion and strong adherence to what you describe. From Alibaba's Wan family, it is tuned for fast, high-quality text-to-video where the subject, action, and scene in your prompt translate clearly to the screen. Pick 720p for faster, cheaper generation or 1080p for a sharper result, set a clip length from 2 to 15 seconds, and choose a 16:9, 9:16, 1:1, 4:3, or 3:4 aspect ratio to match landscape, vertical, or square delivery.
## Best for - Turning a single descriptive prompt into a polished establishing or hero shot - Social-ready vertical (9:16) clips and square (1:1) loops from text alone - Cinematic landscape (16:9) b-roll with camera motion and atmospheric detail - Quick concepting and storyboarding where you iterate on a prompt to dial in the action
## Choose another model when - You want to animate an existing photo or starting frame rather than generate from text alone — use an image-to-video model - You need a single still image, not motion — use a text-to-image model - You need clips longer than 15 seconds or frame-by-frame timeline control — use a dedicated long-form video tool
## Tips - Describe the subject, the action, and the setting in one coherent sentence; concrete motion verbs ("slowly pans", "rushes forward") translate well to on-screen movement - `resolution` affects cost: 720p bills at $0.10/second and 1080p (the default) at $0.15/second, so drop to 720p for drafts and iteration - Use `negative_prompt` to suppress recurring artifacts such as blur, warping, or low-quality texture - `enable_prompt_expansion` (on by default) rewrites your prompt with an LLM for richer detail; disable it when you want the model to follow your exact wording - Match `aspect_ratio` to where the clip will run — 9:16 for stories/reels, 16:9 for landscape, 1:1 for feed loops
To run via the ModelRunner JavaScript client: ```js import { modelrunner } from "@modelrunner/client";
const result = await modelrunner.subscribe("wan-video/wan/v2.7/text-to-video", { input: { prompt: "A serene mountain lake reflecting clouds at golden hour, gentle ripples on the water", resolution: "1080p", duration: 5, aspect_ratio: "16:9", }, }); ```


