Wan 2.2 Text to Video Fast
Wan2.2 transforms text and images into high-quality video clips with cinematic flair.
API
If you're looking for an API, you can choose from your desired programming language.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import requests
api_key = "YOUR_API_KEY"
url = "https://api.segmind.com/v1/wan-2.2-t2v-fast"
# Prepare data and files
data = {}
files = {}
data['seed'] = None
data['prompt'] = "A sophisticated Korean teacher in her early 30s, with sleek, black hair tied in a high bun and sharp, cat-like eyes, stands at the front of the room. She wears a tailored blazer and pencil skirt, exuding authority. As she writes on the chalkboard, the chalk’s texture against her fingers sends a jolt of pleasure through her. The camera lingers on her face—her composed expression cracks as her lips tremble, her eyes flutter, and unaware figures remain in the background."
data['go_fast'] = True
data['num_frames'] = 81
data['resolution'] = "480p"
data['aspect_ratio'] = "16:9"
data['sample_shift'] = 12
data['frames_per_second'] = 16
headers = {'x-api-key': api_key}
# If no files, send as JSON
if files:
response = requests.post(url, data=data, files=files, headers=headers)
else:
response = requests.post(url, json=data, headers=headers)
print(response.content) # The response is the generated image
Attributes
Random seed for reproducibility. Use a fixed seed for consistent outputs or leave blank for randomness.
Prompt describes the scene. Choose vivid and clear descriptions for best results.
Toggles speed of video creation. Set to true for quicker outputs.
Total frames in the video. 81 frames offer optimal quality.
min : 81,
max : 100
Select video resolution. Choose 480p for faster renders, 720p for quality.
Allowed values:
Aspect ratio of the video. 16:9 is standard, 9:16 for vertical.
Allowed values:
Controls frame sample shift. Increase for more motion variation.
min : 1,
max : 20
Video FPS. 16 fps is balanced; increase for smoother motion.
min : 5,
max : 24
To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.
Resources to get you started
Everything you need to know to get the most out of Wan 2.2 Text to Video Fast
Wan2.2 Quickstart Guide
Overview
Wan2.2 is Wan-AI’s flagship text-to-video and image-to-video model. It delivers cinematic 480p/720p clips at up to 24 fps on consumer GPUs (e.g., RTX 4090) by routing denoising to specialized experts. Use this guide to pick the right settings for your project.
Important guides
Getting Started
- •Install dependencies and download Wan2.2.
- •Prepare your prompt (text or source image).
- •Configure parameters (see below).
- •Run the model and iterate.
Key Parameters
- •prompt (required): Vivid scene descriptions drive detail.
- •seed (int): Fix for reproducible outputs; omit for randomness.
- •num_frames (81–100): Clip length; 81 is optimal quality/size.
- •frames_per_second (5–24): Motion smoothness vs. file size.
- •resolution (480p/720p): Speed vs. sharpness.
- •aspect_ratio (16:9/9:16): Landscape vs. portrait.
- •sample_shift (1–20): Higher → more motion variation.
- •go_fast (bool): Quick drafts; disable for final renders.
Use Case Recommendations
1. Prototype Animations
- •resolution: 480p
- •aspect_ratio: 16:9
- •num_frames: 81
- •frames_per_second: 16
- •sample_shift: 8
- •go_fast: true
- •seed: leave blank for varied drafts
2. Marketing Teasers & Reels
- •resolution: 720p
- •aspect_ratio: 16:9 or 9:16 (vertical ads)
- •num_frames: 90
- •frames_per_second: 24
- •sample_shift: 12
- •go_fast: false (final)
- •seed: fixed (e.g., 42) for A/B testing
3. Educational Explainers
- •resolution: 720p
- •aspect_ratio: 16:9
- •num_frames: 85
- •frames_per_second: 16
- •sample_shift: 6
- •go_fast: false
- •seed: any fixed integer
4. R&D & Benchmarking
- •resolution: 720p
- •aspect_ratio: 16:9
- •num_frames: 100
- •frames_per_second: 12
- •sample_shift: 15
- •go_fast: true
- •seed: blank for stochastic sampling
5. Creative Storyboarding
- •resolution: 480p
- •aspect_ratio: 16:9
- •num_frames: 95
- •frames_per_second: 20
- •sample_shift: 10
- •go_fast: true
- •seed: reuse between scenes
Advanced Tips
- •Lock seed to compare prompt tweaks.
- •Use go_fast during concepting, then toggle off for final high-fidelity.
- •Fine-tune sample_shift to match scene dynamics (low for static, high for action).
- •Balance fps: 16 fps for narrative, 24 fps for cinematic motion.
Example Parameter Block
\{
"prompt": "A glowing neon robot dancing in a futuristic nightclub",
"resolution": "720p",
"aspect_ratio": "16:9",
"num_frames": 90,
"frames_per_second": 24,
"sample_shift": 12,
"go_fast": false,
"seed": 1234
\}
Use these settings as a starting point, then iterate your prompts and parameters to unlock Wan2.2’s full potential. Happy creating!
Other Popular Models
Discover other models you might be interested in.
sdxl-controlnet
SDXL ControlNet gives unprecedented control over text-to-image generation. SDXL ControlNet models Introduces the concept of conditioning inputs, which provide additional information to guide the image generation process

illusion-diffusion-hq
Monster Labs QrCode ControlNet on top of SD Realistic Vision v5.1

faceswap-v2
Take a picture/gif and replace the face in it with a face of your choice. You only need one image of the desired face. No dataset, no training

sd1.5-majicmix
The most versatile photorealistic model that blends various models to achieve the amazing realistic images.
