mirror of
				https://github.com/Wan-Video/Wan2.1.git
				synced 2025-11-04 06:15:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			581 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			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'),
 | 
						|
}
 |