Repository navigation
Turn Your Windows PC Into a Complete AI Studio SwarmUI One Click Install 86 Presets
Full tutorial link > https://www.youtube.com/watch?v=tHJ60rqW5Es
SwarmUI, set up with our one-click installers, turns your own Windows PC into a complete AI studio for images, video and audio, and the same installers run on RunPod, SimplePod and Linux. Part 1 of our 13-part SwarmUI mini series installs everything from an empty folder: our ComfyUI backend with Torch 2.13, CUDA 13 and precompiled Flash Attention, Sage Attention and xFormers, the latest SwarmUI with our 11 premium extensions, the backend connection with its recommended arguments, and all 86 of our tested presets.
Links:
Download the SwarmUI installer, model downloader and 86 presets (our SwarmUI post): [ https://www.patreon.com/posts/swarmui-auto-and-114517862 ]
Full SwarmUI tutorial, every feature step by step: [ https://youtu.be/0HmIeeI1iBo ]
Full SwarmUI Playlist: [ https://www.youtube.com/playlist?list=PLAvOHZDQf8t0 ]
ComfyUI backend installer (our ComfyUI post): [ https://www.patreon.com/posts/105023709 ]
One-time Windows requirements installer tutorial: [ https://youtu.be/ptuLL0C72Ms ]
SwarmUI + ComfyUI on cloud GPUs (RunPod, Massed Compute): [ https://youtu.be/bBxgtVD3ek4 ]
SimplePod tutorial: [ https://youtu.be/yOj9PYq3XYM ]
SECourses Discord: [ https://discord.com/invite/software-engineering-courses-secourses-772774097734074388 ]
You will learn how to download both packages from our posts, create a short installation folder and extract the zips the right way, install our ComfyUI backend with the recommended Python 3.12, install SwarmUI with one double-click and finish its first-run setup, connect ComfyUI Self-Starting with the StartScript path and the extra arguments, fix the most common memory problems, import our 86 presets and apply any of them with the reset and Direct Apply routine.
Main topics include the SwarmUI post and its changelog, the one-time Windows requirements, the ComfyUI backend installer, Torch 2.13 with CUDA 13, Sage Attention and Flash Attention, .NET 10, the SwarmUI first-run installer, backend arguments such as cache none and reserve VRAM, the Logs page, the preset importer and its backup, and Toggle versus Direct Apply.
Use the chapters to jump to any step, setting or result.
Chapters:
00:00:00 A 4 MP dragon rider from a fresh SwarmUI install
00:01:04 Download both zips from our posts
00:01:49 Recommended backend arguments and memory tips on our post
00:02:40 ComfyUI backend post, NVIDIA driver and Windows requirements
00:03:44 Create the folders and extract both packages
00:04:35 Extract the backend zip into its own ComfyUI_Backend folder
00:05:13 Install our ComfyUI backend: Torch 2.13, CUDA 13
00:05:35 All 136 packages with precompiled Flash and Sage Attention
00:06:38 Install SwarmUI with one double-click, first-run setup
00:07:42 SwarmUI runs at localhost 7861, keep the console open
00:08:31 First-run setup: backend None, model downloads turned off
00:08:52 Connect the ComfyUI backend and its arguments
00:09:12 StartScript gets the full path of main.py
00:09:53 Memory fixes: cache none and reserve VRAM 3 GB
00:10:42 Import our 86 presets with one bat file
00:11:30 The routine: reset, then Direct Apply a preset
00:12:10 Make, edit and export your own presets
00:12:26 Install recap, the full SwarmUI tutorial and the download
SwarmUI mini series, each part a complete tutorial:
-
Install SwarmUI From Zero (this video)
-
Every Model, One Click
-
Update SwarmUI in 6 Steps
-
Pick the Right Preset
-
Seeds, Steps and CFG, Proven
-
The Prompt Steers the Picture
-
LoRAs, Kontext and 2x Refine
-
Inpaint and Outpaint in SwarmUI
-
Edit Images With One Sentence
-
One Prompt, Full HD Video With Sound
-
Put Your Character Into Any Video
-
Make Any Portrait Speak
-
Test 9 Settings in One Click
This video is for anyone who wants a working SwarmUI and ComfyUI setup on a Windows PC with an NVIDIA GPU, without building libraries or wiring settings by hand.
Questions? See the pinned comment, our Patreon posts and their Discord link, or ask in the comments.
-
00:00:08 This 4-megapixel dragon rider took about 25 seconds on an RTX 5090, model loading included,
-
00:00:15 in a SwarmUI we installed from an empty folder. That is SwarmUI, set up with our one-click
-
00:00:21 installers. It turns your own Windows PC into a complete AI studio for images, video and audio.
-
00:00:27 Our ComfyUI backend installer brings Torch 2.13 with CUDA 13, plus precompiled Flash Attention and
-
00:00:35 Sage Attention, ready from the very first launch. A single double-click installs SwarmUI with our 11
-
00:00:41 premium extensions and checks each one against the new build. Another imports all 86 of our presets,
-
00:00:48 after a backup of yours. In part 1 of our SwarmUI series, you go from that empty folder to a running
-
00:00:54 app with the backend connected and the presets imported. Along the way: the 2 backend arguments
-
00:01:00 that fix most memory problems. Everything starts on our SwarmUI post. The link to this post is in
-
00:01:07 the description of the video and in the pinned comment. Read it carefully, because it is full of
-
00:01:13 useful information. The top of the post always names the latest zip file, here version 185,
-
00:01:21 with links to the installation tutorials for RunPod, SimplePod and Windows. The cloud ones
-
00:01:26 rent you a strong GPU by the hour. SwarmUI needs an engine to generate with, called a backend. The
-
00:01:38 post links our ComfyUI backend installer, and it says clearly: use our backend, otherwise some of
-
00:01:44 the newest models may fail. Right below are the recommended backend arguments and memory
-
00:01:51 tips. We will copy these arguments later, when we connect the backend inside SwarmUI. Each memory
-
00:01:58 tip names its problem, like a GPU spilling into shared memory. Below that, every update is listed
-
00:02:10 with what changed, so you always know what each new version brings. The newest notes come first,
-
00:02:17 here version 185. Now let me download the zip file of the latest version. I click the zip attachment
-
00:02:28 and the download starts. The version number will change over time, so always take the latest zip
-
00:02:34 from this page. No models are inside, so it downloads in seconds. Next, I open the ComfyUI
-
00:02:41 backend installer post from that link. Its latest zip, version 145, installs ComfyUI with Torch
-
00:02:48 2.13 and CUDA 13. CUDA 13 needs a recent NVIDIA driver, so update your driver before you run the
-
00:02:56 installer. This post has the Windows requirements section. If you have not set up your PC yet,
-
00:03:03 watch this one-time requirements tutorial first. It prepares Python, Git, FFmpeg, CUDA and the
-
00:03:09 Visual Studio build tools for all of our AI apps. Our requirements installer is literally 1 click,
-
00:03:16 and its own tutorial shows every step, so we will not repeat it here. Once your PC is ready,
-
00:03:22 get the newest backend package from this post as well. The package is small, because the installer
-
00:03:28 downloads ComfyUI and its libraries by itself during the installation. If your browser asks
-
00:03:36 where to save, pick the folder of the SwarmUI package, so both downloads stay together.
-
00:03:44 Both zips are in my download folder. I make a new folder on my E drive, named swarmui_tutorial,
-
00:03:50 joined by an underline. Keep the path short, with no spaces and no non-English characters.
-
00:03:56 Ctrl+Shift+N creates a new folder right away. I cut both zip files, open the new folder and paste
-
00:04:05 them here. Then I extract the SwarmUI package right here, so its files sit directly in this
-
00:04:11 folder. Windows suggests a subfolder named after the zip file. I use the folder itself instead;
-
00:04:19 otherwise every file would land 1 level deeper. These are the installer, the launcher,
-
00:04:25 the model downloader, the preset importer, our preset pack and the prompt guides for chatbots.
-
00:04:32 We will use each of them in this tutorial. Next, I make 1 more folder here, named ComfyUI_Backend,
-
00:04:40 and extract the ComfyUI zip into it. Keeping the backend in its own folder keeps everything
-
00:04:45 tidy. I replace the suggested destination, this time with the ComfyUI Backend folder,
-
00:04:51 so the installer files land inside it. Its Windows Run files start ComfyUI alone,
-
00:04:57 which SwarmUI never needs. Start every one of these batch files with a double-click,
-
00:05:04 or select it and press Enter. Never run them as administrator, because the files they create would
-
00:05:10 then belong to the administrator. I double-click Windows_Install_Or_Update_ComfyUI.bat. The
-
00:05:16 installer first asks for the Python version to use. Press 2 for the recommended Python 3.12.
-
00:05:24 Now it fetches the latest ComfyUI and builds its own Python environment inside the ComfyUI folder,
-
00:05:31 so it never touches the other Python apps on your computer. This is the long step. It installs Torch
-
00:05:37 2.13 with CUDA 13, plus our precompiled wheels for Flash Attention, Sage Attention, xFormers,
-
00:05:44 InsightFace and more. The last line tracks the progress through all 136 packages. Building these
-
00:05:57 speed libraries yourself takes hours and a lot of compiler setup. Our installer brings them ready
-
00:06:03 to use, so the newest models run fast from the first day. It finished: installation completed
-
00:06:14 successfully, with a Python 3.12 environment. Press any key to close the window. That is all
-
00:06:21 the backend needs, because SwarmUI will start it for us. The custom nodes bundle installer can wait
-
00:06:27 until the Foley chapter, because SwarmUI loads our other node packs from its own folders. Inside
-
00:06:33 ComfyUI, you can see main.py, the file SwarmUI will run. Back in the main folder, I double-click
-
00:06:40 Windows_Install_or_Update_SwarmUI.bat. The same file installs SwarmUI the first time,
-
00:06:46 and updates everything whenever a new version arrives. Each part prints an Installed line once
-
00:06:52 it is ready. It fetches the latest official SwarmUI, our custom nodes and our 11 premium
-
00:06:59 extensions. Every package gets a check first, and an update that fails rolls back automatically.
-
00:07:08 SwarmUI is built with .NET 10. If your PC does not have it, the installer puts a private copy
-
00:07:14 into the SwarmUI folder, with no admin rights and no questions. That copy is fetched once
-
00:07:20 and reused every time. Then it compiles SwarmUI and checks every extension against this exact
-
00:07:30 build. An extension that does not compile is set aside automatically, and SwarmUI still starts.
-
00:07:41 SwarmUI is running now, and the console shows its address, localhost on port 7861. Keep this
-
00:07:48 window open while you use SwarmUI; closing it stops SwarmUI. SwarmUI also opens this address
-
00:07:55 in your browser by itself. I type it into my browser, and the first-run installer page
-
00:08:00 appears. This first-run installer has 8 steps and appears once; you can change its choices later in
-
00:08:07 SwarmUI's settings. The SwarmUI app itself is free for any use, but I agree to the license,
-
00:08:12 then choose Customize Settings to see every option. For the desktop shortcut, choose No:
-
00:08:17 our start file is the better way to launch SwarmUI. Pick any theme you like; I keep Modern
-
00:08:23 Dark. This installation is just for me on this PC, so I keep the first option. For the backend,
-
00:08:31 choose None / Custom / Choose Later, because we will connect our own ComfyUI. And turn off both
-
00:08:37 model downloads; our downloader gets the best models for every one of our presets. The summary
-
00:08:44 shows backend none and model none. I confirm with Install Now, and a moment later SwarmUI opens on
-
00:08:49 its Generate page. The red bar says SwarmUI has no backend yet. So I open the Server tab,
-
00:08:56 then Backends. This page lists the engines SwarmUI uses, and it lets you add new ones. ComfyUI
-
00:09:03 Self-Starting means SwarmUI starts and manages our ComfyUI by itself. I click it and confirm,
-
00:09:08 and a new backend card appears, waiting for its settings. StartScript needs the full path
-
00:09:14 of main.py. In Explorer, I right-click main.py and choose Copy as path, then paste it into the
-
00:09:20 StartScript entry. The quotes around the path are fine; SwarmUI removes them. ExtraArgs takes the
-
00:09:27 recommended arguments from the post. I copy them there and paste them here: the Triton backend,
-
00:09:33 pinned memory turned off, and Sage Attention, which speeds up every generation. Turning off
-
00:09:40 pinned memory avoids out-of-memory errors on many PCs. If Sage Attention ever gives you black
-
00:09:46 images, set Preferred DType to Default (16 bit), under Advanced Sampling options. If your PC runs
-
00:09:54 out of system memory, add --cache-none. If the GPU spills into shared memory, --reserve-vram 3 keeps
-
00:10:00 3 GB free. These 2 fix most memory problems. Leave the other settings as they are. GPU_ID 0 uses your
-
00:10:08 first graphics card, and AutoRestart brings the backend back if it ever crashes. Now I click
-
00:10:14 Save. SwarmUI starts our ComfyUI now. The first start takes a little longer while it prepares
-
00:10:21 its nodes. When the status turns to running, the backend is ready to use. Until then, a yellow bar
-
00:10:27 says the backends are still loading. If something goes wrong, the Logs page under Server shows what
-
00:10:35 happened, and its Pastebin button makes it easy to share a log when you ask us for advice. Now our
-
00:10:42 preset pack. With SwarmUI running, I double-click Windows_Preset_Delete_Import.bat in the main
-
00:10:47 folder, type y and press Enter. The importer finds SwarmUI on its own. It backs up your existing
-
00:10:56 presets first, then removes them and imports all 86 of ours. On an existing installation, your own
-
00:11:03 presets come back from that backup file. Back in SwarmUI, I open the Presets tab at the bottom and
-
00:11:09 refresh it. Each card shows its artwork, and its description explains the recipe and how long it
-
00:11:15 takes. Each card has a menu. Toggle only keeps a preset as a hidden layer over your settings,
-
00:11:22 so you cannot see what changes. Direct Apply writes every value into the parameters, where
-
00:11:27 you can see and change them. So here is the habit for the whole tutorial. Before switching presets,
-
00:11:35 open Quick Tools and choose Reset Params to Default, so nothing from the previous preset
-
00:11:40 leaks into the next one. Then open the preset's menu and choose Direct Apply. The model box stays
-
00:11:47 empty until you have that model, but the steps, the CFG scale, the sampler and every other setting
-
00:11:53 of the recipe arrive in one go. 2 presets are layers instead: Inpainting and Upscale Images 2X
-
00:12:03 change only a few settings, so you apply them on top of a model preset, without a reset in between.
-
00:12:10 You can also make your own presets. Edit Preset lets you choose exactly which settings it stores,
-
00:12:16 and Export saves a preset to a file, so you can share it with friends or keep a safe copy. Every
-
00:12:21 card's menu holds Export Preset as well. So here is the whole install: both zips in 1 short folder,
-
00:12:30 our backend and SwarmUI installed and connected with the recommended arguments, and 86 presets
-
00:12:37 ready for the reset and Direct Apply routine. This install opens our full SwarmUI tutorial of over 2
-
00:12:44 hours, which goes on to one-prompt edits, videos with their own sound and a portrait that speaks.
-
00:12:49 Its link is in the description. The SwarmUI zip on our Patreon post holds the one-click
-
00:12:56 installers for Windows and the cloud, the model downloader and all 86 presets, with frequent
-
00:13:02 updates and support. The link to download it will be in the description of the video.
