ComfyUI Extension: ComfyUI Prepack
A small, practical bundle of ComfyUI nodes that streamlines common workflows.
Custom Nodes (0)
README
ComfyUI-Prepack
Version: 1.6.0
A comprehensive workflow optimization toolkit for ComfyUI, providing essential nodes for model management, sampling control, and workflow enhancement with professional-grade reliability.
🚀 Features
Model Management
- đź’€Prepack Model DualCLIP - Load models with dual CLIP encoders
- đź’€Prepack Model SingleCLIP - Load models with single CLIP encoder
- đź’€Prepack Loras - Apply up to 3 LoRA adapters with text document integration
- đź’€Prepack Loras and MSSD3 - LoRA management with MSSD3 support
Sampling Control
- đź’€Prepack Ksampler - Enhanced KSampler with optimized parameters
- đź’€Prepack Ksampler Advanced - Advanced sampling control with additional options
- đź’€Prepack Seed - Smart seed management with random generation and history tracking
Workflow Management
- đź’€Prepack SetPipe - Set and store workflow pipeline states (now includes LoRA path support)
- đź’€Prepack GetPipe - Retrieve and use stored pipeline states (now includes LoRA path output)
Logic Operations
- đź’€Prepack Logic Int - Integer logic operations and comparisons
- đź’€Prepack Logic String - String logic operations and manipulations
Integer Operations
- đź’€Prepack Int Combine - Combine up to 4 integers into a string with selectable separator
- đź’€Prepack Int Split - Split a string into up to 4 integers using selectable separator
Math Operations
- đź’€Prepack Calculator - Evaluate mathematical expressions with variables a, b, c, d. Supports custom formulas like
(a*c)+d/2. Outputs both integer and float results
File Management
- đź’€Save By File Name - Smart file saving with format preservation and custom naming. Supports images (WebP, JPEG, PNG, GIF), videos (MP4, AVI), and text files with automatic format detection
Workflow Tools
- đź’€Export Workflow as PNG - Export complete workflow as PNG image with embedded workflow data or image only. Accessible via right-click canvas menu
📦 Installation
Method 1: ComfyUI Manager (Recommended)
- Open ComfyUI Manager
- Search for "Prepack"
- Click Install
- Restart ComfyUI
Method 2: Manual Installation
- Navigate to your ComfyUI custom_nodes directory:
cd ComfyUI/custom_nodes/ - Clone this repository:
git clone https://github.com/S4MUEL-404/ComfyUI-Prepack.git - Install dependencies (minimal requirements):
pip install -r ComfyUI-Prepack/requirements.txt - Restart ComfyUI
đź”§ Dependencies
This package has minimal dependencies and uses built-in ComfyUI functionality:
- PyTorch - Core tensor operations (usually already available)
- NumPy - Numerical computations (usually already available)
All dependencies are typically already available in standard ComfyUI installations.
đź“– Usage
- Find Nodes: All Prepack nodes are prefixed with đź’€ in the ComfyUI node browser
- Categories: Look under "đź’€Prepack" category
- Professional Quality: All nodes include comprehensive error handling
- Smart Features: Advanced UI controls with JavaScript extensions
Quick Start Example
- Add any Prepack node to your workflow
- Configure node parameters
- Connect to your existing workflow
- Execute workflow with enhanced control
🎯 Key Features
- âś… Workflow Optimization - Streamlined model and sampling management
- âś… Smart UI Controls - Enhanced interfaces with JavaScript extensions
- âś… LoRA Integration - Advanced LoRA management with text document support
- âś… Pipeline Management - Store and retrieve workflow states efficiently
- âś… Seed Management - Smart seed control with history tracking
- âś… Logic Operations - Comprehensive logic and comparison tools
- âś… File Management - Smart file saving with format preservation and custom naming
- âś… Workflow Export - Export workflow as PNG with embedded data support
🤝 Contributing
Contributions are welcome! Please feel free to submit pull requests or report issues.
📜 License
This project is open source. Please respect the licensing terms.
Author: S4MUEL
Website: s4muel.com
GitHub: https://github.com/S4MUEL-404/ComfyUI-Prepack
Version: 1.6.0