What are Custom Nodes?
Other software might call them "mods" or "plugins": they're basically plugins that add features ComfyUI doesn't have out of the box.
They can add support for AI models you can't use by default, pack complex processing into a single node, or even just make the design look cooler. They're one of the things that make ComfyUI so powerful.
Risks of Custom Nodes
They're very handy, but keep in mind that the more you install, the more likely you are to run into trouble.
- Nodes conflict with each other and cause errors
- The author stops updating it, and it breaks on newer ComfyUI
- It might contain malicious code (the chance isn't zero)
Of course, plenty of techniques can't be used without custom nodes, so we'll install them as needed. Just don't forget that "the fewer, the better".
Installing Custom Nodes
Normally, you install them from ComfyUI Manager.
Using ComfyUI Manager (Recommended)
- Install ComfyUI Manager
- If ComfyUI Manager is not installed yet, please refer to ComfyUI Manager to install it.
- Click
Managerin the menu - Click
Custom Nodes Manager - Search for the node name in the search bar
- Click
Install(latestis usually fine for the version) - Click
Restartto restart ComfyUI
Installing Manually
Do this when a node isn't in Manager, or when you want the latest development version.
- In a terminal, go to the
ComfyUI/custom_nodesfolder - Download the repository with
git clonecd ComfyUI/custom_nodes git clone https://github.com/username/repository-name.git - Install libraries if necessary
# venv cd path/to/ComfyUI venv/Scripts/activate cd custom_nodes/custom_node pip install -r requirements.txt # portable version cd path/to/ComfyUI/custom_nodes/custom_node ../../../python_embeded/python.exe -s -m pip install -r requirements.txt - Restart ComfyUI
Custom Nodes to Install Right Away
We mostly build with the default nodes, but some things you'll need every day just aren't there, so please install these.
- kijai/ComfyUI-KJNodes
- Many utility functions, video generation assistance
- ltdrdata/ComfyUI-Impact-Pack
- Batch processing, list operations, Detailer
- Kosinkadink/ComfyUI-VideoHelperSuite
- Loading / Exporting videos
Useful Nodes
- rgthree/rgthree-comfy
- Comparison slider, Nested folder display, Advanced calculation
- crystian/ComfyUI-Crystools
- A resource monitor that shows CPU, RAM, GPU, VRAM, and more in real time
ComfyUI Native vs Wrapper
You don't really need to remember this, but custom nodes broadly come in two types.
1. ComfyUI Native
As I touched on in What is ComfyUI?, ComfyUI's real strength is its optimization, which lets AI models run comfortably even on home PCs.
Custom nodes built on this core are called ComfyUI native, and they get the full benefit of those strengths.
2. Wrapper
These are nodes that wrap external code so it runs on ComfyUI.
They're often made to run things like research code on ComfyUI more or less as is. They're often not well optimized, and tend to be unstable: heavy, or prone to errors.
Of course, many techniques are only available through wrappers, and many implementations do their own optimization. Be deeply grateful to the developers, but it's best to treat them as something for testing.