Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

SwarmUI

> 编程语言
Open source

SwarmUI (formerly StableSwarmUI), A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and

4.4K stars0 likes0 views
WebsiteGitHub

About

SwarmUI (formerly StableSwarmUI), A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and

SwarmUI

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.

  • Discord Community: Join the Discord to discuss the project, get support, see announcements, etc.
  • Announcements: Follow the Feature Announcements Thread for updates on new features.
  • General documentation: /docs folder
  • Website: SwarmUI.net

Status

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:

  • LLM-assisted prompting (there's an extension for it, but LLM control should be natively supported)

Donate

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!

Try It On Google Colab

Google Colab

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

Run it on a Cloud GPU Provider

Runpod

Runpod template (note: maintained by third party contributor nerdylive123): https://get.runpod.io/swarmui

Vast.ai

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.

Installing on Windows

Note: if you're on Windows 10, you may need to manually install git and DotNET 8 SDK first. (Windows 11 this is automated).

  • Download The Install-Windows.bat file, store it somewhere you want to install at (not Program Files), and run it.
    • It should open a command prompt and install itself.
    • If it closes without going further, try running it again, it sometimes needs to run twice. (TODO: Fix that)
    • It will place an icon on your desktop that you can use to re-launch the server at any time.
    • When the installer completes, it will automatically launch the SwarmUI server, and then after a moment show you the install UI.
    • Follow the install instructions on the page.
    • After you submit, be patient, some of the install processing take a few minutes (downloading models and etc).
    • See the Basic Usage Guide to go from there.

(TODO): Even easier self-contained pre-installer, a .msi or .exe that provides a general install screen and lets you pick folder and all.

Alternate Manual Windows Install

  • Install git from https://git-scm.com/download/win
  • Current version targets .NET 8, but a future version will target .NET 10, so install both:
  • Install DotNET 8 SDK from https://dotnet.microsoft.com/en-us/download/dotnet/8.0 (Make sure to get the SDK x64 for Windows)
  • Install DotNET 10 SDK from https://dotnet.microsoft.com/en-us/download/dotnet/10.0 (Make sure to get the SDK x64 for Windows)
  • open a terminal to the folder you want swarm in and run git clone https://github.com/mcmonkeyprojects/SwarmUI
  • open the folder and run launch-windows.bat

Installing on Linux

Prereqs

  • Install git 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)
    • For example, on some Ubuntu (desktop) versions, sudo apt install git python3-pip python3-venv, or you may need https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
    • For Debian or Ubuntu Server, sudo apt install git python3-full
    • You'll want Python 3.11 or 3.12. Things should also work fine with 3.10. 3.13 might work. Do not use 3.14 or later.
    • Make sure python3.11 -m pip --version returns a valid package

Linux Easy Install

  • Download the install-linux.sh file, store it somewhere you want to install at, and run it
    • If you like terminals, you can open a terminal to the folder and run the following commands: (Yes this link is still current):
      • wget https://github.com/mcmonkeyprojects/SwarmUI/releases/download/0.6.5-Beta/install-linux.sh -O install-linux.sh
      • chmod +x install-linux.sh
  • Run the ./install-linux.sh script, it will install everything for you and eventually open the webpage in your browser.
  • Follow the install instructions on-page.
  • See the Basic Usage Guide to go from there.
  • If you want to use Desktop app mode, it is not tested for Linux, but you probably need to install WPE Webkit: https://wpewebkit.org/about/get-wpe.html#install-it-from-your-linux-distribution

Linux Manual Install

  • Run shell commands:
    • git clone https://github.com/mcmonkeyprojects/SwarmUI
    • cd SwarmUI
  • Current version targets .NET 8, but a future version will target .NET 10, so install both:
    • You can run shell command ./launchtools/linux-dotnet-install.sh, or separately follow the instructions at:
      • https://dotnet.microsoft.com/en-us/download/dotnet/8.0 and also https://dotnet.microsoft.com/en-us/download/dotnet/10.0 (you need dotnet-sdk-8.0/dotnet-sdk-10.0, as that includes all relevant sub-packages)
  • Open a shell terminal and cd to a directory you want to install into
  • To launch, in the shell run:
    • ./launch-linux.sh
    • or if running on a headless server, ./launch-linux.sh --launch_mode none --host 0.0.0.0 and/or swap host for cloudflared
  • open http://localhost:7801/Install (if it doesn't launch itself)
  • Follow the install instructions on-page.

Linux Install Notes

  • You can at any time in the future run the launch-linux.sh script to re-launch Swarm.
  • If the page doesn't open itself, you can manually open 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?

Installing on Mac

Note: You can only run SwarmUI on Mac computers with M-Series Apple silicon processors (eg M1, M2, ...).

  • Open Terminal.
  • Ensure your brew packages are updated with brew update.
  • Verify your brew installation with brew doctor. You should not see any error in the command output.
  • Install .NET for macOS: brew install dotnet.
  • If you don't have Python, install it: brew install [email protected] and brew install virtualenv
    • Python 3.11, 3.12, 3.10 are all fine. 3.13 might work. Do not use 3.14 or later.
  • Change the directory (cd) to the folder where you want to install SwarmUI.
  • Clone the SwarmUI GitHub repository: git clone https://github.com/mcmonkeyprojects/SwarmUI.
  • cd SwarmUI and run the installation script: ./launch-macos.sh.
  • Wait for the web browser to open, and follow the install instructions on-page.
  • See the Basic Usage Guide to go from there.

Installing With Docker

See Docs/Docker.md for detailed instructions on using SwarmUI in Docker.

Documentation

See the documentation folder.

Motivations

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.

Legal

This project:

  • embeds a copy of 7-zip (LGPL).
  • has the ability to auto-install ComfyUI (GPL).
  • has the option to use as a backend AUTOMATIC1111/stable-diffusion-webui (AGPL).
  • can automatically install christophschuhmann/improved-aesthetic-predictor (Apache2) and yuvalkirstain/PickScore (MIT).
  • can automatically install git-for-windows (GPLv2).
  • can automatically install MIT/BSD/Apache2/PythonSoftwareFoundation pip packages: spandrel, dill, imageio-ffmpeg, opencv-python-headless, matplotlib, rembg, kornia, Cython
  • can automatically install ultralytics (AGPL) for YOLOv8 face detection (ie SwarmYoloDetection node or <segment:yolo-...> syntax usage may become subject to AGPL terms),
  • can automatically install insightface (MIT) for IP Adapter - Face support
  • uses JSON.NET (MIT), FreneticUtilities (MIT), LiteDB (MIT), ImageSharp (Apache2 under open-source Split License), ATL.NET (MIT)
  • embeds copies of web assets from BootStrap (MIT), Select2 (MIT), JQuery (MIT), exif-reader (MPL-2.0), music-metadata (MIT).
  • contains some icons from Cristian Munoz (CC-BY-4.0), the font inter by rsms (OFL), Unifont by GNU (OFL), [Material S

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •Discord Community: Join the Discord to discuss the project, get support, see announcements, etc.
  • •Announcements: Follow the Feature Announcements Thread for updates on new features.
  • •General documentation: /docs folder
  • •Website: SwarmUI.net
  • •LLM-assisted prompting (there's an extension for it, but LLM control should be natively supported)
  • •Download The Install-Windows.bat file, store it somewhere you want to install at (not Program Files), and run it.
  • •It should open a command prompt and install itself.
  • •If it closes without going further, try running it again, it sometimes needs to run twice. (TODO: Fix that)
  • •It will place an icon on your desktop that you can use to re-launch the server at any time.
  • •When the installer completes, it will automatically launch the SwarmUI server, and then after a moment show you the install UI.

> Tags

C#aicomfyuicsharpimage-generation

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言