Wan2.1/wan/configs/__init__.py
2025-10-21 15:02:12 +08:00

30 lines
581 B
Python

# Copyright 2024-2025 The Alibaba Wan Team Authors. All rights reserved.
import copy
import os
os.environ['TOKENIZERS_PARALLELISM'] = 'false'
from .wan_t2v_1_3B import t2v_1_3B
WAN_CONFIGS = {
't2v-1.3B': t2v_1_3B,
}
SIZE_CONFIGS = {
'720*1280': (720, 1280),
'1280*720': (1280, 720),
'480*832': (480, 832),
'832*480': (832, 480),
'1024*1024': (1024, 1024),
}
MAX_AREA_CONFIGS = {
'720*1280': 720 * 1280,
'1280*720': 1280 * 720,
'480*832': 480 * 832,
'832*480': 832 * 480,
}
SUPPORTED_SIZES = {
't2v-1.3B': ('480*832', '832*480'),
}