ModelsLab/Wan2.2 Text To Video
wan-2.2-t2vCreate 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.
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v6/video/text2video_ultra
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"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": true,"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","model_id": "wan-2.2-t2v","key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| prompt | prompt | Prompt |
| Portrait | portrait | toggle off if you want horizontal video generation |
| Resolution | resolution | select the resolution for video |
| Negative Prompt | negative_prompt | Things that you do not want in video |
| fps | fps | Frames per second |
| Numer of frames | num_frames | if the fps is 18 and Number of frame is 92 it will generate 5 sec video |
| Output Type | output_type | Output type |
| model_id | model_id | Select the model id |