ComfyUI Extension: InitialB Util
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
ComfyUI Custom Node Package with Logic Nodes, Sigma Utilities, Text Tools, and Image Collage
Looking for a different extension?
Custom Nodes (0)
README
InitialB Util for ComfyUI
InitialB Util is a ComfyUI custom node package that provides various utility nodes for workflow automation, logic operations, sigma manipulation, text processing, image collage creation, and flow control.
✨ Features
Core Features
- 🖱️ Interactive Graph Editor: Add, move, or delete control points directly on the node's graph
- 🟦 Smooth Catmull-Rom Spline: Uses centripetal Catmull-Rom spline for smooth interpolation
- 📤 Export Schedules as Tensors: Outputs sigma value tensors for use in sampling pipelines
- 👀 Visual Feedback: Live preview of curves and control points
- 🎲 Seed Support: Reproducible results with seed input/output
- 🖼️ Collage Creation: Combine multiple images with directional control
- 🔄 Flow Control: For loops and while loops for iterative workflows
Node Collection
Sigma Utilities
- 📈 Custom Graph Sigma: Main interactive curve editor with 12+ presets
- 🔗 Sigma Joiner: Combine multiple sigma schedules with blend modes
- 📏 Sigma Scaler: Scale and transform sigma values
- 🔍 Sigma Analyzer: Get detailed statistics about sigma schedules
- 🎚️ Denoising Strength Modifier: Control denoising for img2img workflows
- 📋 Preset Sigma Generator: Quick access to common schedules
Logic Nodes
- 🔬 Compare: Compare two values with various operators (==, !=, <, >, <=, >=)
- 🔬 Int/Float/String/Bool: Data type nodes for handling different value types
- 🔬 If ANY return A else B: Conditional execution based on boolean
- 🔬 DebugPrint: Print any input to console for debugging
Text Tools
- 📝 Multi-Line String: Input multiline text and output as single string
- 🔗 String Joiner: Join multiple strings with configurable separator
Flow Control
- 🔄 For Loop Start/End: Execute nodes in a loop with iteration counting
- 🔁 While Loop Start/End: Execute nodes while condition is true
- 📊 Range Int: Generate integer sequences (start, stop, step)
- 🔢 Math Int: Integer math operations (add, subtract, multiply, divide, modulo, power)
📦 Installation
Method 1: ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Search for "InitialB Util"
- Click Install
Method 2: Manual Installation
cd ComfyUI/custom_nodes/
git clone https://github.com/yourusername/comfyui_InitialB_Util.git
cd comfyui_InitialB_Util
pip install -r requirements.txt
Method 3: Download ZIP
- Download the ZIP file from releases
- Extract to
ComfyUI/custom_nodes/comfyui_InitialB_Util/ - Restart ComfyUI
🎯 Node Reference
Sigma Utility Nodes
See earlier sections for sigma utility documentation.
Logic Nodes
See earlier sections for logic nodes documentation.
Text Tool Nodes
See earlier sections for text tools documentation.
Image Collage Nodes
See earlier sections for image collage documentation.
Flow Control Nodes
🔄 For Loop
Execute a set of nodes multiple times with incrementing index.
For Loop Start:
- Inputs:
total: Number of iterations (1-10000)value1-5: Optional values to pass through loop
- Outputs:
flow: Flow control connectionindex: Current iteration number (0-based)value1-5: Passed-through values
For Loop End:
- Inputs:
flow: Connection from For Loop Startvalue1-5: Values from loop body
- Outputs:
value1-5: Final values after loop completion
Usage:
[For Loop Start: total=5] → [Your Nodes] → [For Loop End]
↓ ↑
index=0,1,2,3,4 ↓
(auto-increments)
🔁 While Loop
Execute nodes while a condition is true.
While Loop Start:
- Inputs:
condition: Boolean to continue loopvalue0-4: Values to pass through (5 carriers)
- Outputs:
flow: Flow control connectionvalue0-4: Passed-through values
While Loop End:
- Inputs:
flow: Connection from While Loop Startcondition: Boolean to continue or exitvalue0-4: Values from loop body
- Outputs:
value0-4: Final values after loop exits
Usage:
[While Loop Start] → [Your Nodes] → [Compare/Condition] → [While Loop End]
↓ ↑
(pass values) (check condition)
📊 Range Int
Generate a sequence of integers.
Inputs:
start: Starting value (default: 0)stop: Ending value (exclusive, default: 10)step: Step size (default: 1)
Outputs:
values: List of integers from start to stop with step
Example:
- start=0, stop=10, step=2 → [0, 2, 4, 6, 8]
🔢 Math Int
Perform integer mathematical operations.
Inputs:
a: First integerb: Second integeroperation: Math operation (add, subtract, multiply, divide, modulo, power)
Outputs:
result: Result of the operation
Operations:
add: a + bsubtract: a - bmultiply: a * bdivide: a // b (integer division)modulo: a % bpower: a ** b
🎨 Usage Guide
For Loop Example
[For Loop Start: total=10]
↓
[index: 0-9]
↓
[Generate Image per iteration]
↓
[For Loop End] → [Final Output]
While Loop Example
[While Loop Start: condition=True]
↓
[Process Data]
↓
[Compare: check if done] → [While Loop End]
↓
(exit when condition=False)
Combining Flow Control
[Range Int: 0-100, step=10] → [For Loop Start]
↓
[Process Each]
↓
[For Loop End]
📝 Requirements
- Python 3.9+
- PyTorch
- NumPy
- SciPy
- Pillow
- ComfyUI (with dynamic execution graph support for loops)
📄 License
MIT License
🤝 Credits
- InitialB Util package structure and architecture
- Logic nodes based on ComfyUI-Logic by theUpsider
- Flow control patterns inspired by ComfyUI-Easy-Use yolain
- Sigma functionality from original work by JoeNavark
📮 Support
For issues and feature requests, please open an issue on GitHub.
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.