# Wan2.2 Text to Video > Create stunning cinematic videos from text or images in minutes with a powerful model. Enjoy advanced motion control, 24fps output, and smooth, artifact-free visuals—perfect for filmmakers, creators, and marketers. ## Overview - **Model ID**: `wan-2.2-t2v` - **Category**: video - **Provider**: modelslab - **Status**: active - **Screenshot**: `https://assets.modelslab.com/generations/d64dc7cb-3654-4f26-bc43-1746857bcc9b.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v6/video/text2video_ultra` - **Method**: POST ### Parameters - **`prompt`** (required): Prompt - Type: textarea - Example: Placeholder - **`portrait`** (required): toggle off if you want horizontal video generation - Type: toggle - **`resolution`** (required): select the resolution for video - Type: select (options: 480) - Example: 4 - **`negative_prompt`** (optional): Things that you do not want in video - Type: textarea - **`fps`** (optional): - Type: number (range: 18-20) - **`num_frames`** (optional): if the fps is 18 and Number of frame is 92 it will generate 5 sec video - Type: number (range: 82-121) - **`output_type`** (optional): Output type - Type: select (options: mp4, mov) - **`model_id`** (optional): Select the model id - Type: text ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v6/video/text2video_ultra \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "wan-2.2-t2v", "prompt": "Subject: Civchan, a fair-skinned woman with pink hair and purple eyes, dressed in a maid outfit, stands in the middle of a city street ravaged by a riot. She laughs maniacally, she aims a Vector compact submachine gun with it's distinctive short blocky slanted profile and compact chassis that barely extends past the foregrip, holding it with one hand gripping the foregrip and one hand on the rear grip, holding it close with the minimalist stock braced against her shoulder. She fires the weapon. Her expression is one of wild, chaotic joy as she unleashes a hail of bullets. Environment: The scene unfolds on a desolate city street at night, bearing the scars of a recent riot. A burning car casts flickering orange light, illuminating the debris-strewn road and creating long, dramatic shadows. Destroyed storefronts line the street, their shattered windows and looted interiors amplifying the atmosphere of chaos and destruction, Style: Realistic, Motion Level: Large, Shot Size: Medium Shot, Focal Length: Standard, Composition: Rule of Thirds Composition, Camera Angle: Eye Level, Camera Movement: ", "portrait": false, "resolution": "480", "negative_prompt": "blurry, low quality, distorted, extra limbs, missing limbs, broken fingers, deformed, glitch, artifacts, unrealistic, low resolution, bad anatomy, duplicate, cropped, watermark, text, logo, jpeg artifacts, noisy, oversaturated, underexposed, overexposed, flicker, unstable motion, motion blur, stretched, mutated, out of frame, bad proportions", "fps": "18", "num_frames": "92", "output_type": "mp4" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v6/video/text2video_ultra", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "wan-2.2-t2v", "prompt": "Subject: Civchan, a fair-skinned woman with pink hair and purple eyes, dressed in a maid outfit, stands in the middle of a city street ravaged by a riot. She laughs maniacally, she aims a Vector compact submachine gun with it's distinctive short blocky slanted profile and compact chassis that barely extends past the foregrip, holding it with one hand gripping the foregrip and one hand on the rear grip, holding it close with the minimalist stock braced against her shoulder. She fires the weapon. Her expression is one of wild, chaotic joy as she unleashes a hail of bullets. Environment: The scene unfolds on a desolate city street at night, bearing the scars of a recent riot. A burning car casts flickering orange light, illuminating the debris-strewn road and creating long, dramatic shadows. Destroyed storefronts line the street, their shattered windows and looted interiors amplifying the atmosphere of chaos and destruction, Style: Realistic, Motion Level: Large, Shot Size: Medium Shot, Focal Length: Standard, Composition: Rule of Thirds Composition, Camera Angle: Eye Level, Camera Movement: ", "portrait": False, "resolution": "480", "negative_prompt": "blurry, low quality, distorted, extra limbs, missing limbs, broken fingers, deformed, glitch, artifacts, unrealistic, low resolution, bad anatomy, duplicate, cropped, watermark, text, logo, jpeg artifacts, noisy, oversaturated, underexposed, overexposed, flicker, unstable motion, motion blur, stretched, mutated, out of frame, bad proportions", "fps": "18", "num_frames": "92", "output_type": "mp4" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v6/video/text2video_ultra", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "wan-2.2-t2v", "prompt": "Subject: Civchan, a fair-skinned woman with pink hair and purple eyes, dressed in a maid outfit, stands in the middle of a city street ravaged by a riot. She laughs maniacally, she aims a Vector compact submachine gun with it's distinctive short blocky slanted profile and compact chassis that barely extends past the foregrip, holding it with one hand gripping the foregrip and one hand on the rear grip, holding it close with the minimalist stock braced against her shoulder. She fires the weapon. Her expression is one of wild, chaotic joy as she unleashes a hail of bullets. Environment: The scene unfolds on a desolate city street at night, bearing the scars of a recent riot. A burning car casts flickering orange light, illuminating the debris-strewn road and creating long, dramatic shadows. Destroyed storefronts line the street, their shattered windows and looted interiors amplifying the atmosphere of chaos and destruction, Style: Realistic, Motion Level: Large, Shot Size: Medium Shot, Focal Length: Standard, Composition: Rule of Thirds Composition, Camera Angle: Eye Level, Camera Movement: ", "portrait": false, "resolution": "480", "negative_prompt": "blurry, low quality, distorted, extra limbs, missing limbs, broken fingers, deformed, glitch, artifacts, unrealistic, low resolution, bad anatomy, duplicate, cropped, watermark, text, logo, jpeg artifacts, noisy, oversaturated, underexposed, overexposed, flicker, unstable motion, motion blur, stretched, mutated, out of frame, bad proportions", "fps": "18", "num_frames": "92", "output_type": "mp4" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/wan-2.2-t2v/wan-2.2-t2v) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)