Comfy-Org/ComfyUI

Node-graph GUI, API and backend for diffusion models

What

Local app where you build image/video/audio generation pipelines by wiring nodes in a graph. Supports Stable Diffusion, Flux, video models and more, and exposes an API so workflows can be run from code.

How to use

Install PyTorch for your GPU, then:

bash
git clone https://github.com/Comfy-Org/ComfyUI
cd ComfyUI
pip install -r requirements.txt
python main.py   # open http://127.0.0.1:8188

Reach for it when

You want full control over a local diffusion pipeline, or need to share/reuse a workflow as a JSON graph.