A collection of custom nodes for ComfyUI that enhance text and image processing capabilities.
-
Clone or download this repository to your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes/ git clone <your-repo-url> ComfyBros -
Install dependencies:
cd ComfyBros pip install -r requirements.txt -
Restart ComfyUI
- Category: ComfyBros/Text
- Function: Apply various text transformations
- Inputs:
text: Input text (multiline string)operation: Transformation type (uppercase, lowercase, title, capitalize, remove_spaces, remove_numbers)
- Outputs: Processed text
- Category: ComfyBros/Text
- Function: Combine two text inputs with a separator
- Inputs:
text1: First text inputtext2: Second text inputseparator: Text to insert between inputs (default: space)
- Outputs: Combined text
- Category: ComfyBros/Image
- Function: Resize images with various interpolation methods
- Inputs:
image: Input imagewidth: Target width (64-2048, step 8)height: Target height (64-2048, step 8)interpolation: Method (nearest, linear, bilinear, bicubic)
- Outputs: Resized image
- Category: ComfyBros/Image
- Function: Blend two images using different blend modes
- Inputs:
image1: Base imageimage2: Overlay image (auto-resized to match image1)blend_factor: Blend strength (0.0-1.0)blend_mode: Blending method (normal, multiply, screen, overlay)
- Outputs: Blended image
After installation, you'll find the ComfyBros nodes in the node menu under their respective categories:
- ComfyBros/Text
- ComfyBros/Image
Simply add them to your workflow like any other ComfyUI node.
To add new nodes:
- Create your node class in the appropriate file under
nodes/ - Add the node to
NODE_CLASS_MAPPINGSandNODE_DISPLAY_NAME_MAPPINGSinnodes/__init__.py - Follow ComfyUI node conventions for INPUT_TYPES, RETURN_TYPES, and FUNCTION definitions