• Stefy Lanza (nextime / spora )'s avatar
    fix: Detect Wan 2.2 I2V base model correctly for image-to-video models · ec05b598
    Stefy Lanza (nextime / spora ) authored
    Before this fix, using Wan 2.2 I2V models like 'wan2_2_i2v_a14b' would
    incorrectly try to load 'Wan-AI/Wan2.1-T2V-14B-Diffusers' as the base
    model because the fallback logic only matched 'wan' generically.
    
    Now the base_model_fallbacks dictionary includes specific entries for:
    - Wan 2.2 I2V models: wan2_2_i2v, wan2.2_i2v
    - Wan 2.2 T2V models: wan2_2, wan2.2
    - Wan 2.1 I2V models: wan2_1_i2v, wan2.1_i2v
    - Wan 2.1 T2V models: wan2_1, wan2.1
    - Generic Wan fallback: wan
    
    The more specific keys are checked first, so model IDs like
    'wan2_2_i2v_a14b' will correctly match 'wan2_2_i2v' and use
    'Wan-AI/Wan2.2-I2V-14B-Diffusers' as the base model.
    ec05b598
Name
Last commit
Last update
static Loading commit data...
templates Loading commit data...
.gitignore Loading commit data...
EXAMPLES.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
SKILL.md Loading commit data...
check_model.py Loading commit data...
check_pipelines.py Loading commit data...
debug_model_select.py Loading commit data...
logo.png Loading commit data...
requirements.txt Loading commit data...
screenshot.png Loading commit data...
videogen.py Loading commit data...
videogen_mcp_server.py Loading commit data...
videogen_models.json Loading commit data...
webapp.py Loading commit data...