ComfyUI
AI Images & VideoNode-based image and video generation that runs on your own GPU.
ComfyUI is a node-based interface for running image and video generation models on your own GPU. You build a workflow by connecting nodes for loading a model, writing prompts, sampling and saving, so every step is visible and reusable. It supports Stable Diffusion and SDXL, newer image models, video models such as Wan, upscalers, ControlNet and a large ecosystem of custom nodes with a built-in manager. Workflows are saved as JSON and everything runs locally, so prompts and images stay on your network. It is a self-hosted alternative to paid image-generation services.
Compatibility
Proof of Work Gallery
- Workflow
- Result
- Resource usage
Deployment
# ComfyUI has no official Docker image. We run it natively in an LXC as a
# systemd service from a Python venv in /opt/ComfyUI (this is our real unit).
# /etc/systemd/system/comfyui.service
[Unit]
Description=ComfyUI
After=network.target
[Service]
User=root
WorkingDirectory=/opt/ComfyUI
ExecStart=/opt/ComfyUI/venv/bin/python /opt/ComfyUI/main.py --listen --port 8188 --disable-pinned-memory
Restart=on-failure
# Keep a runaway job from taking the whole host down.
MemoryMax=13G
MemorySwapMax=0
[Install]
WantedBy=multi-user.target
Alternative to
Midjourney, DALL-E, Runway