Skip to content

stranger-games/ComfyUI-Batch-Process-Advanced

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComfyUI Batch Process

A collection of nodes for batch processing texts, images, videos, and LoRAs in ComfyUI


Core Features

🔧 Text Processing

  • txt_batch_loader - Load and filter text files by filename patterns and content
  • text_modify_tool - Edit text content with search/replace operations on prefixes, suffixes, or whole text

🖼️ Image Processing

  • image_batch_loader - Load images with filtering, subfolder search, and list output options
  • image_batch_saver - Save images with companion text files and customizable naming

🎬 Video Processing

  • video_batch_saver - Save videos with customizable formats, codecs, and companion text files

🎨 LoRA Processing

  • lora_batch_loader - Load and apply LoRAs with filtering and cycling modes

🏷️ Utilities

  • simple_image_tagger - Generate text templates for image batches

Key Features

  • File-Based Filtering - All loaders support filename pattern matching and regex
  • Training-Ready Outputs - Maintains image-text relationships for ML datasets
  • LoRA Management - Batch apply LoRAs with customizable strength settings
  • Flexible Modes - Single, incremental, and random loading options

Installation

Clone to your ComfyUI custom_nodes directory:

ComfyUI/custom_nodes/batch-process/

Restart ComfyUI


Nodes Overview

LoRA Batch Loader

Loads LoRAs from a directory with filtering options:

  • Inputs: Model, CLIP, directory path, search filters, strength settings
  • Modes: Single, incremental, random
  • Outputs: Modified MODEL, CLIP, filename

Image Batch Loader

Loads images with advanced filtering:

  • Inputs: Directory path, search filters, subfolder option, image list toggle
  • Outputs: Single image, filename, image count, image list (when enabled)

TXT Batch Loader

Loads text files with content and filename filtering:

  • Inputs: Directory path, search filters for filename and content
  • Outputs: Text content, filename

Image Batch Saver

Saves images with companion text files:

  • Inputs: Images, text content, output path, naming options
  • Features: Custom naming patterns, workflow embedding, progress tracking

Video Batch Saver

Saves videos with customizable settings:

  • Inputs: Videos, text content, output path, format, codec, naming options
  • Features: Multiple formats (MP4, etc.), codec selection, preserves original FPS, companion text files, workflow metadata

Text Modify Tool

Modifies text content programmatically:

  • Options: Whole text, prefix, or suffix modification
  • Operations: Search/replace, delete operations

Simple Image Tagger

Generates text templates for image batches:

  • Inputs: Images, text template
  • Output: Generated text for each image

Typical Use Cases

  • Preparing AI training datasets
  • Batch file organization and renaming
  • LoRA experimentation and comparison
  • Asset management workflows

Requirements

  • ComfyUI
  • Standard ComfyUI dependencies

License

This project is provided as-is for the ComfyUI community.

About

A ComfyUI node that help you batch process images while saving RAM during the RAMPocalypse

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%