Open-source AI image generators: run Stable Diffusion (2026)
Our pick
Start with InvokeAI if you want a local image generator you install by downloading a launcher. It is a web interface with a canvas for refining images and a workflow builder, and it is Apache-2.0 licensed. The table shows its last commit and latest release, and how the other tools compare.
Best for
- Building your own workflows from nodes
Comfy-Org/ComfyUIA node graph interface for images, video and other media. It runs on Windows, Linux and macOS, with a desktop installer for Windows and macOS. It is GPL-3.0 licensed.
- A simple Generate tab with a node graph behind it
mcmonkeyprojects/SwarmUIA modular web interface for image models such as Stable Diffusion and Flux, with a Generate tab for beginners and a Comfy workflow tab for the raw graph. It is MIT licensed.
- AMD, Intel, Apple Silicon or CPU-only machines
vladmandic/sdnextA web interface for generating and editing images with many diffusion models. It runs on NVIDIA, AMD, Intel, Apple Silicon or CPU setups. It is Apache-2.0 licensed.
- A small program with no Python
leejet/stable-diffusion.cppA pure C and C++ implementation of diffusion models. It supports CPU, CUDA, Vulkan, Metal and other backends, and it includes a built-in web UI. It is MIT licensed.
- A native Mac app
MochiDiffusion/MochiDiffusionA SwiftUI app that generates images locally and offline on a Mac using Core ML. It has a built-in gallery. It is GPL-3.0 licensed.
- Writing image generation into your own Python code
huggingface/diffusersA Python library of pretrained diffusion models and pipelines. Install it with pip install --upgrade diffusers[torch]. It is Apache-2.0 licensed.
The repos compared
Checked on Dec 1, 2026: the oldest day any repo in the table was last read from GitHub.
| Repo | Stars | Last commit | Latest release | Licence | Needs |
|---|---|---|---|---|---|
| invoke-ai / InvokeAI A web interface with a canvas and workflow builder for generating images on your own hardware. | 29,207 GitHub (opens in new tab) | Active Dec 2, 2026 | v6.14.4, Nov 3, 2026 | Apache-2.0 | |
| Comfy-Org / ComfyUI A node graph interface for generating images, video and other media. | 149,531 GitHub (opens in new tab) | Active Dec 1, 2026 | v0.46.0, Nov 18, 2026 | GPL-3.0 | |
| mcmonkeyprojects / SwarmUI A modular web interface for image and video models, with a Generate tab and a workflow tab. | 4,837 GitHub (opens in new tab) | Active Dec 1, 2026 | 0.9.8-Beta, Feb 6, 2026 | MIT | |
| vladmandic / sdnext A web interface for generating and editing images and video with many diffusion models. | 7,383 GitHub (opens in new tab) | Active Dec 1, 2026 | - | Apache-2.0 | |
| leejet / stable-diffusion.cpp Diffusion model inference in plain C and C++, with several hardware backends. | 8,175 GitHub (opens in new tab) | Active Dec 1, 2026 | master-1171-f93d45b, Dec 1, 2026 | MIT | |
| huggingface / diffusers A Python library of pretrained diffusion models for image, video and audio generation. | 34,994 GitHub (opens in new tab) | Active Dec 1, 2026 | v0.43.0, Nov 12, 2026 | Apache-2.0 | |
| MochiDiffusion / MochiDiffusion A native macOS app that generates images offline with Core ML. | 7,978 GitHub (opens in new tab) | Active Nov 15, 2026 | v7.0, Nov 15, 2026 | GPL-3.0 | |
| LykosAI / StabilityMatrix A package manager that installs and updates several image generation interfaces. | 9,101 GitHub (opens in new tab) | Active Nov 24, 2026 | v2.17.0, Nov 24, 2026 | AGPL-3.0 | |
| mudler / LocalAI A local server that runs open models for text, images, speech and video through one API. | 50,650 GitHub (opens in new tab) | Active Nov 30, 2026 | v5.0.1, Nov 20, 2026 | MIT |
Questions
What is the best open-source AI image generator?
It depends on how you want to work. InvokeAI has a canvas and workflow builder, ComfyUI is a node graph, and SwarmUI puts a simple Generate tab in front of one. stable-diffusion.cpp and diffusers are for programs rather than a point-and-click interface.
How do I run Stable Diffusion locally?
Install one of the web interfaces on this page, such as InvokeAI, ComfyUI or SD.Next, and load a model. Stability Matrix installs and manages several of these interfaces from one app.
Can I run Stable Diffusion on a Mac?
Yes. Mochi Diffusion is a native Mac app, ComfyUI runs on macOS, and SD.Next supports Apple Silicon. stable-diffusion.cpp lists Metal as a supported backend.
What is a good ComfyUI alternative?
SwarmUI has a simple Generate tab for beginners and a Comfy workflow tab for the raw graph. InvokeAI and SD.Next are separate web interfaces with their own tools.
Can I run these image generators without a GPU?
Some of them can. SD.Next lists CPU setups among those it runs on, and stable-diffusion.cpp supports CPU as a backend.
