🎉 New Year Sale: Get 20% OFF on all plans — Use code NEWYEAR2026.

Upgrade now
wan2.1 thumbnail

ModelsLab/Wan2.1

wan2.1
Endpoint:
Generate high-quality videos from images or text with smooth motion, readable text overlay, and support for 480p/720p resolutions; runs efficiently on consumer GPUs, offers 81–100 frames at 5–24 FPS, and enables versatile video editing and generation tasks.
API PlaygroundAPI Documentation

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": "astronaut in a spacesuit is jumping and diving on a springboard at competition, front jump, side view, then dives into water, water splash, he is wearing a a spacesuit",
"model_id": "wan2.1",
"portrait": true,
"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",
"output_type": "mp4",
"fps": "16",
"num_frames": "81",
"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 NameParameterTechnical Description
promptpromptPrompt
model_idmodel_idSelect the model id
Portraitportraittoggle off if you want horizontal video generation
Negative Promptnegative_promptThings that you do not want in video
Output Typeoutput_typeOutput type
fpsfpsFrames per second
Numer of framesnum_framesif the fps is 16 and Number of frame is 81 it will generate 5 sec video