ComfyUI Extension
ComfyUI-AutoFlow
A collection of utility nodes for ComfyUI focused on path processing and string operations.
ZXL-Xinram/ComfyUI-AutoFlow
Nodes24
On cloudLocal install
CategoryAutoFlow/Video, AutoFlow/Utilities
Stars4
Updated8 months ago
Nodes (24)
Add Alpha Channel
AutoFlow/Video
Combine Video And Mask (One-Step)
AutoFlow/Video
Condition Assignment
AutoFlow/Utilities
Condition Checker
AutoFlow/Utilities
Export Textured Mesh
AutoFlow/Utilities
Image Resize Calculator
AutoFlow/Image
Int to List Converter
AutoFlow/Utilities/Converters
List Length
AutoFlow/Utilities/Converters
List to Int Extractor
AutoFlow/Utilities/Converters
Load Images For Loop with Background
AutoFlow/image
Load Image with Background
AutoFlow/image
Path Joiner
AutoFlow/Utilities
Path Parser
AutoFlow/Utilities
Path Validator
AutoFlow/Utilities
Save Images With Alpha
AutoFlow/Video
String Case Converter
AutoFlow/Utilities
String Concatenator
AutoFlow/Utilities
String Formatter
AutoFlow/Utilities
Multi String Concatenator
AutoFlow/Utilities
String Replacer
AutoFlow/Utilities
String Splitter
AutoFlow/Utilities
Timestamp Formatter
AutoFlow/utilities
Timestamp Generator
AutoFlow/utilities
Video To Images
AutoFlow/Video
Readme
ComfyUI-AutoFlow
A collection of utility nodes for ComfyUI focused on path processing, string operations, and video processing.
Features
Path Processing Nodes
- Path Parser: Extract directory, filename, and extension from file paths
- Path Joiner: Combine directory, filename, and extension into a complete path
- Path Validator: Validate path format and check if paths exist
String Processing Nodes
- String Concatenator: Join two strings with optional separator
- Multi String Concatenator: Join multiple strings with separator
- String Replacer: Replace text with regex and case-sensitivity options
- String Splitter: Split strings by delimiter into multiple parts
- String Formatter: Format strings using Python format syntax
- String Case Converter: Convert string case (upper, lower, title, etc.)
Video Processing Nodes 🎬 NEW!
- Video To Images: Convert video files to image sequences
- Add Alpha Channel: Add mask as alpha channel to create transparent images
- Save Images With Alpha: Save transparent PNG image sequences
- Combine Video And Mask: One-step solution to combine video and mask into transparent PNGs
✨ Key Features:
- 🔄 Dual Input Modes: Upload mode or Path mode (boolean toggle)
- 📤 Upload Button: Click to browse and upload videos directly ⭐ NEW
- 🎬 Video Preview: Loop preview in node after selection ⭐ NEW
- 📁 Flexible: Process videos from anywhere on your system
- 🚀 Batch-Friendly: Perfect for automation and batch processing
- 🎯 Easy to Use: Choose the mode that fits your workflow
📖 Documentation:
- VIDEO_ALPHA_GUIDE.md - Complete video processing guide
- VIDEO_INPUT_MODES.md - Input modes comparison and usage
- COMFYUI_FRONTEND_DEV_RULES.md - Frontend extension development rules
Installation
-
Navigate to your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes/ -
Clone this repository:
git clone https://github.com/your-username/ComfyUI-AutoFlow.git -
Restart ComfyUI
Usage
After installation, you can find all AutoFlow nodes in the node menu under the "AutoFlow" category.
Path Processing Example
-
Path Parser:
- Input:
C:\workspace\hello.png - Output: Directory:
C:\workspace\, Filename:hello, Extension:.png
- Input:
-
Path Joiner:
- Input: Directory:
C:\workspace\, Filename:hello, Extension:.png - Output:
C:\workspace\hello.png
- Input: Directory:
String Processing Example
-
String Concatenator:
- Input: String A:
Hello, String B:World, Separator: - Output:
Hello World
- Input: String A:
-
String Formatter:
- Input: Template:
{v1}_{n1:03d}.png, Value 1:image, Number 1:42 - Output:
image_042.png
- Input: Template:
Node Categories
All nodes are organized under the AutoFlow category in ComfyUI:
- AutoFlow/Utilities
- Path Parser
- Path Joiner
- Path Validator
- String Concatenator
- Multi String Concatenator
- String Replacer
- String Splitter
- String Formatter
- String Case Converter
Requirements
- ComfyUI
- Python 3.7+
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.