ComfyUI

Open source

A modular, node-based interface and backend for building and running diffusion model workflows such as Stable Diffusion on your own machine.

comfy.org
ComfyUI homepage screenshot
GitHub stars
147k
Last 30 days
+9.3k(+7%)
Last commit
today
Repository age
3 years
Version
v0.45.0
Licence
GPL-3.0
Self-hosted
Yes

About ComfyUI

ComfyUI is an open-source application for creating images and other media with diffusion models. Instead of a fixed form, you build a workflow as a graph of connected nodes, where each node handles a step such as loading a model, encoding a prompt or sampling. It is written in Python on top of PyTorch and licensed under GPL-3.0.

The project provides a graphical interface, an API and a backend in one package. The modular design means workflows can be saved, shared and extended, and new capabilities are added through additional nodes. Because inference runs locally, users keep control over their models and outputs. The maintainers describe it more broadly as an engine for AI content creation.

The code is maintained by Comfy Org, which also runs the website at comfy.org, and releases are published on GitHub. ComfyUI suits artists, researchers and developers who want fine control over image generation pipelines and are comfortable wiring nodes together rather than using a simple prompt box.

Key features

  • Node-and-graph editor for diffusion workflows
  • Modular backend with an API
  • Local inference on your own hardware
  • Support for Stable Diffusion models
  • Reusable, shareable workflows
  • Extensible through additional nodes

Good fit for

  • Building custom Stable Diffusion pipelines
  • Automating image generation through the API
  • Experimenting with diffusion models locally
Built with
Python tools
Tags
stable-diffusion
diffusion-models
image-generation
node-based
pytorch
ai
python
workflow

ComfyUI: questions and answers

What is ComfyUI used for?
ComfyUI is a modular, node-based interface and backend for building and running diffusion model workflows such as Stable Diffusion on your own machine. It is a good fit for building custom Stable Diffusion pipelines, automating image generation through the API and experimenting with diffusion models locally.
Is ComfyUI open source?
Yes. ComfyUI is open source under the GPL-3.0 licence. Its source code is on GitHub at Comfy-Org/ComfyUI and is written mainly in Python.
Is ComfyUI free?
Yes. ComfyUI is open source, so the software itself is free to use. Paid plans are also available, starting at $20 per month.
Can I self-host ComfyUI?
Yes. ComfyUI can be self-hosted on your own server or infrastructure.
What is ComfyUI an alternative to?
ComfyUI is an open-source alternative to Midjourney, Leonardo.Ai, Adobe Firefly and Sora. Other open-source alternatives to Midjourney include SD.Next, Open Generative AI and InvokeAI.
Is ComfyUI actively maintained?
Yes. The most recent commit to ComfyUI was on 17 November 2026, and the latest release is v0.45.0, published on 10 November 2026. The project has 147k stars on GitHub, with 9.3k added in the last 30 days.

Open-source alternatives to ComfyUI

See all

SaaS alternatives to ComfyUI

See all