[Model] Add Wan2.2 text-to-video support (#202)

Signed-off-by: linyueqian <linyueqian@outlook.com>
This commit is contained in:
Yueqian Lin authored and GitHub committed 2025-12-11 10:38:05 +08:00
1 parent 3e4f7eb9ba
commit 4128d63c51
8 files changed
+1296

No files matched your search

+6
View File
@@ -24,6 +24,11 @@ _DIFFUSION_MODELS = {
"pipeline_z_image",
"ZImagePipeline",
),
"WanPipeline": (
"wan2_2",
"pipeline_wan2_2",
"Wan22Pipeline",
),
}
@@ -61,6 +66,7 @@ _DIFFUSION_POST_PROCESS_FUNCS = {
"QwenImagePipeline": "get_qwen_image_post_process_func",
"QwenImageEditPipeline": "get_qwen_image_edit_post_process_func",
"ZImagePipeline": "get_post_process_func",
"WanPipeline": "get_wan22_post_process_func",
}
_DIFFUSION_PRE_PROCESS_FUNCS = {