zsxkib/wan-2.2-unified

Unified interface for all Wan 2.2 video generation models with intelligent T2V/I2V switching

Public
10 runs

Readme

Wan 2.2 Unified Video Generation

A unified interface that intelligently combines all three Wan 2.2 video generation models into a single, easy-to-use solution.

🚀 Features

  • Smart Auto-Switching: Automatically switches between Text-to-Video and Image-to-Video based on input
  • All Models Included: Access to wan-2.2-t2v-fast, wan-2.2-i2v-fast, and wan-2.2-i2v-a14b
  • Full Resolution Support: Both 480p and 720p available on all models
  • Intelligent Quality Control: Smart go_fast and quality interactions for optimal speed/quality balance
  • Schema-Accurate: Verified against actual API schemas for reliable operation

📊 Available Models

  • wan-2.2-t2v-fast: Fast text-to-video generation (PrunaAI optimized)
  • wan-2.2-i2v-fast: Fast image-to-video generation (PrunaAI optimized)
  • wan-2.2-i2v-a14b: Standard quality image-to-video generation

🎯 How It Works

  1. Provide a prompt - Text description of your desired video
  2. Optionally add an image - Automatically switches to Image-to-Video mode
  3. Choose quality settings - Fast (PrunaAI optimized) or Standard (higher quality)
  4. Configure video settings - Resolution, frames, frame rate
  5. Advanced controls - Fine-tune with sample_shift, sample_steps, and reproducible seeds

⚡ Smart Model Selection

The interface automatically selects the optimal model based on your inputs:

  • No image + any settings → Text-to-Video (wan-2.2-t2v-fast)
  • Image + fast quality → Fast Image-to-Video (wan-2.2-i2v-fast)
  • Image + standard quality → Standard Image-to-Video (wan-2.2-i2v-a14b)
  • go_fast=true → Always uses fast models regardless of quality setting

🔧 Key Parameters

  • prompt: Text description of your video
  • image: Optional input image for I2V generation
  • resolution: 480p, 720p, or aspect ratios (16:9, 9:16)
  • quality: “fast” (PrunaAI optimized) or “standard” (higher quality)
  • go_fast: Override to force fastest processing
  • num_frames: Video length (81 recommended)
  • frames_per_second: Playback speed (16fps optimal)

💡 Usage Tips

  • For fastest generation: Use go_fast=true with quality="fast"
  • For best quality: Use go_fast=false with quality="standard"
  • For 720p output: All models support high resolution
  • For reproducible results: Set a specific seed value

🏗️ Built With

This unified interface combines the power of all Wan 2.2 models: - Original models by the Wan Video team - PrunaAI optimizations for the fast variants - Intelligent parameter optimization and model selection

Perfect for creators who want access to all Wan 2.2 capabilities without managing multiple separate models.


🐦 Follow @zsxkib on X
💻 Check out more projects @zsxkib on GitHub