• Stefy Lanza (nextime / spora )'s avatar
    Fix Wan 2.2 I2V base model detection · 6a982a8b
    Stefy Lanza (nextime / spora ) authored
    - Fixed model ID normalization to handle hyphens (in addition to underscores)
    - Fixed dictionary key ordering in base_model_fallbacks so more specific keys (wan2.2.i2v) are checked before generic keys (wan2.2)
    - Fixed Wan 2.1 I2V base model mapping (was incorrectly pointing to T2V)
    - Fixed base model detection in earlier code sections to check model ID directly instead of relying on m_info.get('supports_i2v')
    - Fixed typo: Wan 2.2 generic fallback now correctly uses Wan2.2-T2V
    
    Now Wan 2.2 I2V models like Wan-AI/Wan2.2-I2V-A14B will correctly use Wan-AI/Wan2.2-I2V-14B-Diffusers as the base model instead of the incorrect Wan-AI/Wan2.2-T2V-14B-Diffusers.
    6a982a8b
videogen.py 431 KB