SwarmUI (formerly StableSwarmUI), A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and
SwarmUI (formerly StableSwarmUI), A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and
SwarmUI v0.9.8 Beta.
Formerly known as StableSwarmUI.
A Modular AI Image Generation Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility. Supports AI image models (Krea 2, Stable Diffusion, Flux, etc.), and AI video models (MiniMax H3, Wan, LTX-2, etc.), some AI audio models (ACE-Step, etc.) and will continue adding new ones in the future when they are released to the public.
This project is in Almost-Release status. This means for most tasks, Swarm has excellent tooling available to you, but there are a few areas I still want to perfect. Swarm is recommended as an ideal UI for most users, beginners and pros alike.
Beginner users will love Swarm's primary Generate tab interface, making it easy to generate anything with a variety of powerful features. Advanced users may favor the Comfy Workflow tab to get the unrestricted raw graph, but will still have reason to come back to the Generate tab for convenience features (image editor, auto-workflow-generation, etc) and powertools (eg Grid Generator).
Those interested in helping push Swarm to a Full ready-for-anything perfected Release status are welcome to submit PRs (read the Contributing document first), and you can contact us here on GitHub or on Discord. I highly recommend reaching out to ask about plans for a feature before PRing it. There may already be specific plans or even a work in progress.
Key feature targets not yet implemented:
SwarmUI is 100% free and open source forever. If you want to help make sure it keeps pace with the best despite my refusal to paywall access or shove ads down your throat, donate to SwarmUI!
WARNING: Google Colab does not necessarily allow remote WebUIs, particularly for free accounts, use at your own risk.
Colab link if you want to try Swarm: https://colab.research.google.com/github/mcmonkeyprojects/SwarmUI/blob/master/colab/colab-notebook.ipynb
Runpod template (note: maintained by third party contributor nerdylive123): https://get.runpod.io/swarmui
Vast.ai template (readme): https://cloud.vast.ai/?ref_id=62897&creator_id=62897&name=SwarmUI
Note it may take several minutes to start up the first time. Check the container logs to see setup progress. Check the template ? info for hints on how to use.
Note: if you're on Windows 10, you may need to manually install git and DotNET 8 SDK first. (Windows 11 this is automated).
Program Files), and run it.(TODO): Even easier self-contained pre-installer, a .msi or .exe that provides a general install screen and lets you pick folder and all.
git clone https://github.com/mcmonkeyprojects/SwarmUIlaunch-windows.batgit and python3 via your OS package manager if they are not already installed (make sure to include pip and venv on distros that do not include them in python directly)sudo apt install git python3-pip python3-venv, or you may need https://launchpad.net/~deadsnakes/+archive/ubuntu/ppasudo apt install git python3-fullpython3.11 -m pip --version returns a valid packagewget https://github.com/mcmonkeyprojects/SwarmUI/releases/download/0.6.5-Beta/install-linux.sh -O install-linux.shchmod +x install-linux.sh./install-linux.sh script, it will install everything for you and eventually open the webpage in your browser.git clone https://github.com/mcmonkeyprojects/SwarmUISwarmUI./launchtools/linux-dotnet-install.sh, or separately follow the instructions at:dotnet-sdk-8.0/dotnet-sdk-10.0, as that includes all relevant sub-packages)cd to a directory you want to install into./launch-linux.sh./launch-linux.sh --launch_mode none --host 0.0.0.0 and/or swap host for cloudflaredhttp://localhost:7801/Install (if it doesn't launch itself)launch-linux.sh script to re-launch Swarm.http://localhost:7801(TODO): Maybe outlink a dedicated document with per-distro details and whatever. Maybe also make a one-click installer for Linux? Can we remove the global python install prereq?
Note: You can only run SwarmUI on Mac computers with M-Series Apple silicon processors (eg M1, M2, ...).
brew packages are updated with brew update.brew installation with brew doctor. You should not see any error in the command output.brew install dotnet.brew install [email protected] and brew install virtualenvcd) to the folder where you want to install SwarmUI.git clone https://github.com/mcmonkeyprojects/SwarmUI.cd SwarmUI and run the installation script: ./launch-macos.sh.See Docs/Docker.md for detailed instructions on using SwarmUI in Docker.
The "Swarm" name is in reference to the original key function of the UI: enabling a 'swarm' of GPUs to all generate images for the same user at once (especially for large grid generations). This is just the feature that inspired the name and not the end all of what Swarm is.
The overall goal of SwarmUI is to a be full-featured one-stop-shop for all things Stable Diffusion.
See the motivations document for motivations on technical choices.
This project:
YOLOv8 face detection (ie SwarmYoloDetection node or <segment:yolo-...> syntax usage may become subject to AGPL terms),IP Adapter - Face supportNo open issues yet, or sync has not completed.