Comfy-Org/ComfyUIPublic

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.

AI summary: A powerful and modular node-based GUI for Stable Diffusion and other generative AI models.

Stars
124.6K
+312 today
Forks
14.8K
Watchers
767
Open issues
4K
Open PRs
429
Contributors
~334
Commits
5.7K
Branches
323

PythonGPL-3.0Created Jan 17, 2023Last push todayLatest release v0.30.0+1.6K stars this week+2K this month

Star history

since Aug 11, 2024
050K100KAug 2024Apr 2025Dec 2025Aug 2026
124.6K stars as of Aug 7, 2026, tracked back to Aug 11, 2024. Historical curve reconstructed from public GitHub event archives, calibrated to the current total.

Contribution activity

commits per day, last 52 weeks
AugSepOctNovDecJanFebMarAprMayJunJulAugMonWedFri2025-08-10: 1 commit2025-08-11: 2 commits2025-08-12: 6 commits2025-08-13: 11 commits2025-08-14: 7 commits2025-08-15: 6 commits2025-08-16: 2 commits2025-08-17: 3 commits2025-08-18: 3 commits2025-08-19: 10 commits2025-08-20: 7 commits2025-08-21: 3 commits2025-08-22: 9 commits2025-08-23: 5 commits2025-08-24: 2 commits2025-08-25: 2 commits2025-08-26: 3 commits2025-08-27: 9 commits2025-08-28: 9 commits2025-08-29: 4 commits2025-08-30: 2 commits2025-08-31: 5 commits2025-09-01: 1 commit2025-09-02: 5 commits2025-09-03: 6 commits2025-09-04: 5 commits2025-09-05: 4 commits2025-09-06: 2 commits2025-09-07: 1 commit2025-09-08: 3 commits2025-09-09: 6 commits2025-09-10: 5 commits2025-09-11: 6 commits2025-09-12: 8 commits2025-09-13: 12 commits2025-09-14: 2 commits2025-09-15: 3 commits2025-09-16: 1 commit2025-09-17: 2 commits2025-09-18: 2 commits2025-09-19: 7 commits2025-09-20: 2 commits2025-09-21: 2 commits2025-09-22: 4 commits2025-09-23: 3 commits2025-09-24: 1 commit2025-09-25: 4 commits2025-09-26: 5 commits2025-09-27: 17 commits2025-09-28: 6 commits2025-09-29: 15 commits2025-09-30: 7 commits2025-10-01: 9 commits2025-10-02: 5 commits2025-10-03: 14 commits2025-10-04: 4 commits2025-10-05: 2 commits2025-10-06: 2 commits2025-10-07: 7 commits2025-10-08: 7 commits2025-10-09: 7 commits2025-10-10: 5 commits2025-10-11: 4 commits2025-10-12: 3 commits2025-10-13: 10 commits2025-10-14: 4 commits2025-10-15: 3 commits2025-10-16: 8 commits2025-10-17: 2 commits2025-10-18: 6 commits2025-10-19: 1 commit2025-10-20: 3 commits2025-10-21: 3 commits2025-10-22: 1 commit2025-10-23: 2 commits2025-10-24: 3 commits2025-10-25: 3 commits2025-10-26: 3 commits2025-10-27: 1 commit2025-10-28: 13 commits2025-10-29: 7 commits2025-10-30: 5 commits2025-10-31: 3 commits2025-11-01: 3 commits2025-11-02: 2 commits2025-11-03: 11 commits2025-11-04: 4 commits2025-11-05: 7 commits2025-11-06: 2 commits2025-11-07: 2 commits2025-11-08: 1 commit2025-11-09: 2 commits2025-11-10: 2 commits2025-11-11: 1 commit2025-11-12: 2 commits2025-11-13: 7 commits2025-11-14: 2 commits2025-11-15: 3 commits2025-11-16: 1 commit2025-11-17: 4 commits2025-11-18: 6 commits2025-11-19: 5 commits2025-11-20: 7 commits2025-11-21: 5 commits2025-11-22: 2 commits2025-11-23: 2 commits2025-11-24: 6 commits2025-11-25: 15 commits2025-11-26: 12 commits2025-11-27: 6 commits2025-11-28: 7 commits2025-11-29: 6 commits2025-11-30: 2 commits2025-12-01: 6 commits2025-12-02: 9 commits2025-12-03: 8 commits2025-12-04: 3 commits2025-12-05: 10 commits2025-12-06: 8 commits2025-12-07: 2 commits2025-12-08: 9 commits2025-12-09: 9 commits2025-12-10: 3 commits2025-12-11: 8 commits2025-12-12: 4 commits2025-12-13: 1 commit2025-12-14: 2 commits2025-12-15: 9 commits2025-12-16: 11 commits2025-12-17: 8 commits2025-12-18: 6 commits2025-12-19: 9 commits2025-12-20: 6 commits2025-12-21: 1 commit2025-12-22: 2 commits2025-12-23: 3 commits2025-12-24: 3 commits2025-12-25: 2 commits2025-12-26: 1 commit2025-12-27: 6 commits2025-12-28: 1 commit2025-12-29: 2 commits2025-12-30: 6 commits2025-12-31: 3 commits2026-01-01: 2 commits2026-01-02: 4 commits2026-01-03: 1 commit2026-01-04: 4 commits2026-01-05: 5 commits2026-01-06: 11 commits2026-01-07: 16 commits2026-01-08: 9 commits2026-01-09: 8 commits2026-01-10: 4 commits2026-01-11: 2 commits2026-01-12: 6 commits2026-01-13: 13 commits2026-01-14: 9 commits2026-01-15: 5 commits2026-01-16: 4 commits2026-01-17: 3 commits2026-01-18: 6 commits2026-01-19: 7 commits2026-01-20: 7 commits2026-01-21: 6 commits2026-01-22: 11 commits2026-01-23: 4 commits2026-01-24: 5 commits2026-01-25: 3 commits2026-01-26: 6 commits2026-01-27: 6 commits2026-01-28: 2 commits2026-01-29: 5 commits2026-01-30: 5 commits2026-01-31: 7 commits2026-02-01: 5 commits2026-02-02: 5 commits2026-02-03: 16 commits2026-02-04: 9 commits2026-02-05: 5 commits2026-02-06: 6 commits2026-02-07: 3 commits2026-02-08: 3 commits2026-02-09: 3 commits2026-02-10: 10 commits2026-02-11: 9 commits2026-02-12: 5 commits2026-02-13: 5 commits2026-02-14: 3 commits2026-02-15: 6 commits2026-02-16: 5 commits2026-02-17: 9 commits2026-02-18: 5 commits2026-02-19: 5 commits2026-02-20: 8 commits2026-02-21: 8 commits2026-02-22: 2 commits2026-02-23: 3 commits2026-02-24: 8 commits2026-02-25: 8 commits2026-02-26: 10 commits2026-02-27: 9 commits2026-02-28: 10 commits2026-03-01: 5 commits2026-03-02: 2 commits2026-03-03: 9 commits2026-03-04: 8 commits2026-03-05: 15 commits2026-03-06: 7 commits2026-03-07: 4 commits2026-03-08: 2 commits2026-03-09: 4 commits2026-03-10: 5 commits2026-03-11: 5 commits2026-03-12: 11 commits2026-03-13: 5 commits2026-03-14: 6 commits2026-03-15: 6 commits2026-03-16: 7 commits2026-03-17: 8 commits2026-03-18: 8 commits2026-03-19: 8 commits2026-03-20: 6 commits2026-03-21: 4 commits2026-03-22: 2 commits2026-03-23: 1 commit2026-03-24: 8 commits2026-03-25: 5 commits2026-03-26: 7 commits2026-03-27: 6 commits2026-03-28: 3 commits2026-03-29: 4 commits2026-03-30: 2 commits2026-03-31: 1 commit2026-04-01: 2 commits2026-04-02: 1 commit2026-04-03: 3 commits2026-04-04: 1 commit2026-04-05: 2 commits2026-04-06: 3 commits2026-04-07: 2 commits2026-04-08: 1 commit2026-04-09: 2 commits2026-04-10: 2 commits2026-04-11: 4 commits2026-04-12: 2 commits2026-04-13: 5 commits2026-04-14: 5 commits2026-04-15: 4 commits2026-04-16: 2 commits2026-04-17: 6 commits2026-04-18: 3 commits2026-04-19: 3 commits2026-04-20: 1 commit2026-04-21: 9 commits2026-04-22: 5 commits2026-04-23: 15 commits2026-04-24: 5 commits2026-04-25: 2 commits2026-04-26: 2 commits2026-04-27: 5 commits2026-04-28: 7 commits2026-04-29: 6 commits2026-04-30: 5 commits2026-05-01: 9 commits2026-05-02: 4 commits2026-05-03: 12 commits2026-05-04: 8 commits2026-05-05: 18 commits2026-05-06: 6 commits2026-05-07: 7 commits2026-05-08: 13 commits2026-05-09: 4 commits2026-05-10: 4 commits2026-05-11: 8 commits2026-05-12: 9 commits2026-05-13: 6 commits2026-05-14: 9 commits2026-05-15: 5 commits2026-05-16: 3 commits2026-05-17: 1 commit2026-05-18: 11 commits2026-05-19: 8 commits2026-05-20: 9 commits2026-05-21: 14 commits2026-05-22: 11 commits2026-05-23: 3 commits2026-05-24: 2 commits2026-05-25: 7 commits2026-05-26: 9 commits2026-05-27: 9 commits2026-05-28: 8 commits2026-05-29: 9 commits2026-05-30: 3 commits2026-05-31: 6 commits2026-06-01: 10 commits2026-06-02: 5 commits2026-06-03: 6 commits2026-06-04: 10 commits2026-06-05: 9 commits2026-06-06: 3 commits2026-06-07: 1 commit2026-06-08: 7 commits2026-06-09: 10 commits2026-06-10: 11 commits2026-06-11: 9 commits2026-06-12: 4 commits2026-06-13: 6 commits2026-06-14: 2 commits2026-06-15: 6 commits2026-06-16: 8 commits2026-06-17: 9 commits2026-06-18: 6 commits2026-06-19: 6 commits2026-06-20: 5 commits2026-06-21: 0 commits2026-06-22: 3 commits2026-06-23: 8 commits2026-06-24: 7 commits2026-06-25: 7 commits2026-06-26: 1 commit2026-06-27: 3 commits2026-06-28: 1 commit2026-06-29: 2 commits2026-06-30: 8 commits2026-07-01: 5 commits2026-07-02: 4 commits2026-07-03: 5 commits2026-07-04: 3 commits2026-07-05: 3 commits2026-07-06: 3 commits2026-07-07: 6 commits2026-07-08: 2 commits2026-07-09: 9 commits2026-07-10: 13 commits2026-07-11: 3 commits2026-07-12: 2 commits2026-07-13: 8 commits2026-07-14: 4 commits2026-07-15: 6 commits2026-07-16: 4 commits2026-07-17: 4 commits2026-07-18: 5 commits2026-07-19: 1 commit2026-07-20: 2 commits2026-07-21: 7 commits2026-07-22: 3 commits2026-07-23: 5 commits2026-07-24: 2 commits2026-07-25: 6 commits2026-07-26: 2 commits2026-07-27: 4 commits2026-07-28: 6 commits2026-07-29: 9 commits2026-07-30: 4 commits2026-07-31: 11 commits2026-08-01: 12 commits2026-08-02: 5 commits2026-08-03: 8 commits2026-08-04: 0 commits2026-08-05: 0 commits2026-08-06: 0 commits2026-08-07: 0 commits2026-08-08: 0 commits
1,948 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Landmark project

    124,610 stars

  • Very active

    1,948 commits in 52 weeks

  • Community-driven

    ~334 contributors

  • Continuous integration

    Automated checks passing

  • Top 10% tracked

    Rank 49 of 1058

What ComfyUI does

ComfyUI provides a highly flexible, graph-based interface for designing and executing complex generative AI workflows. Instead of a rigid UI, it lets users chain together discrete nodes (loaders, samplers, latent decoders) to build custom pipelines for text-to-image, image-to-image, and video generation. It supports the latest diffusion models like SDXL, Stable Video Diffusion, and SD3, executing entirely locally without requiring internet access. The node architecture ensures that even the most complex, multi-stage generation processes can be visualized, shared, and reproduced exactly.

Advanced AI artists, researchers, and developers who need granular control over the diffusion process and want to build reproducible, custom generation workflows.

  • Node-based architecture: Allows constructing intricate generation pipelines by visually connecting discrete processing blocks.
  • Broad model support: Compatible with SD1.x, SD2.x, SDXL, SD3, Stable Video Diffusion, and various ControlNet implementations.
  • Offline execution: Runs entirely locally with no reliance on external servers or cloud APIs.
  • Workflow sharing: Pipelines can be saved as JSON files or embedded directly into generated PNG metadata for easy sharing.
  • Memory optimization: Employs aggressive VRAM management to run large models on consumer GPUs with limited memory.
  • Extensive ecosystem: Supports custom nodes written in Python, enabling the community to rapidly integrate new research and tools.

Where teams use it

Complex AI art generation

Advanced users build multi-stage pipelines involving inpainting, upscaling, and multiple ControlNets for precise image control.

Workflow reproduction

Researchers and artists share generated images where the exact pipeline is embedded in the PNG, allowing others to drag-and-drop the image to load the workflow.

Video generation experiments

Creators use nodes for Stable Video Diffusion and AnimateDiff to experiment with AI-driven video and animation.

Low-VRAM generation

Users with older GPUs utilize ComfyUI's memory management to run large models like SDXL that fail in other interfaces.

Getting started: Download the standalone release for Windows or run `git clone https://github.com/comfyanonymous/ComfyUI.git` and `pip install -r requirements.txt`.

README

master branch

ComfyUI

The most powerful and modular AI engine for content creation.

Website Dynamic JSON Badge Twitter Matrix

ComfyUI Screenshot

ComfyUI is the AI creation engine for visual professionals who demand control over every model, every parameter, and every output. Its powerful and modular node graph interface empowers creatives to generate images, videos, 3D models, audio, and more...

  • ComfyUI natively supports the latest open-source state of the art models.
  • API nodes provide access to the best closed source models such as Nano Banana, Seedance, Hunyuan3D, etc.
  • It is available on Windows, Linux, and macOS, locally with our desktop application, our portable install or on our cloud.
  • The most sophisticated workflows can be exposed through a simple UI thanks to App Mode.
  • It integrates seamlessly into production pipelines with our API endpoints.

Get Started

Local

  • The easiest way to get started.
  • Available on Windows & macOS.
  • Get the latest commits and completely portable.
  • Available on Windows.

Supports all operating systems and GPU types (NVIDIA, AMD, Intel, Apple Silicon, Ascend).

Cloud

  • Our official paid cloud version for those who can't afford local hardware.

Examples

See what ComfyUI can do with the newer template workflows or old example workflows.

Features

Workflow examples can be found on the Examples page

Release Process

ComfyUI follows a weekly release cycle targeting Monday but this regularly changes because of model releases or large changes to the codebase. There are three interconnected repositories:

  1. ComfyUI Core

    • Releases a new major stable version (e.g., v0.7.0) roughly every 2 weeks.
    • Starting from v0.4.0 patch versions will be used for fixes backported onto the current stable release.
    • Minor versions will be used for releases off the master branch.
    • Patch versions may still be used for releases on the master branch in cases where a backport would not make sense.
    • Commits outside of the stable release tags may be very unstable and break many custom nodes.
    • Serves as the foundation for the desktop release
  2. Comfy Desktop

    • Builds a new release using the latest stable core version
  3. ComfyUI Frontend

    • Every 2+ weeks frontend updates are merged into the core repository
    • Features are frozen for the upcoming core release
    • Development continues for the next release cycle

Shortcuts

Keybind Explanation
Ctrl + Enter Queue up current graph for generation
Ctrl + Shift + Enter Queue up current graph as first for generation
Ctrl + Alt + Enter Cancel current generation
Ctrl + Z/Ctrl + Y Undo/Redo
Ctrl + S Save workflow
Ctrl + O Load workflow
Ctrl + A Select all nodes
Alt + C Collapse/uncollapse selected nodes
Ctrl + M Mute/unmute selected nodes
Ctrl + B Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through)
Delete/Backspace Delete selected nodes
Ctrl + Backspace Delete the current graph
Space Move the canvas around when held and moving the cursor
Ctrl/Shift + Click Add clicked node to selection
Ctrl + C/Ctrl + V Copy and paste selected nodes (without maintaining connections to outputs of unselected nodes)
Ctrl + C/Ctrl + Shift + V Copy and paste selected nodes (maintaining connections from outputs of unselected nodes to inputs of pasted nodes)
Shift + Drag Move multiple selected nodes at the same time
Ctrl + D Load default graph
Alt + + Canvas Zoom in
Alt + - Canvas Zoom out
Ctrl + Shift + LMB + Vertical drag Canvas Zoom in/out
P Pin/Unpin selected nodes
Ctrl + G Group selected nodes
Q Toggle visibility of the queue
H Toggle visibility of history
R Refresh graph
F Show/Hide menu
. Fit view to selection (Whole graph when nothing is selected)
Double-Click LMB Open node quick search palette
Shift + Drag Move multiple wires at once
Ctrl + Alt + LMB Disconnect all wires from clicked slot

Ctrl can also be replaced with Cmd instead for macOS users

Installing

Windows Portable

There is a portable standalone build for Windows that should work for running on Nvidia GPUs or for running on your CPU only on the releases page.

Simply download, extract with 7-Zip or with the windows explorer on recent windows versions and run. For smaller models you normally only need to put the checkpoints (the huge ckpt/safetensors files) in: ComfyUI\models\checkpoints but many of the larger models have multiple files. Make sure to follow the instructions to know which subfolder to put them in ComfyUI\models\

If you have trouble extracting it, right click the file -> properties -> unblock

The portable above currently comes with python 3.13 and pytorch cuda 13.0. Update your Nvidia drivers if it doesn't start.

All Official Portable Downloads:

Portable for AMD GPUs

Portable for Intel GPUs

Portable for Nvidia GPUs (supports 20 series and above).

Portable for Nvidia GPUs with pytorch cuda 12.6 and python 3.12 (Supports Nvidia 10 series and older GPUs).

How do I share models between another UI and ComfyUI?

See the Config file to set the search paths for models. In the standalone windows build you can find this file in the ComfyUI directory. Rename this file to extra_model_paths.yaml and edit it with your favorite text editor.

You can install and start ComfyUI using comfy-cli:

pip install comfy-cli
comfy install

Manual Install (Windows, Linux)

Python 3.14 works but some custom nodes may have issues. The free threaded variant works but some dependencies will enable the GIL so it's not fully supported.

Python 3.13 is very well supported. If you have trouble with some custom node dependencies on 3.13 you can try 3.12

torch 2.5 is minimally supported but using a newer version is extremely recommended. Some features and optimizations might only work on newer versions. We generally recommend using the latest major version of pytorch with the latest cuda version unless it is less than 2 weeks old. If your pytorch is more than 6 months old, please update it.

Instructions:

Git clone this repo.

Put your SD checkpoints (the huge ckpt/safetensors files) in: models/checkpoints

Put your VAE in: models/vae

AMD GPUs (Linux)

AMD users can install rocm and pytorch with pip if you don't have it already installed, this is the command to install the stable version:

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm7.2

This is the command to install the nightly with ROCm 7.2 which might have some performance improvements:

pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/rocm7.2

AMD GPUs (Experimental: Windows and Linux), RDNA 3, 3.5 and 4 only.

These have less hardware support than the builds above but they work on windows. You also need to install the pytorch version specific to your hardware.

RDNA 3 (RX 7000 series):

pip install --pre torch torchvision torchaudio --index-url https://rocm.nightlies.amd.com/v2/gfx110X-all/

RDNA 3.5 (Strix halo/Ryzen AI Max+ 365):

pip install --pre torch torchvision torchaudio --index-url https://rocm.nightlies.amd.com/v2/gfx1151/

RDNA 4 (RX 9000 series):

pip install --pre torch torchvision torchaudio --index-url https://rocm.nightlies.amd.com/v2/gfx120X-all/

Intel GPUs (Windows and Linux)

Intel Arc GPU users can install native PyTorch with torch.xpu support using pip. More information can be found here

  1. To install PyTorch xpu, use the following command:

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/xpu

This is the command to install the Pytorch xpu nightly which might have some performance improvements:

pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu

NVIDIA

Nvidia users should install stable pytorch using this command:

pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130

This is the command to install pytorch nightly instead which might have performance improvements.

pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu132

Troubleshooting

If you get the "Torch not compiled with CUDA enabled" error, uninstall torch with:

pip uninstall torch

And install it again with the command above.

Dependencies

Install the dependencies by opening your terminal inside the ComfyUI folder and:

pip install -r requirements.txt

After this you should have everything installed and can proceed to running ComfyUI.

Others:

Apple Mac silicon

You can install ComfyUI in Apple Mac silicon (M1, M2, M3 or M4) with any recent macOS version.

  1. Install pytorch nightly. For instructions, read the Accelerated PyTorch training on Mac Apple Developer guide (make sure to install the latest pytorch nightly).
  2. Follow the ComfyUI manual installation instructions for Windows and Linux.
  3. Install the ComfyUI dependencies. If you have another Stable Diffusion UI you might be able to reuse the dependencies.
  4. Launch ComfyUI by running python main.py

Note: Remember to add your models, VAE, LoRAs etc. to the corresponding Comfy folders, as discussed in ComfyUI manual installation.

Ascend NPUs

For models compatible with Ascend Extension for PyTorch (torch_npu). To get started, ensure your environment meets the prerequisites outlined on the installation page. Here's a step-by-step guide tailored to your platform and installation method:

  1. Begin by installing the recommended or newer kernel version for Linux as specified in the Installation page of torch-npu, if necessary.
  2. Proceed with the installation of Ascend Basekit, which includes the driver, firmware, and CANN, following the instructions provided for your specific platform.
  3. Next, install the necessary packages for torch-npu by adhering to the platform-specific instructions on the Installation page.
  4. Finally, adhere to the ComfyUI manual installation guide for Linux. Once all components are installed, you can run ComfyUI as described earlier.

Cambricon MLUs

For models compatible with Cambricon Extension for PyTorch (torch_mlu). Here's a step-by-step guide tailored to your platform and installation method:

  1. Install the Cambricon CNToolkit by adhering to the platform-specific instructions on the Installation
  2. Next, install the PyTorch(torch_mlu) following the instructions on the Installation
  3. Launch ComfyUI by running python main.py

Iluvatar Corex

For models compatible with Iluvatar Extension for PyTorch. Here's a step-by-step guide tailored to your platform and installation method:

  1. Install the Iluvatar Corex Toolkit by adhering to the platform-specific instructions on the Installation
  2. Launch ComfyUI by running python main.py

ComfyUI-Manager is an extension that allows you to easily install, update, and manage custom nodes for ComfyUI.

Setup

  1. Install the manager dependencies:

    pip install -r manager_requirements.txt
  2. Enable the manager with the --enable-manager flag when running ComfyUI:

    python main.py --enable-manager

Command Line Options

Flag Description
--enable-manager Enable ComfyUI-Manager
--enable-manager-legacy-ui Use the legacy manager UI instead of the new UI (implies --enable-manager)
--disable-manager-ui Disable the manager UI and endpoints while keeping background features like security checks and scheduled installation completion (requires --enable-manager)

Running

python main.py

For AMD cards not officially supported by ROCm

Try running it with this command if you have issues:

For 6700, 6600 and maybe other RDNA2 or older: HSA_OVERRIDE_GFX_VERSION=10.3.0 python main.py

For AMD 7600 and maybe other RDNA3 cards: HSA_OVERRIDE_GFX_VERSION=11.0.0 python main.py

AMD ROCm Tips

You can try setting this env variable PYTORCH_TUNABLEOP_ENABLED=1 which might speed things up at the cost of a very slow initial run.

Notes

Only parts of the graph that have an output with all the correct inputs will be executed.

Only parts of the graph that change from each execution to the next will be executed, if you submit the same graph twice only the first will be executed. If you change the last part of the graph only the part you changed and the part that depends on it will be executed.

Dragging a generated png on the webpage or loading one will give you the full workflow including seeds that were used to create it.

You can use () to change emphasis of a word or phrase like: (good code:1.2) or (bad code:0.8). The default emphasis for () is 1.1. To use () characters in your actual prompt escape them like \( or \).

You can use {day|night}, for wildcard/dynamic prompts. With this syntax "{wild|card|test}" will be randomly replaced by either "wild", "card" or "test" by the frontend every time you queue the prompt. To use {} characters in your actual prompt escape them like: \{ or \}.

Dynamic prompts also support C-style comments, like // comment or /* comment */.

To use a textual inversion concepts/embeddings in a text prompt put them in the models/embeddings directory and use them in the CLIPTextEncode node like this (you can omit the .pt extension):

embedding:embedding_filename.pt

How to show high-quality previews?

Use --preview-method auto to enable previews.

The default installation includes a fast latent preview method that's low-resolution. To enable higher-quality previews with TAESD, download the taesd_decoder.pth, taesdxl_decoder.pth, taesd3_decoder.pth and taef1_decoder.pth and place them in the models/vae_approx folder. Once they're installed, restart ComfyUI and launch it with --preview-method taesd to enable high-quality previews.

How to use TLS/SSL?

Generate a self-signed certificate (not appropriate for shared/production use) and key by running the command: openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname"

Use --tls-keyfile key.pem --tls-certfile cert.pem to enable TLS/SSL, the app will now be accessible with https://... instead of http://....

Note: Windows users can use alexisrolland/docker-openssl or one of the 3rd party binary distributions to run the command example above.

If you use a container, note that the volume mount -v can be a relative path so ... -v ".\:/openssl-certs" ... would create the key & cert files in the current directory of your command prompt or powershell terminal.

Support and dev channel

Discord: Try the #help or #feedback channels.

Matrix space: #comfyui_space:matrix.org (it's like discord but open source).

See also: https://www.comfy.org/

psst — we're hiring! Help build ComfyUI: comfy.org/careers

Frontend Development

As of August 15, 2024, we have transitioned to a new frontend, which is now hosted in a separate repository: ComfyUI Frontend. The compiled JS files (from TS/Vue) are published to pypi and installed as a dependency in ComfyUI.

Reporting Issues and Requesting Features

For any bugs, issues, or feature requests related to the frontend, please use the ComfyUI Frontend repository. This will help us manage and address frontend-specific concerns more efficiently.

Using the Latest Frontend

The new frontend is now the default for ComfyUI. However, please note:

  1. The frontend in the main ComfyUI repository is updated fortnightly.
  2. Daily releases are available in the separate frontend repository.

To use the most up-to-date frontend version:

  1. For the latest daily release, launch ComfyUI with this command line argument:

    --front-end-version Comfy-Org/ComfyUI_frontend@latest
    
  2. For a specific version, replace latest with the desired version number:

    --front-end-version Comfy-Org/ComfyUI_frontend@1.2.2
    

This approach allows you to easily switch between the stable fortnightly release and the cutting-edge daily updates, or even specific versions for testing purposes.

QA

Which GPU should I buy for this?

See this page for some recommendations

View on GitHub

Recent activity

commits and pull requests

Recent open issues

view all

Discussions

all 1.4K

Releases and announcements

150 total
  1. v0.30.0v0.30.0Aug 3, 202620.9K downloads

    ## What's Changed * Update comfy-kitchen package version to 0.2.23 by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/15112 * Support int8 convrot embedding lookup (CORE-371) by @kijai in https://github.com/Comfy-Org/ComfyUI/pull/15035 * Load weights to process RAM with MRU policy using pinning infrastructure by @rattus128 in https://github.com/Comfy-Org/ComfyUI/pull/15027 * Add configurable DETAIL logging side channel (CORE-369) by @rattus128 in https://github.com/Comfy-Org/ComfyUI/pull/15064 * Support PrunaVAED (faster LTX2.3 decoder) by @kijai in https://github.com/Comfy-Org/ComfyUI/pull/15129 * [Dataset/Security,Feature] Add dataset folder to avoid arbitrary folder access for dataset stuff. by @KohakuBlueleaf in https://github.com/Comfy-Org/ComfyUI/pull/14807 * Fix LTXAV crash when sampling without an audio latent by @drozbay in https://github.com/Comfy-Org/ComfyUI/pull/15132 * Update comfy-kitchen to fix flux kv issue. by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/15144 * Fallback to cudnn attention on linux if flash attention doesn't work. by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/15146 * Fix user.css loading brok

  2. v0.29.2v0.29.2Jul 31, 202635.3K downloads

    Frontend fixes and new api/partner nodes. **Full Changelog**: https://github.com/Comfy-Org/ComfyUI/compare/v0.29.0...v0.29.2

  3. v0.29.0v0.29.0Jul 29, 202627.5K downloads

    ## What's Changed * fix(Video): stream the video transcode instead of buffering every frame in RAM (CORE-353) (CORE-351) by @bigcat88 in https://github.com/Comfy-Org/ComfyUI/pull/14813 * [Partner Nodes] feat(client): send ComfyUI Job Id in request headers by @alexisrolland in https://github.com/Comfy-Org/ComfyUI/pull/14934 * Update AGENTS.md by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/14955 * [feat]Add JoyImageEdit native model support by @feice-huang in https://github.com/Comfy-Org/ComfyUI/pull/14428 * [Partner Nodes] feat(OpenAI): add GPT5.6 models by @bigcat88 in https://github.com/Comfy-Org/ComfyUI/pull/14957 * Various comfy kitchen optimizations and fixes. by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/14963 * Speed up anima a bit. by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/14953 * Support anima lllite control models. by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/14954 * [Partner Nodes] feat(Google): add Gemini 3.5 Flash LLM model by @bigcat88 in https://github.com/Comfy-Org/ComfyUI/pull/14972 * chore(openapi): sync shared API contract from cloud@e964994 by @comfy-pr-bot in https://github.com

  4. v0.28.0v0.28.0Jul 15, 2026143.2K downloads

    ## What's Changed * Add AGENTS.md by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/14696 * Add some more stuff to AGENTS.md by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/14704 * Fix Qwen3-VL tokenizer crash with custom embeddings by @silveroxides in https://github.com/Comfy-Org/ComfyUI/pull/14713 * Update AGENTS.md with more stuff. by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/14725 * [Partner Nodes] chore(Ideogram): remove IdeogramV1 and IdeogramV2 nodes by @bigcat88 in https://github.com/Comfy-Org/ComfyUI/pull/14712 * Update AGENTS.md by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/14726 * security: fix four vulnerabilities (GHSA-779p-m5rp-r4h4) by @mattmillerai in https://github.com/Comfy-Org/ComfyUI/pull/14734 * Update AGENTS.md by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/14733 * [Partner Nodes] feat(ByteDance): add support for Seed Audio 1.0 by @bigcat88 in https://github.com/Comfy-Org/ComfyUI/pull/14731 * Update workflow templates to v0.11.2 by @comfyui-wiki in https://github.com/Comfy-Org/ComfyUI/pull/14741 * [Partner Nodes] chore(StabilityAI): remove StabilityAI nodes by @bigca

  5. v0.27.0v0.27.0Jun 30, 2026157.6K downloads

    The major change in this version is added support for int8 convrot models. ## What's Changed * chore(openapi): sync shared API contract from cloud@363764b by @comfy-pr-bot in https://github.com/Comfy-Org/ComfyUI/pull/14607 * [Partner Nodes] feat(Alibaba): add support for HappyHorse 1.1 model by @bigcat88 in https://github.com/Comfy-Org/ComfyUI/pull/14611 * Downgrade the template to 0.10.2 to bring the HH1.1 templates back by @comfyui-wiki in https://github.com/Comfy-Org/ComfyUI/pull/14613 * [Partner Nodes] feat(Grok): add 1080p resolution to Grok Image node by @bigcat88 in https://github.com/Comfy-Org/ComfyUI/pull/14612 * [Partner Nodes] feat(ByteDance): add 4K resolution support for SeeDance 2.0 by @bigcat88 in https://github.com/Comfy-Org/ComfyUI/pull/14614 * feat: Add support for Seed node (CORE-295) by @yousef-rafat in https://github.com/Comfy-Org/ComfyUI/pull/14616 * Add advanced krea 2 model merging node. by @comfyanonymous in https://github.com/Comfy-Org/ComfyUI/pull/14621 * chore(openapi): sync shared API contract from cloud@42eb0d1 by @comfy-pr-bot in https://github.com/Comfy-Org/ComfyUI/pull/14619 * feat: Bounding box canvas and Ideogram JSON prompt (CORE-292)

Code frequency

additions and deletions
+499.2K-499.2KWeek of 2025-08-10: +1,408 linesWeek of 2025-08-10: -459 linesWeek of 2025-08-17: +3,504 linesWeek of 2025-08-17: -929 linesWeek of 2025-08-24: +1,632 linesWeek of 2025-08-24: -235 linesWeek of 2025-08-31: +7,113 linesWeek of 2025-08-31: -4,571 linesWeek of 2025-09-07: +5,904 linesWeek of 2025-09-07: -1,161 linesWeek of 2025-09-14: +1,468 linesWeek of 2025-09-14: -108 linesWeek of 2025-09-21: +2,829 linesWeek of 2025-09-21: -1,555 linesWeek of 2025-09-28: +2,611 linesWeek of 2025-09-28: -1,708 linesWeek of 2025-10-05: +4,451 linesWeek of 2025-10-05: -2,661 linesWeek of 2025-10-12: +1,907 linesWeek of 2025-10-12: -1,747 linesWeek of 2025-10-19: +4,028 linesWeek of 2025-10-19: -3,043 linesWeek of 2025-10-26: +3,168 linesWeek of 2025-10-26: -2,431 linesWeek of 2025-11-02: +1,163 linesWeek of 2025-11-02: -2,457 linesWeek of 2025-11-09: +435 linesWeek of 2025-11-09: -213 linesWeek of 2025-11-16: +2,211 linesWeek of 2025-11-16: -343 linesWeek of 2025-11-23: +5,696 linesWeek of 2025-11-23: -2,098 linesWeek of 2025-11-30: +4,139 linesWeek of 2025-11-30: -1,576 linesWeek of 2025-12-07: +1,336 linesWeek of 2025-12-07: -417 linesWeek of 2025-12-14: +3,661 linesWeek of 2025-12-14: -1,368 linesWeek of 2025-12-21: +549 linesWeek of 2025-12-21: -387 linesWeek of 2025-12-28: +973 linesWeek of 2025-12-28: -340 linesWeek of 2026-01-04: +7,385 linesWeek of 2026-01-04: -1,292 linesWeek of 2026-01-11: +3,096 linesWeek of 2026-01-11: -199 linesWeek of 2026-01-18: +5,815 linesWeek of 2026-01-18: -3,391 linesWeek of 2026-01-25: +10,245 linesWeek of 2026-01-25: -502 linesWeek of 2026-02-01: +2,993 linesWeek of 2026-02-01: -385 linesWeek of 2026-02-08: +2,333 linesWeek of 2026-02-08: -658 linesWeek of 2026-02-15: +6,145 linesWeek of 2026-02-15: -615 linesWeek of 2026-02-22: +2,841 linesWeek of 2026-02-22: -290 linesWeek of 2026-03-01: +12,991 linesWeek of 2026-03-01: -3,449 linesWeek of 2026-03-08: +3,098 linesWeek of 2026-03-08: -1,178 linesWeek of 2026-03-15: +2,494 linesWeek of 2026-03-15: -654 linesWeek of 2026-03-22: +499,150 linesWeek of 2026-03-22: -160 linesWeek of 2026-03-29: +2,076 linesWeek of 2026-03-29: -206 linesWeek of 2026-04-05: +49,395 linesWeek of 2026-04-05: -101 linesWeek of 2026-04-12: +1,110 linesWeek of 2026-04-12: -160 linesWeek of 2026-04-19: +9,218 linesWeek of 2026-04-19: -315 linesWeek of 2026-04-26: +33,682 linesWeek of 2026-04-26: -3,278 linesWeek of 2026-05-03: +12,415 linesWeek of 2026-05-03: -1,753 linesWeek of 2026-05-10: +28,283 linesWeek of 2026-05-10: -1,379 linesWeek of 2026-05-17: +9,442 linesWeek of 2026-05-17: -878 linesWeek of 2026-05-24: +33,137 linesWeek of 2026-05-24: -4,683 linesWeek of 2026-05-31: +10,848 linesWeek of 2026-05-31: -12,422 linesWeek of 2026-06-07: +14,070 linesWeek of 2026-06-07: -8,123 linesWeek of 2026-06-14: +26,702 linesWeek of 2026-06-14: -597 linesWeek of 2026-06-21: +1,956 linesWeek of 2026-06-21: -707 linesWeek of 2026-06-28: +1,763 linesWeek of 2026-06-28: -1,603 linesWeek of 2026-07-05: +9,126 linesWeek of 2026-07-05: -486 linesWeek of 2026-07-12: +4,375 linesWeek of 2026-07-12: -222 linesWeek of 2026-07-19: +2,402 linesWeek of 2026-07-19: -264 linesWeek of 2026-07-26: +2,262 linesWeek of 2026-07-26: -525 linesWeek of 2026-08-02: +2,881 linesWeek of 2026-08-02: -74 linesAug 10, 2025Aug 2, 2026
+873.9K lines added, -80.4K removed over the last year.

Commits per week

last 52 weeks
680Week of 2025-08-10: 35 commitsWeek of 2025-08-17: 40 commitsWeek of 2025-08-24: 31 commitsWeek of 2025-08-31: 28 commitsWeek of 2025-09-07: 41 commitsWeek of 2025-09-14: 19 commitsWeek of 2025-09-21: 36 commitsWeek of 2025-09-28: 60 commitsWeek of 2025-10-05: 34 commitsWeek of 2025-10-12: 36 commitsWeek of 2025-10-19: 16 commitsWeek of 2025-10-26: 35 commitsWeek of 2025-11-02: 29 commitsWeek of 2025-11-09: 19 commitsWeek of 2025-11-16: 30 commitsWeek of 2025-11-23: 54 commitsWeek of 2025-11-30: 46 commitsWeek of 2025-12-07: 36 commitsWeek of 2025-12-14: 51 commitsWeek of 2025-12-21: 18 commitsWeek of 2025-12-28: 19 commitsWeek of 2026-01-04: 57 commitsWeek of 2026-01-11: 42 commitsWeek of 2026-01-18: 46 commitsWeek of 2026-01-25: 34 commitsWeek of 2026-02-01: 49 commitsWeek of 2026-02-08: 38 commitsWeek of 2026-02-15: 46 commitsWeek of 2026-02-22: 50 commitsWeek of 2026-03-01: 50 commitsWeek of 2026-03-08: 38 commitsWeek of 2026-03-15: 47 commitsWeek of 2026-03-22: 32 commitsWeek of 2026-03-29: 14 commitsWeek of 2026-04-05: 16 commitsWeek of 2026-04-12: 27 commitsWeek of 2026-04-19: 40 commitsWeek of 2026-04-26: 38 commitsWeek of 2026-05-03: 68 commitsWeek of 2026-05-10: 44 commitsWeek of 2026-05-17: 57 commitsWeek of 2026-05-24: 47 commitsWeek of 2026-05-31: 49 commitsWeek of 2026-06-07: 48 commitsWeek of 2026-06-14: 42 commitsWeek of 2026-06-21: 29 commitsWeek of 2026-06-28: 28 commitsWeek of 2026-07-05: 39 commitsWeek of 2026-07-12: 33 commitsWeek of 2026-07-19: 26 commitsWeek of 2026-07-26: 48 commitsWeek of 2026-08-02: 13 commitsAug 10, 2025Aug 2, 2026
1.9K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 18 commitsSun 1:00 — 39 commitsSun 2:00 — 23 commitsSun 3:00 — 31 commitsSun 4:00 — 30 commitsSun 5:00 — 18 commitsSun 6:00 — 19 commitsSun 7:00 — 14 commitsSun 8:00 — 21 commitsSun 9:00 — 16 commitsSun 10:00 — 14 commitsSun 11:00 — 22 commitsSun 12:00 — 21 commitsSun 13:00 — 34 commitsSun 14:00 — 19 commitsSun 15:00 — 35 commitsSun 16:00 — 22 commitsSun 17:00 — 30 commitsSun 18:00 — 20 commitsSun 19:00 — 17 commitsSun 20:00 — 24 commitsSun 21:00 — 17 commitsSun 22:00 — 19 commitsSun 23:00 — 16 commitsMon 0:00 — 37 commitsMon 1:00 — 31 commitsMon 2:00 — 16 commitsMon 3:00 — 27 commitsMon 4:00 — 17 commitsMon 5:00 — 12 commitsMon 6:00 — 10 commitsMon 7:00 — 6 commitsMon 8:00 — 20 commitsMon 9:00 — 12 commitsMon 10:00 — 31 commitsMon 11:00 — 33 commitsMon 12:00 — 35 commitsMon 13:00 — 40 commitsMon 14:00 — 49 commitsMon 15:00 — 38 commitsMon 16:00 — 52 commitsMon 17:00 — 51 commitsMon 18:00 — 44 commitsMon 19:00 — 50 commitsMon 20:00 — 58 commitsMon 21:00 — 37 commitsMon 22:00 — 33 commitsMon 23:00 — 35 commitsTue 0:00 — 41 commitsTue 1:00 — 45 commitsTue 2:00 — 54 commitsTue 3:00 — 39 commitsTue 4:00 — 23 commitsTue 5:00 — 20 commitsTue 6:00 — 22 commitsTue 7:00 — 20 commitsTue 8:00 — 23 commitsTue 9:00 — 23 commitsTue 10:00 — 26 commitsTue 11:00 — 44 commitsTue 12:00 — 40 commitsTue 13:00 — 52 commitsTue 14:00 — 48 commitsTue 15:00 — 32 commitsTue 16:00 — 42 commitsTue 17:00 — 54 commitsTue 18:00 — 36 commitsTue 19:00 — 50 commitsTue 20:00 — 46 commitsTue 21:00 — 50 commitsTue 22:00 — 39 commitsTue 23:00 — 51 commitsWed 0:00 — 33 commitsWed 1:00 — 42 commitsWed 2:00 — 39 commitsWed 3:00 — 31 commitsWed 4:00 — 20 commitsWed 5:00 — 18 commitsWed 6:00 — 15 commitsWed 7:00 — 16 commitsWed 8:00 — 23 commitsWed 9:00 — 20 commitsWed 10:00 — 25 commitsWed 11:00 — 31 commitsWed 12:00 — 41 commitsWed 13:00 — 38 commitsWed 14:00 — 40 commitsWed 15:00 — 42 commitsWed 16:00 — 60 commitsWed 17:00 — 53 commitsWed 18:00 — 42 commitsWed 19:00 — 49 commitsWed 20:00 — 64 commitsWed 21:00 — 49 commitsWed 22:00 — 38 commitsWed 23:00 — 26 commitsThu 0:00 — 38 commitsThu 1:00 — 35 commitsThu 2:00 — 30 commitsThu 3:00 — 26 commitsThu 4:00 — 21 commitsThu 5:00 — 21 commitsThu 6:00 — 18 commitsThu 7:00 — 23 commitsThu 8:00 — 28 commitsThu 9:00 — 22 commitsThu 10:00 — 30 commitsThu 11:00 — 38 commitsThu 12:00 — 37 commitsThu 13:00 — 42 commitsThu 14:00 — 44 commitsThu 15:00 — 52 commitsThu 16:00 — 55 commitsThu 17:00 — 51 commitsThu 18:00 — 47 commitsThu 19:00 — 65 commitsThu 20:00 — 41 commitsThu 21:00 — 54 commitsThu 22:00 — 29 commitsThu 23:00 — 28 commitsFri 0:00 — 32 commitsFri 1:00 — 24 commitsFri 2:00 — 51 commitsFri 3:00 — 32 commitsFri 4:00 — 24 commitsFri 5:00 — 21 commitsFri 6:00 — 15 commitsFri 7:00 — 15 commitsFri 8:00 — 26 commitsFri 9:00 — 14 commitsFri 10:00 — 29 commitsFri 11:00 — 35 commitsFri 12:00 — 44 commitsFri 13:00 — 41 commitsFri 14:00 — 45 commitsFri 15:00 — 39 commitsFri 16:00 — 38 commitsFri 17:00 — 44 commitsFri 18:00 — 42 commitsFri 19:00 — 38 commitsFri 20:00 — 43 commitsFri 21:00 — 50 commitsFri 22:00 — 32 commitsFri 23:00 — 31 commitsSat 0:00 — 43 commitsSat 1:00 — 44 commitsSat 2:00 — 36 commitsSat 3:00 — 31 commitsSat 4:00 — 22 commitsSat 5:00 — 18 commitsSat 6:00 — 15 commitsSat 7:00 — 14 commitsSat 8:00 — 15 commitsSat 9:00 — 15 commitsSat 10:00 — 14 commitsSat 11:00 — 41 commitsSat 12:00 — 47 commitsSat 13:00 — 28 commitsSat 14:00 — 38 commitsSat 15:00 — 40 commitsSat 16:00 — 29 commitsSat 17:00 — 36 commitsSat 18:00 — 31 commitsSat 19:00 — 41 commitsSat 20:00 — 33 commitsSat 21:00 — 23 commitsSat 22:00 — 25 commitsSat 23:00 — 14 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.
DateListRankStars gained
Jul 26, 2026daily#23+3
  • public-apis/public-apis

    A collective list of free APIs

    454.9K stars · Python

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    385.5K stars · TypeScript

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    384.4K stars · TypeScript

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    384.4K stars · TypeScript

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    384.4K stars · TypeScript

  • donnemartin/system-design-primer

    Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

    362.2K stars · Python