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.

POST
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
RESPONSE
video/mp4
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


seedint ( default: 1 )

Random seed for reproducibility. Use a fixed seed for consistent outputs or leave blank for randomness.


promptstr *

Prompt describes the scene. Choose vivid and clear descriptions for best results.


go_fastbool ( default: true )

Toggles speed of video creation. Set to true for quicker outputs.


num_framesint ( default: 81 )

Total frames in the video. 81 frames offer optimal quality.

min : 81,

max : 100


resolutionenum:str ( default: 480p )

Select video resolution. Choose 480p for faster renders, 720p for quality.

Allowed values:


aspect_ratioenum:str ( default: 16:9 )

Aspect ratio of the video. 16:9 is standard, 9:16 for vertical.

Allowed values:


sample_shiftfloat ( default: 12 )

Controls frame sample shift. Increase for more motion variation.

min : 1,

max : 20


frames_per_secondint ( default: 16 )

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

  1. •Install dependencies and download Wan2.2.
  2. •Prepare your prompt (text or source image).
  3. •Configure parameters (see below).
  4. •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.

Cookie settings

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept all", you consent to our use of cookies.