Skip to content
PrivateInverterPublic

About

Node-based GUI, API and backend for diffusion models. Build image, video and audio pipelines on a graph and run them 100% locally on Windows. Fast, modular, reproducible.

Topics

Resources

Stars

215 stars

Watchers

2 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

ComfyUI

The node-based engine for local AI generation.

Build image, video and audio pipelines by wiring nodes together — no cloud, no per-image fees, full control over every step of the graph.

Version License Platform

Download

English · Deutsch · Français


What is ComfyUI?

ComfyUI is a graph editor for diffusion models. Instead of a form with twelve sliders, you get a canvas: load a checkpoint, encode a prompt, sample, decode, save. Every step is a node you can replace, chain or reuse. The result is a workflow file you can share and automate.

Features

  • 🧩 Node graph — 200+ built-in nodes, drag-and-drop, groups, reroutes, subgraphs
  • 🎛 Model support — SD 1.5, SDXL, SD3, Flux, Chroma, video and audio diffusion models
  • ⚡ Fast local inference — optimized attention, fp8/gguf quantisation, torch.compile
  • 🖥 Any GPU — CUDA, ROCm and DirectML on Windows; CPU fallback for testing
  • 🔁 Reproducible — every workflow saves as a portable .json with seeds and settings
  • 🔌 Ecosystem — 1 000+ community node packs via ComfyUI-Manager
  • 🌐 API — POST /prompt, WebSocket progress events, /history, /view
  • 📦 Self-contained — the portable build needs no Python installation

Download

Format File Best for
Installer ComfyUI-Desktop-Setup-0.7.4.exe Normal install, Start menu shortcut, bundled runtime
Portable ComfyUI-0.7.4-portable.zip Moving between drives, no installation, keep models on an external disk

Get the latest build: Releases →

Install

Installer

  1. Download ComfyUI-Desktop-Setup-0.7.4.exe and run it.
  2. The installer unpacks the runtime next to the app and creates a shortcut.
  3. Launch ComfyUI. The first start offers a default model pack (~2.4 GB).

Portable

  1. Download ComfyUI-0.7.4-portable.zip (about 480 MB).
  2. Unpack to a folder with at least 30 GB free for models.
  3. Run ComfyUI.exe inside the folder.

Windows may show "Windows protected your PC" for unsigned installers — choose More info → Run anyway.

Models

Drop checkpoints into models/checkpoints, VAEs into models/vae, LoRAs into models/loras. The app detects new files on refresh — no restart needed.

ComfyUI/
└── models/
    ├── checkpoints/
    ├── clip/
    ├── clip_vision/
    ├── controlnet/
    ├── loras/
    ├── upscale_models/
    └── vae/

First workflow

  1. Load Checkpoint → CLIP Text Encode (positive) → KSampler → VAE Decode → Save Image
  2. Add a second CLIP Text Encode for the negative prompt and plug it into negative.
  3. Press Queue. The preview appears in the panel on the right.
  4. Export with Workflow → Save — the JSON contains the full graph, share it anywhere.

Custom nodes

Open Manager → Install Custom Nodes inside the app. Missing nodes in a shared workflow are listed with a one-click install.

API

import json, urllib.request

prompt = json.load(open("workflow_api.json"))
req = urllib.request.Request(
    "http://127.0.0.1:8188/prompt",
    data=json.dumps({"prompt": prompt}).encode(),
    headers={"Content-Type": "application/json"},
)
print(urllib.request.urlopen(req).read())

Progress is streamed over ws://127.0.0.1:8188/ws?clientId=<id>.

FAQ

Which GPU do I need? Anything with 6 GB of VRAM handles SD 1.5 and most SDXL workflows at 1024×1024. Flux and video models are comfortable from 12–16 GB. AMD cards work via DirectML on Windows; CPU mode works but is 10–30× slower.
The app says a node is missing after loading a workflow. Install ComfyUI-Manager, open the workflow, and confirm the auto-detected list. Nodes are matched by class name; renaming a custom node breaks old workflows.
Where are my outputs and inputs? `output/` and `input/` inside the ComfyUI folder. The portable build keeps them next to the executable so you can move the whole folder to another drive.
Windows shows “Windows protected your PC”. The installer is not code-signed. Choose **More info → Run anyway**.
Can I run it on a laptop without a dedicated GPU? Yes, the app falls back to CPU. Expect roughly 10–30× slower sampling; fine for testing graphs, not for batches.
How much disk space do I need? The app itself is under 1 GB. Models are the real cost: a single Flux or SDXL checkpoint starts at 6 GB, and most users end up with 30–100 GB of models.

Feedback

Report bugs or share workflows in Issues and Discussions. A minimal workflow JSON attached to the report speeds up every fix.

License

GPL-3.0. Based on the original ComfyUI project by comfyanonymous and contributors.


🇩🇪 Deutsch

ComfyUI — Node-Editor für lokale KI-Generierung.

Bilder, Videos und Audio als Graph aufbauen: Checkpoint laden, Prompt kodieren, samplen, speichern. Jeder Schritt ist ein Knoten, den du austauschen oder wiederverwenden kannst. Läuft komplett lokal.

Funktionen

  • 🧩 Über 200 integrierte Nodes, Gruppen, Subgraphs
  • 🎛 SD 1.5, SDXL, SD3, Flux sowie Video- und Audiomodelle
  • ⚡ Schnelle lokale Inferenz, fp8/gguf-Quantisierung
  • 🔌 1 000+ Community-Node-Pakete über den Manager
  • 🌐 REST- und WebSocket-API für Automatisierung

Installation

  1. Installer oder portables ZIP von den Releases laden.
  2. Installer ausführen bzw. ZIP entpacken und ComfyUI.exe starten.
  3. Beim ersten Start optional das Standard-Modellpaket herunterladen.

Falls Windows „Windows hat den PC geschützt“ meldet: Weitere Informationen → Trotzdem ausführen.

⬆️ English · Français


🇫🇷 Français

ComfyUI — éditeur nodal pour la génération IA locale.

Construisez vos pipelines image, vidéo et audio en reliant des nœuds : checkpoint, encodage du prompt, échantillonnage, sauvegarde. Chaque étape est un nœud remplaçable. Tout tourne en local.

Fonctionnalités

  • 🧩 Plus de 200 nœuds intégrés, groupes et sous-graphes
  • 🎛 SD 1.5, SDXL, SD3, Flux, modèles vidéo et audio
  • ⚡ Inférence locale rapide, quantification fp8/gguf
  • 🔌 Plus de 1 000 packs de nœuds communautaires via le Manager
  • 🌐 API REST et WebSocket pour l'automatisation

Installation

  1. Téléchargez l'installateur ou le ZIP portable depuis les Releases.
  2. Lancez l'installateur, ou décompressez le ZIP et ouvrez ComfyUI.exe.
  3. Au premier lancement, le pack de modèles par défaut est proposé au téléchargement.

Si Windows affiche « Windows a protégé votre PC » : Informations complémentaires → Exécuter quand même.

⬆️ English · Deutsch

About

Node-based GUI, API and backend for diffusion models. Build image, video and audio pipelines on a graph and run them 100% locally on Windows. Fast, modular, reproducible.

Topics

Resources

Stars

215 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors