mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-12-15 11:43:21 +00:00
Expand supported resolutions in SIZE_CONFIGS and MAX_AREA_CONFIGS; update SUPPORTED_SIZES for i2v-14B to include new dimensions.
This commit is contained in:
parent
a51658f197
commit
dc96cbb091
@ -34,6 +34,10 @@ SIZE_CONFIGS = {
|
||||
'832*480': (832, 480),
|
||||
'480*640': (480, 640),
|
||||
'640*480': (640, 480),
|
||||
'640*848': (640, 848),
|
||||
'848*640': (848, 640),
|
||||
'720*960': (720, 960),
|
||||
'960*720': (960, 720),
|
||||
'1024*1024': (1024, 1024),
|
||||
}
|
||||
|
||||
@ -44,12 +48,16 @@ MAX_AREA_CONFIGS = {
|
||||
'832*480': 832 * 480,
|
||||
'480*640': 480 * 640,
|
||||
'640*480': 640 * 480,
|
||||
'640*848': 640 * 848,
|
||||
'848*640': 848 * 640,
|
||||
'720*960': 720 * 960,
|
||||
'960*720': 960 * 720,
|
||||
}
|
||||
|
||||
SUPPORTED_SIZES = {
|
||||
't2v-14B': ('720*1280', '1280*720', '480*832', '832*480'),
|
||||
't2v-1.3B': ('480*832', '832*480'),
|
||||
'i2v-14B': ('720*1280', '1280*720', '480*832', '832*480', '480*640', '640*480'),
|
||||
'i2v-14B': ('720*1280', '1280*720', '480*832', '832*480', '480*640', '640*480', '640*848', '848*640', '720*960', '960*720'),
|
||||
'flf2v-14B': ('720*1280', '1280*720', '480*832', '832*480'),
|
||||
't2i-14B': tuple(SIZE_CONFIGS.keys()),
|
||||
'vace-1.3B': ('480*832', '832*480'),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user