https://github.com/l3lackcurtains/comfy_ui_backend
🌟 Comfy API Backend A Python-powered API backend featuring a custom Comfy UI 🖥️, seamlessly integrated with 🐳 Docker and ☸️ Kubernetes for modern containerization and orchestration. Scalable, reliable, and built for efficient deployment—perfect for robust backend solutions!
https://github.com/l3lackcurtains/comfy_ui_backend
comfyui docker fastapi kubernetes python
Last synced: 2 months ago
JSON representation
🌟 Comfy API Backend A Python-powered API backend featuring a custom Comfy UI 🖥️, seamlessly integrated with 🐳 Docker and ☸️ Kubernetes for modern containerization and orchestration. Scalable, reliable, and built for efficient deployment—perfect for robust backend solutions!
- Host: GitHub
- URL: https://github.com/l3lackcurtains/comfy_ui_backend
- Owner: l3lackcurtains
- Created: 2025-04-16T06:25:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-30T00:15:38.000Z (about 1 year ago)
- Last Synced: 2025-04-30T20:59:00.683Z (about 1 year ago)
- Topics: comfyui, docker, fastapi, kubernetes, python
- Language: Python
- Homepage:
- Size: 4.25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ComfyUI Setup Guide
## Quick Start
1. Clone and install:
```bash
git clone https://github.com/comfyanonymous/ComfyUI
cd ComfyUI
pip install -r requirements.txt
python main.py
```
2. Access UI at: http://localhost:8188
## Model Directories
Place your models in these folders:
- `models/checkpoints/`: Model checkpoints (`.safetensors`, `.ckpt`)
- `models/vae/`: VAE models
- `models/loras/`: LoRA models
- `models/embeddings/`: Embeddings
- `models/controlnet/`: ControlNet models
- `models/upscale_models/`: Upscale models
## Docker Quick Start
```bash
# Using Docker Compose (Recommended)
docker compose up -d
# Access Points
ComfyUI: http://localhost:8188
API: http://localhost:8787
```
## System Requirements
- Python 3.10+
- NVIDIA GPU (recommended) or CPU
- ~10GB disk space
## Common Issues
### NVIDIA CUDA Setup
```bash
pip uninstall torch
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
```
### Deploy in GCP
```bash
gcloud auth configure-docker
docker login gcr.io
docker build -t comfy-image-generation .
docker tag comfy-image-generation gcr.io/citric-lead-450721-v2/comfy-image-generation:1.0.7
docker push gcr.io/citric-lead-450721-v2/comfy-image-generation:1.0.7
```