A collection of nodes for batch processing texts, images, videos, and LoRAs in ComfyUI
txt_batch_loader- Load and filter text files by filename patterns and contenttext_modify_tool- Edit text content with search/replace operations on prefixes, suffixes, or whole text
image_batch_loader- Load images with filtering, subfolder search, index range selection, and list output optionsimage_batch_saver- Save images with companion text files, frame accumulation, and customizable naming
video_batch_saver- Save videos with customizable formats, codecs, and companion text files
lora_batch_loader- Load and apply LoRAs with filtering and cycling modes
- 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
- Memory-Efficient Frame Accumulation - Append frames to existing files across loop iterations
- Index Range Selection - Select specific frame ranges for loading and saving
- Multi-Format Support - Supports PNG, JPG, GIF, WebP, TIFF, BMP formats
Clone to your ComfyUI custom_nodes directory:
ComfyUI/custom_nodes/batch-process/
Restart ComfyUI
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
Loads images with advanced filtering and index range selection:
- Inputs: Directory path, search filters, subfolder option, image list toggle, start_index, end_index
- Outputs: Single image, filename, image count, image list (when enabled)
- Features: 1-based indexing, range selection, incremental/single/random modes
Loads text files with content and filename filtering:
- Inputs: Directory path, search filters for filename and content, start_index, end_index
- Outputs: Text content, filename
- Features: 1-based indexing, range selection
Saves images with companion text files and advanced options:
- Inputs: Images, text content, output path, naming options, append_frames, start_index, end_index
- Features:
- Frame accumulation (append_frames, defaults to false)
- Index range selection (1-based)
- Multi-format support (PNG, JPG, GIF, WebP, TIFF, BMP)
- Auto-converts to GIF when append_frames is enabled with unsupported formats
- Custom naming patterns, workflow embedding, progress tracking
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
Modifies text content programmatically:
- Options: Whole text, prefix, or suffix modification
- Operations: Search/replace, delete operations
- Preparing AI training datasets
- Batch file organization and renaming
- LoRA experimentation and comparison
- Asset management workflows
- Memory-efficient video processing with frame accumulation
- ComfyUI
- Standard ComfyUI dependencies
This project is provided as-is for the ComfyUI community.