A comprehensive toolkit for standardizing, packaging and deploying ComfyUI workflows as reproducible environments and production-ready REST services.
- Package Everything: Create reproducible
.cpack.zip
files containing your workflow, custom nodes, model versions, and all dependencies - Standardize Parameters: Define and validate workflow inputs through UI nodes for images, text, numbers and more
- CLI Support: Restore environment and run inference from command line
- REST API Generation: Auto-convert any workflow into REST service with OpenAPI docs
pip install comfy-pack
- Install ComfyPack custom nodes in ComfyUI
- Design your workflow with parameter nodes
- Click "Package" button to create
.cpack.zip
# Restore environment from pack, will install everything needed except the models.
comfy-pack restore workflow.cpack.zip --dir ./
# Get the workflow input spec
comfy-pack info workflow.cpack.zip
# Run
comfy-pack run workflow.cpack.zip --src-image image.png --video video.mp4
under development
ComfyPack provides custom nodes for standardizing inputs:
- ImageInput
- StringInput
- IntInput
- AnyInput
- ImageOutput
- FileOutput
- ...
These nodes help define clear interfaces for your workflow.
Under development
Check our examples folder for:
- Basic workflow packaging
- Parameter configuration
- API integration
- Docker deployment
MIT License
- Issues & Feature Requests: GitHub Issues
- Questions & Discussion: Discord Server
Detailed documentation: under development