comfyui_controlnet_aux
Run ComfyUI Easily with InstaSD
Skip the complex setup and run ComfyUI online. InstaSD helps creative professionals build workflows and deploy them to the world:
- One-click deployment
- Any model, any node
- Powerful GPUs for rapid iteration
Available Nodes
Documentation
ComfyUI ControlNet Auxiliary Preprocessors
Overview
This repository provides a collection of plug-and-play node sets for creating ControlNet hint images within the ComfyUI framework. It supports the creation of various preprocessors for generating hint images like stickman, canny edge, and more. The nodes are designed to integrate seamlessly with the ControlNet architecture and are connected to resources on the 🤗 Hugging Face Hub.
Installation
Using ComfyUI Manager (Recommended)
- Install the ComfyUI Manager.
- Follow the steps provided in ComfyUI Manager to install this repository.
Alternative Method
If you cannot use ComfyUI Manager, follow these steps:
-
Ensure
/ComfyUI/custom_nodesand thecomfyui_controlnet_auxdirectory have write permissions. -
For Windows users:
- Run the install.bat file to install the package. If a portable version is detected, it will install to it; otherwise, it defaults to the system.
-
For Linux or users who can't run the install.bat:
- Open your terminal or command prompt.
- Navigate to the
/ComfyUI/custom_nodes/directory. - Run
git clone https://github.com/Fannovel16/comfyui_controlnet_aux/. - Inside the
comfyui_controlnet_auxdirectory:- For portable/venv: Run
path/to/ComfUI/python_embeded/python.exe -s -m pip install -r requirements.txt - For system Python: Run
pip install -r requirements.txt
- For portable/venv: Run
- Start ComfyUI.
Repository Purpose
The primary purpose of this repository is to offer a suite of nodes for generating hint images for ControlNet, a framework that supports conditional generation in neural networks. It facilitates the creation of images based on structural or textural hints, thereby enhancing the capabilities of the ComfyUI interface.
Nodes Provided
The repository includes a variety of preprocessing nodes, categorized into sections such as Line Extractors, Normal and Depth Estimators, Faces and Poses Estimators, Optical Flow Estimators, Semantic Segmentation, T2IAdapter-only, and Recolor.
Important Node Categories
-
Line Extractors
-
Normal and Depth Estimators
-
Faces and Poses Estimators
- DWPose Estimator
- OpenPose Estimator
- More...
-
Optical Flow Estimators
-
Semantic Segmentation
-
Recolor
Special Features
Integration and Flexibility
- The nodes in this repository work seamlessly within ComfyUI and are designed to support a wide range of operations from simple edge detection to complex depth map processing.
- Most preprocessors are integrated into the
AIO Aux Preprocessornode, allowing users to switch between them quickly.
GPU Acceleration
- Some nodes, like DWPose and AnimalPose, can leverage GPU acceleration for faster processing via TorchScript checkpoints or ONNXRuntime.
JSON Output for OpenPose
- This repository provides functionality to extract OpenPose-format JSON data, which can be used to create complex workflows in ComfyUI.
Usefulness in ComfyUI Workflows
The nodes provided by this repository are essential for users looking to expand the capabilities of ComfyUI when working with ControlNet. They allow for the generation of complex hint images and enable the integration of additional features like semantic segmentation and pose estimation. By facilitating these diverse functions, the repository enhances the creative and practical possibilities available in ComfyUI workflows.