├── .gitignore ├── LICENSE ├── README.md ├── app.py ├── assets └── Stand-In.png ├── configs └── model_config.py ├── data └── video.py ├── distributed ├── __init__.py └── xdit_context_parallel.py ├── download_models.py ├── infer.py ├── infer_face_swap.py ├── infer_with_lora.py ├── infer_with_vace.py ├── lora └── __init__.py ├── models ├── __init__.py ├── attention.py ├── downloader.py ├── model_manager.py ├── set_condition_branch.py ├── tiler.py ├── utils.py ├── wan_video_camera_controller.py ├── wan_video_dit.py ├── wan_video_image_encoder.py ├── wan_video_motion_controller.py ├── wan_video_text_encoder.py ├── wan_video_vace.py └── wan_video_vae.py ├── pipelines ├── base.py ├── wan_video.py └── wan_video_face_swap.py ├── preprocessor ├── __init__.py ├── image_input_preprocessor.py └── videomask_generator.py ├── prompters ├── __init__.py ├── base_prompter.py ├── omost.py ├── prompt_refiners.py └── wan_prompter.py ├── requirements.txt ├── schedulers ├── __init__.py ├── continuous_ode.py ├── ddim.py └── flow_match.py ├── test └── input │ ├── first_frame.png │ ├── lecun.jpg │ ├── pose.mp4 │ ├── ruonan.jpg │ └── woman.mp4 ├── trainers ├── __init__.py └── utils.py ├── utils └── __init__.py ├── vram_management ├── __init__.py ├── gradient_checkpointing.py └── layers.py └── wan_loader.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/app.py -------------------------------------------------------------------------------- /assets/Stand-In.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/assets/Stand-In.png -------------------------------------------------------------------------------- /configs/model_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/configs/model_config.py -------------------------------------------------------------------------------- /data/video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/data/video.py -------------------------------------------------------------------------------- /distributed/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /distributed/xdit_context_parallel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/distributed/xdit_context_parallel.py -------------------------------------------------------------------------------- /download_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/download_models.py -------------------------------------------------------------------------------- /infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/infer.py -------------------------------------------------------------------------------- /infer_face_swap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/infer_face_swap.py -------------------------------------------------------------------------------- /infer_with_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/infer_with_lora.py -------------------------------------------------------------------------------- /infer_with_vace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/infer_with_vace.py -------------------------------------------------------------------------------- /lora/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/lora/__init__.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- 1 | from .model_manager import * 2 | -------------------------------------------------------------------------------- /models/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/attention.py -------------------------------------------------------------------------------- /models/downloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/downloader.py -------------------------------------------------------------------------------- /models/model_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/model_manager.py -------------------------------------------------------------------------------- /models/set_condition_branch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/set_condition_branch.py -------------------------------------------------------------------------------- /models/tiler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/tiler.py -------------------------------------------------------------------------------- /models/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/utils.py -------------------------------------------------------------------------------- /models/wan_video_camera_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/wan_video_camera_controller.py -------------------------------------------------------------------------------- /models/wan_video_dit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/wan_video_dit.py -------------------------------------------------------------------------------- /models/wan_video_image_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/wan_video_image_encoder.py -------------------------------------------------------------------------------- /models/wan_video_motion_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/wan_video_motion_controller.py -------------------------------------------------------------------------------- /models/wan_video_text_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/wan_video_text_encoder.py -------------------------------------------------------------------------------- /models/wan_video_vace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/wan_video_vace.py -------------------------------------------------------------------------------- /models/wan_video_vae.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/models/wan_video_vae.py -------------------------------------------------------------------------------- /pipelines/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/pipelines/base.py -------------------------------------------------------------------------------- /pipelines/wan_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/pipelines/wan_video.py -------------------------------------------------------------------------------- /pipelines/wan_video_face_swap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/pipelines/wan_video_face_swap.py -------------------------------------------------------------------------------- /preprocessor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/preprocessor/__init__.py -------------------------------------------------------------------------------- /preprocessor/image_input_preprocessor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/preprocessor/image_input_preprocessor.py -------------------------------------------------------------------------------- /preprocessor/videomask_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/preprocessor/videomask_generator.py -------------------------------------------------------------------------------- /prompters/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/prompters/__init__.py -------------------------------------------------------------------------------- /prompters/base_prompter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/prompters/base_prompter.py -------------------------------------------------------------------------------- /prompters/omost.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/prompters/omost.py -------------------------------------------------------------------------------- /prompters/prompt_refiners.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/prompters/prompt_refiners.py -------------------------------------------------------------------------------- /prompters/wan_prompter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/prompters/wan_prompter.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/requirements.txt -------------------------------------------------------------------------------- /schedulers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/schedulers/__init__.py -------------------------------------------------------------------------------- /schedulers/continuous_ode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/schedulers/continuous_ode.py -------------------------------------------------------------------------------- /schedulers/ddim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/schedulers/ddim.py -------------------------------------------------------------------------------- /schedulers/flow_match.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/schedulers/flow_match.py -------------------------------------------------------------------------------- /test/input/first_frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/test/input/first_frame.png -------------------------------------------------------------------------------- /test/input/lecun.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/test/input/lecun.jpg -------------------------------------------------------------------------------- /test/input/pose.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/test/input/pose.mp4 -------------------------------------------------------------------------------- /test/input/ruonan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/test/input/ruonan.jpg -------------------------------------------------------------------------------- /test/input/woman.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/test/input/woman.mp4 -------------------------------------------------------------------------------- /trainers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trainers/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/trainers/utils.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /vram_management/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/vram_management/__init__.py -------------------------------------------------------------------------------- /vram_management/gradient_checkpointing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/vram_management/gradient_checkpointing.py -------------------------------------------------------------------------------- /vram_management/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/vram_management/layers.py -------------------------------------------------------------------------------- /wan_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WeChatCV/Stand-In/HEAD/wan_loader.py --------------------------------------------------------------------------------