4189bc62ea805fcb7fdd0da4596c025ed2917e36
- Add WARP.md documentation - Add saveByFileName.py node for file saving functionality - Update README files with latest version info - Update __init__.py and requirements.txt
ComfyUI-Prepack
Version: 1.3.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
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
📦 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
📁 Project Structure
ComfyUI-Prepack/
├── py/ # Core node implementations
│ ├── getpipe.py # Pipeline retrieval
│ ├── setpipe.py # Pipeline storage
│ ├── seed.py # Seed management
│ ├── loras.py # LoRA management
│ ├── ksampler.py # Basic sampling
│ ├── ksamplerAdvanced.py # Advanced sampling
│ ├── modelDualCLIP.py # Dual CLIP models
│ ├── modelSingleCLIP.py # Single CLIP models
│ ├── logicInt.py # Integer logic
│ ├── logicString.py # String logic
│ ├── intCombine.py # Integer combination
│ ├── intSplit.py # Integer splitting
│ └── saveByFileName.py # Smart file saving
├── js/ # JavaScript UI extensions
│ ├── seed.js # Seed management UI
│ ├── loraText.js # LoRA text integration
│ └── setgetnodes.js # Pipeline node UI
├── summary_md/ # Documentation and summaries
├── __init__.py # Plugin initialization
└── requirements.txt # Minimal dependencies
🤝 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
Version: 1.3.0
Languages
Python
62.2%
JavaScript
37.8%