ComfyUI Custom Node: ControlNet Auxiliar
This ComfyUI custom node, named ControlNet Auxiliar, is designed to provide auxiliary functionalities for image processing tasks. It is particularly useful for various image manipulation and enhancement operations. The node is integrated with functionalities for converting images between different formats and applying various image processing techniques.
Usage
Input Types
- image: The input image for processing.
- mode: Specifies the processing mode, including options such as scribble_hed, softedge_hed, depth_midas, openpose, and more.
Optional Parameters
The node offers the following optional parameters for customization:
- low_threshold: An integer specifying the low threshold value for image processing. Default: 50, Range: 1-200.
- high_threshold: An integer specifying the high threshold value for image processing. Default: 100, Range: 1-200.
- image_resolution: An integer specifying the resolution of the processed image. Default: 512, Range: 512-1024.
Return Types
The ControlNet Auxiliar node returns processed images.
Functionality
The node provides the following functionality:
- process_image: Processes the input image according to the specified mode and parameters, producing the processed image as output.
Example Workflow
Below is an example workflow demonstrating the usage of the ControlNet Auxiliar node:
- Load Input Image: Start by loading the input image you want to process.
- Specify Processing Mode: Select the desired processing mode from the available options, such as scribble_hed, softedge_hed, depth_midas, openpose, etc.
- Adjust Optional Parameters: Optionally, adjust the parameters such as low_threshold, high_threshold, and image_resolution based on your requirements.
- Process Image: Apply the ControlNet Auxiliar node to process the input image using the specified mode and parameters.
- Retrieve Processed Image: Retrieve the processed image generated by the node.
- Further Processing (Optional): You can further process the processed image or use it for downstream tasks as needed.
Download Example Workflow JSON
Note: Work in Progress
This project is currently under development and is not yet complete. While it is functional to some extent, please be aware that there may be bugs, incomplete features, or other issues. Contributions, feedback, and suggestions are welcome!
Node Class Mappings
The ControlNet Auxiliar node is mapped to the class controlnet_auxiar within the controlnet_aux.processor module.
Credit: This ComfyUI custom node is developed using the source provided by lllyasviel.