If you are building Wan2.2 video graphs in ComfyUI, comfyui-kjnodes can provide useful utility nodes that are not included in a default installation. The difficult part is rarely clicking Install. The difficult part is knowing which version you installed, which dependencies it pulled in, and whether a missing node is actually the cause of a broken render. I treat every custom node pack as a controlled software change, not a magic folder copied into ComfyUI.
What comfyui-kjnodes is used for
comfyui-kjnodes is a third-party custom node collection for ComfyUI. Node packs like this typically add workflow helpers, image and mask operations, conditioning controls, or other graph utilities. The exact node list can change as the repository develops, so read the current documentation and inspect the installed files instead of relying on an old YouTube description.
That distinction matters for Wan2.2. A video workflow can contain dozens of nodes, and one missing utility can prevent the graph from loading even when the model, text encoder, and VAE are configured correctly. ComfyUI may show a red node, a generic import error, or a warning in the terminal. Those symptoms look similar but require different fixes.
Before installing, record your baseline. Save the ComfyUI commit or release, Python version, PyTorch version, CUDA build, GPU model, and operating system. On my practical test machine, I would also record available VRAM and whether ComfyUI is running from a portable package or a manually created virtual environment. A used RTX 3090 with 24 GB of VRAM behaves very differently from a 12 GB card once video models and custom nodes occupy memory.

Installing without creating a dependency mess
The safest route is ComfyUI Manager when the pack is listed there. Search for comfyui-kjnodes, verify the repository name, install it, and restart ComfyUI completely. A browser refresh is not the same as restarting the Python process. Watch the terminal during startup and confirm that the pack loads without an exception.
If Manager is unavailable, use the repository’s documented manual installation method. Do not paste random commands from a comment into a production environment. Clone or download the repository into ComfyUI’s custom_nodes directory, then inspect its requirements file. Install dependencies in the same Python environment that launches ComfyUI. A common failure is running pip from system Python while ComfyUI uses an embedded portable Python executable.
After installation, search the startup log for the pack name and the phrase “import failed.” If the log reports a missing module, copy the complete traceback before changing anything. The final line often names the missing package, while the earlier lines reveal whether the problem is a version conflict, an unavailable compiled extension, or a path mistake. Save that log beside the workflow JSON.
A controlled test workflow
Do not test a new node pack first inside a complicated Wan2.2 graph. Open a blank workflow and add one node from comfyui-kjnodes. Feed it a small image or simple tensor input appropriate to its function, then queue a short job. This isolates node loading from model memory pressure and video sampling.
Next, duplicate the test with the same seed, resolution, sampler, steps, and model files. Change only the new node or bypass it if the graph allows. For a first pass, 512 by 512 image testing is more useful than immediately launching a long 720p video render. It gives faster feedback and keeps a bad dependency from consuming an entire evening.
Write down the result in plain terms: node loaded, output completed, output dimensions, elapsed time, peak VRAM, and any terminal warnings. If the node changes pixels, save both images. If it only changes metadata or routing, save the workflow JSON and explain the expected effect. The settings are part of the result; without them, a screenshot proves very little.
Common failures and practical fixes
One frequent issue is “node class not found” after installation. Restart ComfyUI first, then confirm the repository is inside the active ComfyUI installation rather than a second copy on another drive. If the folder is nested twice, such as custom_nodes/comfyui-kjnodes/comfyui-kjnodes, the loader may not find the expected Python files.
Another problem is a dependency conflict after updating comfyui-kjnodes. A node pack can require a package version that disagrees with another extension. Reproduce the error in a clean environment before downgrading PyTorch or CUDA. Changing several packages at once destroys the evidence. If the pack worked yesterday, compare the repository revision and the generated pip output rather than guessing.
VRAM errors are not always caused by the custom node. A video model, VAE decode, preview image, and multiple conditioning branches can exhaust memory before the new node performs meaningful work. Test with a smaller batch, lower resolution, tiled decoding, or CPU offloading where supported. A 24 GB RTX 3090 can still fail when a graph retains several large intermediate video tensors.

Reproducing a Wan2.2 experiment
For a useful comparison, keep the model checkpoint, prompt, negative prompt, seed, frame count, resolution, sampler, scheduler, and step count unchanged. Render the baseline graph first. Then enable the comfyui-kjnodes component and render again. Record whether the output changed visually, whether render time changed, and whether peak VRAM moved.
Do not call a result better because it looks sharper in a single frame. Check temporal consistency across the clip, object identity, motion continuity, and flicker. A utility node may improve one frame while introducing instability across neighboring frames. Extract matching frames from both clips and inspect them side by side. If the change is subtle, use the same player, display scaling, and frame range.
A small test log can include: ComfyUI revision, comfyui-kjnodes revision, GPU, driver, Python environment, model files, seed, dimensions, frame count, elapsed time, peak VRAM, and failure text. That list is less glamorous than a polished demo, but it lets another creator reproduce the test instead of rebuilding the graph from memory.
Should you install it?
Install comfyui-kjnodes when a workflow explicitly requires one of its nodes or when you have a small, documented experiment that justifies the added dependency. Avoid installing every available pack “just in case.” Each extension increases the number of possible import conflicts, updates, and unknown interactions in your ComfyUI environment.
Keep a working backup of the ComfyUI folder, workflow JSON files, and environment details before updating. For important projects, maintain a separate test installation where new node packs are evaluated before they reach the production setup. That separation costs disk space but saves far more time than repairing a tangled environment during a deadline.
My rule is simple: install the pack, verify the import, run a minimal node test, then run a fixed Wan2.2 comparison. If it fails, preserve the traceback and revert one change at a time. If it works, publish the versions and settings with the workflow. If you can’t reproduce it, it’s not a workflow. Run the test. Save the settings. Show the failure.