Video GenerationOpen source codekijai/ComfyUI-WanVideoWrapper

ComfyUI-WanVideoWrapper: Open Source AI Repository & Self-Hosting Guide

Kijai memory-optimized ComfyUI custom-node suite unlocking Wan 2.1/2.2, VACE, Phantom, TeaCache, SageAttention, and FP8 offloading inside ComfyUI.

GitHub Stars
6,851 stars
Repository License
Apache-2.0
Last Push (UTC)
Nov 13, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/kijai/ComfyUI-WanVideoWrapper.git
View on GitHub
Installcd ComfyUI/custom_nodes && git clone https://github.com/kijai/ComfyUI-WanVideoWrapper.git && pip install -r requirements.txt

ComfyUI-WanVideoWrapper: Architecture & Practical Workflow

WanVideoWrapper adds bleeding-edge low-VRAM engineering (BlockSwap offloading, torch.compile, FP8 scaled weights, TeaCache skipping) directly into ComfyUI workflows so creators can chain Wan LoRAs and camera controls reliably.

Recommended End-to-End Pipeline

Install WanVideoWrapper via ComfyUI-Manager, load an FP8 Wan checkpoint with BlockSwap + SageAttention, and connect ControlNet depth or reference frames.

Runtime Target
ComfyUI Plugin / Python (GitHub)
Primary Users
ComfyUI Artists, Home GPU Users
Code License
Apache-2.0
Focus Topics
open-source, github, comfyui, wan, optimization

Quick Setup & Installation Steps

Platform target: ComfyUI Plugin / Python (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/kijai/ComfyUI-WanVideoWrapper.git && cd ComfyUI-WanVideoWrapper`.
  2. 2Review the Apache-2.0 license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `cd ComfyUI/custom_nodes && git clone https://github.com/kijai/ComfyUI-WanVideoWrapper.git && pip install -r requirements.txt` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Install WanVideoWrapper via ComfyUI-Manager, load an FP8 Wan checkpoint with BlockSwap + SageAttention, and connect ControlNet depth or reference frames.)

Hardware & VRAM Notes

Designed primarily for local or cloud GPU acceleration. Model weight size and batch resolution directly determine memory usage.

GPU & VRAM

NVIDIA CUDA GPU (typically 8 GB–24 GB+ VRAM depending on model checkpoint, quantization, and output resolution); check the README for FP8/GGUF offload options.

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

ComfyUI Plugin / Python (GitHub)

Strengths & Best For

  • FP8 quantization & SageAttention speedups
  • Supports Wan LoRAs, VACE & Phantom
  • Apache-2.0 license
  • Best suited for: ComfyUI Artists, Home GPU Users

Limitations & Caveats

  • Requires existing ComfyUI installation
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Video)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted ComfyUI-WanVideoWrapper vs. Hosted Alternatives (Wan Video & AnimateDiff)
FactorComfyUI-WanVideoWrapper (Self-Hosted)Wan VideoAnimateDiff
Execution & PrivacyRuns locally via ComfyUI Plugin / Python (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaApache-2.0 code; bound only by local CPU/GPU hardware.Open Source; subject to vendor free-tier limits or paid plans.Open Source; subject to vendor free-tier limits or paid plans.
Primary FitFP8 quantization & SageAttention speedups; Supports Wan LoRAs, VACE & PhantomAlibaba's state-of-the-art open-source text-to-video and image-to-video foundation model series runnable locally in ComfyUI.Classic plug-and-play open-source motion module turning any custom Stable Diffusion checkpoint or LoRA into animated clips.
Key Trade-offRequires existing ComfyUI installationRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for ComfyUI-WanVideoWrapper workflows.

1000fps Phantom Flex Rain SplashVideo · Ultra Slow-Motion Macro
Open in Studio
Wildlife Macro Eye Reflection RevealVideo · National Geographic Documentary
Open in Studio

More Open Source Video Generation Repositories

Frequently Asked Questions

What does ComfyUI-WanVideoWrapper do and how does it work?

ComfyUI-WanVideoWrapper (kijai/ComfyUI-WanVideoWrapper) is an open-source video generation project with 6,851 stars on GitHub. Kijai memory-optimized ComfyUI custom-node suite unlocking Wan 2.1/2.2, VACE, Phantom, TeaCache, SageAttention, and FP8 offloading inside ComfyUI. WanVideoWrapper adds bleeding-edge low-VRAM engineering (BlockSwap offloading, torch.compile, FP8 scaled weights, TeaCache skipping) directly into ComfyUI workflows so creators can chain Wan LoRAs and camera controls reliably.

Is ComfyUI-WanVideoWrapper free to self-host and use commercially?

ComfyUI-WanVideoWrapper provides open source code licensed under Apache-2.0. Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does ComfyUI-WanVideoWrapper require?

ComfyUI-WanVideoWrapper targets ComfyUI Plugin / Python (GitHub). Typical installation runs via `cd ComfyUI/custom_nodes && git clone https://github.com/kijai/ComfyUI-WanVideoWrapper.git && pip install -r requirements.txt`. Requires existing ComfyUI installation

How does self-hosting ComfyUI-WanVideoWrapper compare to hosted tools like Wan Video?

Self-hosting ComfyUI-WanVideoWrapper gives you full local data control, zero per-usage vendor fees, and customizable ComfyUI Plugin / Python (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, Wan Video (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is ComfyUI-WanVideoWrapper actively maintained and what workflow fits it best?

Repository metadata records 6,851 stars on GitHub with the latest recorded push on Nov 13, 2026. Install WanVideoWrapper via ComfyUI-Manager, load an FP8 Wan checkpoint with BlockSwap + SageAttention, and connect ControlNet depth or reference frames.