Extensions/ComfyBros - Custom ComfyUI Nodes
ComfyUI Extension

ComfyBros - Custom ComfyUI Nodes

Custom ComfyUI nodes for enhanced text and image processing

By turnbros·Created 11 months ago·Updated 10 months ago· 0
turnbros/ComfyBros
Nodes24
On cloudLocal install
CategoryComfyBros/JSON, ComfyBros/Configuration
Stars0
Updated10 months ago

Nodes (24)

Dict Get

Pull one value out of a dict and get it in six flavors

ComfyBros/JSON
Endpoint Configuration

Nothing in the pack reads it

ComfyBros/Configuration
Generate Image

Generate images on a RunPod serverless GPU while your PC does nothing

ComfyBros/Image Generation
Generate Image API

The cleaner, workflow-shaped cousin of Generate Image

ComfyBros/API Nodes/Image Generation
Image Batch Combiner

Stack up to eight frame batches into one sequence

ComfyBros/Image Utils
Image Batch Splitter

Chop a frame batch into pieces — but you only get the first one out

ComfyBros/Image Utils
Image Batch to GIF

Turn a frame batch into an animated GIF (base64 and all)

ComfyBros/Image Utils
Image To Image

Send a local image to a remote GPU and get a variation back

ComfyBros/Image Generation
Integer Compare

A true/false gate for your workflow, with a readable receipt

ComfyBros/Math
Integer Constant

One number, one wire, zero drama

ComfyBros/Math
Integer Math

Arithmetic on integers, with a human-readable receipt

ComfyBros/Math
JSON Parse

Turn a JSON blob into something ComfyUI can actually work with

ComfyBros/JSON
LORA Discovery

Inventory your LORA folder without loading a single weight

ComfyBros/LORA Management
Upload to Gallerina

Ship your generated images to a gallery API (not a folder)

ComfyBros/Storage
Module Management

Ask your RunPod endpoint what models it actually has

ComfyBros/API Nodes/Model Management
Ollama Configuration

A settings object for Ollama-style LLM calls, with a cold-start-sized timeout

ComfyBros/LLM
Ollama Connection

Point the LLM nodes at an endpoint and hand it a key

ComfyBros/LLM
SDXL LORA Prompter

> tags

ComfyBros/Prompting
Text Concatenate

Glue five prompts into one string without a single dropdown

ComfyBros/Text
Text Storage

A labeled text box that survives the graph (and passes text through)

ComfyBros/Text
Text Template

Only {var1}–{var5} Get Replaced — Don't Trust the Default Template

ComfyBros/Text
Text to Video

Text to Video Is a RunPod Client

ComfyBros/Video Generation
WAN22 Generate Video

Wan 2.2 Image-to-Video, Powered by Someone Else's GPU

ComfyBros/Video Generation
WAN22 Upscale Image

Two Inputs, One Cloud Bill

ComfyBros/Image Enhancement
Readme

ComfyBros - Custom ComfyUI Nodes

A collection of custom nodes for ComfyUI that enhance text and image processing capabilities.

Installation

  1. Clone or download this repository to your ComfyUI custom nodes directory:

    cd ComfyUI/custom_nodes/
    git clone <your-repo-url> ComfyBros
    
  2. Install dependencies:

    cd ComfyBros
    pip install -r requirements.txt
    
  3. Restart ComfyUI

Nodes Included

Text Processing Nodes

Text Processor

  • 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

Text Combiner

  • Category: ComfyBros/Text
  • Function: Combine two text inputs with a separator
  • Inputs:
    • text1: First text input
    • text2: Second text input
    • separator: Text to insert between inputs (default: space)
  • Outputs: Combined text

Image Processing Nodes

Image Resize

  • Category: ComfyBros/Image
  • Function: Resize images with various interpolation methods
  • Inputs:
    • image: Input image
    • width: Target width (64-2048, step 8)
    • height: Target height (64-2048, step 8)
    • interpolation: Method (nearest, linear, bilinear, bicubic)
  • Outputs: Resized image

Image Blend

  • Category: ComfyBros/Image
  • Function: Blend two images using different blend modes
  • Inputs:
    • image1: Base image
    • image2: 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

Usage

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.

Development

To add new nodes:

  1. Create your node class in the appropriate file under nodes/
  2. Add the node to NODE_CLASS_MAPPINGS and NODE_DISPLAY_NAME_MAPPINGS in nodes/__init__.py
  3. Follow ComfyUI node conventions for INPUT_TYPES, RETURN_TYPES, and FUNCTION definitions