Skip to content
AIRepoHub

ComfyUI

by Comfy-Org

Node-based interface and backend for diffusion image and video workflows.

Image GenerationVideo GenerationPythonGPL-3.0 licenseApp
Stars
148,724
stars
Forks
18k
forks
Last push
today
Activity
Active
ComfyUI: quick start
# Install with comfy-cli$ pip install comfy-cli && comfy install# Or install manually (after PyTorch)$ git clone https://github.com/Comfy-Org/ComfyUI.git
cd ComfyUI
pip install -r requirements.txt
python main.py

Commands from the project's README. Run them after installing (see below).

Overview

Understand ComfyUI in 60 seconds

What it does
ComfyUI is a node-based app for generating images, video, audio and 3D with open AI models like Stable Diffusion, Flux and Wan. You build a workflow by connecting nodes on a canvas, giving you control over every model, parameter and output.
The problem it solves
Simple image generators hide the steps behind one prompt box, which limits control. ComfyUI exposes the whole pipeline as a reusable graph and is optimised to run large models on consumer hardware.
Why choose it
Choose it for maximum control and the broadest open model support. Beginners should start with Comfy Desktop, the recommended installer for Windows and macOS.
Who should use it
  • Artists and designers generating images and video
  • Visual professionals who need fine control
  • Developers building generation pipelines with an API
  • Hobbyists running open models locally
Setup difficulty

You'll need:

  • Windows, Linux or macOS
  • A GPU; the README says big models can run on as little as 4 GB VRAM and 8 GB RAM
  • For manual installs: Python 3.13 (3.14 works) and a recent PyTorch

How ComfyUI works

Workflows are visual node graphs for image, video, audio, 3D and text generation. ComfyUI natively supports models such as Stable Diffusion 1.5, SDXL, SD3.5, Flux, Qwen Image, Wan 2.1 and 2.2, LTX-Video and Hunyuan3D, with templates in the workflow library.

It runs fully offline by default, re-executes only the parts of a graph that changed, manages VRAM and RAM smartly, and supports LoRAs, ControlNets, inpainting, upscaling and more. Any image or video made with ComfyUI can be dragged back onto the canvas to recover the full workflow, seeds included.

You can install Comfy Desktop, the Windows Portable build, comfy-cli, or install manually after PyTorch. Custom nodes are managed through ComfyUI-Manager. There's also Comfy Cloud, a Developer Platform for API endpoints, and optional paid API nodes for closed models.

Features

Key features

Node graph workflows

Build reusable pipelines without code.

Broad model support

Image, video, audio, 3D and text models.

Low VRAM

Weight streaming for big models on small GPUs.

Offline by default

Core downloads nothing unless you ask.

Workflow in every output

Drop an image back in to recover its workflow.

Custom nodes and API

Extend it and call it from apps.

Strengths

  • Most flexible open-source generation tool
  • Very well optimised for consumer GPUs
  • Huge custom node ecosystem
  • Runs on Windows, Linux and macOS

Limitations

  • Node graphs take time to learn
  • Manual installs need the right PyTorch version
  • Custom nodes can cause problems

Practical use cases

Image generation

Text-to-image with SDXL or Flux.

Video generation

Create clips with Wan or LTX-Video.

Production pipelines

Expose workflows through the API.

Installation

Install ComfyUI

Based on official documentation

Commands come from ComfyUI's README. AIRepoHub hasn't run them yet. Steps are as of Nov 25, 2026; projects change often, so if a command doesn't work, check the project's latest README. View source

Prerequisites

  • A GPU
  • Python 3.13 and PyTorch for manual installs

Supported systems

  • Windows
  • macOS
  • Linux
  1. 1

    Download Comfy Desktop

    The easiest way to start on Windows and macOS, from comfy.org/download.

  1. 1

    Install the CLI and ComfyUI

    Shell
    pip install comfy-cli && comfy install
  1. 1

    Install PyTorch for your GPU

    See docs/installation.md for NVIDIA, AMD, Intel Arc and Apple Silicon commands. NVIDIA 20 series and newer need cu130 or above.

  2. 2

    Clone and install

    Shell
    git clone https://github.com/Comfy-Org/ComfyUI.gitcd ComfyUIpip install -r requirements.txt
  3. 3

    Start ComfyUI

    Shell
    python main.py

Configuration and API keys

SettingWhat it's for

First run

  1. 1

    Add a model

    Put checkpoints in models/checkpoints and VAEs in models/vae.

  2. 2

    Start ComfyUI

    Shell
    python main.py

ComfyUI's documentation doesn't include sample output, so we don't show any. Expect the results in your terminal.

Your first project

Generate your first image

Run ComfyUI and generate an image from a ready-made workflow template.

Before you start

  • ComfyUI installed
  • A model checkpoint, such as an SDXL model
  1. 1

    Place the model

    Copy the checkpoint into models/checkpoints.

  2. 2

    Start ComfyUI

    Shell
    python main.py
  3. 3

    Load a template

    Open a text-to-image template from the workflow library, choose your checkpoint and run the queue.

What to expect

ComfyUI generates the image, which also stores the full workflow so you can drag it back onto the canvas later.

Next steps

  • Install custom nodes with ComfyUI-Manager
  • Try a video workflow such as Wan
  • Use the local API to automate workflows

Costs and requirements

What it costs to run

License
GPL-3.0.Free
Local use
Free and runs offline.Free
Comfy Cloud and API nodes
Optional paid services for cloud running and closed models.Depends

Troubleshooting

Common setup issues

Slow on NVIDIA

Make sure PyTorch is cu130 or higher.

Source: README.md

Slow with GGUF models

The README advises removing GGUF nodes and models and using native formats like convrot int8 or w6a8 instead.

Source: README.md

Crashes or errors after adding nodes

Start with --disable-all-custom-nodes, or temporarily rename the custom_nodes folder.

Source: README.md

Performance flags made things worse

Remove all command line flags; the README says claimed speed-up flags do the opposite.

Source: README.md

Alternatives

Similar AI repositories