Skip to content

macroustc/ComfyUI-WanVideoWrapper

 
 

Repository files navigation

ComfyUI wrapper nodes for WanVideo

WORK IN PROGRESS

Installation

  1. Clone this repo into custom_nodes folder.
  2. Install dependencies: pip install -r requirements.txt or if you use the portable install, run this in ComfyUI_windows_portable -folder:

python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper\requirements.txt

Models

https://huggingface.co/Kijai/WanVideo_comfy/tree/main

Text encoders to ComfyUI/models/text_encoders

Transformer to ComfyUI/models/diffusion_models

Vae to ComfyUI/models/vae

You can also use the native ComfyUI text encoding and clip vision loader with the wrapper instead of the original models:

image


Examples:

TeaCache (temporary WIP naive version, waiting on the official one) I2V:

WanVideo2_1_00004.1.mp4

Context window test:

1025 frames using window size of 81 frames, with 16 overlap. With the 1.3B T2V model this used under 5GB VRAM and took 10 minutes to gen on a 5090:

WanVideo_long.mp4

This very first test was 512x512x81

~16GB used with 20/40 blocks offloaded

WanVideo2_1_00002.mp4

Vid2vid example:

with 14B T2V model:

WanVideo2_1_T2V_00062.mp4

with 1.3B T2V model

WanVideo2_1_T2V_00061.mp4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%