Comfy-Org /
ComfyUI
Node-graph app for generating images, video, audio and 3D with local AI models
- 142.1k stars
- 6.2k stars since 3 Oct
- Python
- Updated today
- Some experience
- Image, video & audio
Running diffusion models usually means writing scripts or using a fixed web form. ComfyUI replaces that with a canvas where each step (load a model, encode a prompt, sample, upscale, save) is a node, and you connect nodes with wires to build a workflow.
Because the workflow is a graph, you can reuse parts, swap models, and re-run only the pieces that changed. The README says it manages VRAM and RAM carefully, offloads models, and supports quantized ones, so large open models can run on modest GPUs; it claims as little as 4GB VRAM with 8GB RAM. That is the project's own claim, so expect speed to vary.
It supports many open models natively, covering Stable Diffusion, SDXL, Flux, Wan, LTX-Video and others. Optional paid partner nodes reach closed models, and an --offline flag turns those off. Workflows save as JSON, can be exposed as simple apps through App Mode, and can be called through a local API. It runs on Windows, Linux and macOS, with a desktop app, a manual install, and a paid cloud option.
What it does
Visual node graph
Build and reuse image, video, audio, 3D and text workflows by wiring nodes together. Workflows save and load as JSON, and can be recovered from supported generated media.
Efficient local execution
Asynchronous queueing, partial graph re-execution, smart VRAM and RAM management, model offloading and quantized model support are all described in the README.
Wide native model support
Covers image generation and editing, video, audio, 3D and vision models, and text models like Gemma and Qwen. It loads checkpoints, LoRAs, ControlNets, VAEs and upscalers.
Built-in editing tools
Includes inpainting, outpainting, masks and compositing, model merging, upscaling, frame interpolation, segmentation and depth estimation.
API, App Mode and offline use
Workflows can be exposed through a simple UI or called via API endpoints. Core runs fully offline, and custom nodes extend it.
What you could build
- Generate images from text prompts with Stable Diffusion, SDXL or Flux on your own GPU.
- Build a video generation pipeline with models such as Wan or LTX-Video.
- Edit photos with inpainting, outpainting, upscaling and background removal.
- Wrap a finished workflow in App Mode so non-technical teammates can use it.
- Call workflows through the API from a production pipeline or application.
Get started
The easiest route is the desktop app for Windows or macOS, downloaded from comfy.org/download. A Windows portable build and a manual install for other systems and GPU types are also available. The README excerpt gives no commands.
Commands are copied from the project's README. Read it on GitHub for the full setup.
Anything better than ComfyUI?
ComfyUI is the strongest pick for local generative media: it has far more adoption, supports images, video, audio and 3D, and offers deep control plus an API. Look at InvokeAI if you only make images and want a more polished, canvas-centered tool.
-
InvokeAIAlternative
Choose it if you mainly generate and edit still images and want a polished canvas-based editor, with the node workflow editor as a secondary option.
Trade-off: You get less breadth (no real video, audio or 3D focus), a much smaller community and fewer cutting-edge model integrations.
-
Pixelle-VideoAlternative Choose it if you just want a finished short video from a topic, with script, voice and music handled automatically, rather than building pipelines. Trade-off: You give up fine control over models and parameters, and it is narrower and was last updated in June 2026.
More in Image, video & audio
VoiceStudio
Desktop app for cloning voices, dubbing video and dictating, run on your own machine
voicebox
Local voice studio for cloning voices, generating speech and dictating into any app
upscayl
Desktop app that enlarges low-resolution images using AI, on Linux, macOS and Windows