Repository navigation
Stop Guessing Your AI Image Settings Steps CFG Seed and Sampler Explained With Real Tests
Full tutorial link > https://www.youtube.com/watch?v=-rNdSwa5mGs
FULL SWARMUI TUTORIAL (over 2 hours, every feature step by step): [ https://youtu.be/0HmIeeI1iBo ]
ALL SWARMUI MINI TUTORIALS (playlist): [ https://www.youtube.com/playlist?list=PLAvOHZDQf8t0 ]
FULL COMFYUI + FLUX 3 KLEIN TUTORIAL (75 minutes, from setup to editing): [ https://youtu.be/nxsCBTcCVp4 ]
ALL COMFYUI MINI TUTORIALS (playlist): [ https://www.youtube.com/playlist?list=PLABQ076bsdXU ]
SwarmUI, set up with our one-click installer, model downloader and 86 ready presets, turns your own Windows PC or a cloud GPU into a complete AI image and video studio. This part of our SwarmUI mini series tests every core generation control on one fixed seed, side by side: size, aspect ratio and Megapixels, Images and seeds, Variation Seed, 4, 8 and 16 steps, CFG 3, 7 and 12 on SDXL, the negative prompt on and off, and an Init Image plus Sigma Shift trick that gives Z Image Turbo its own layout for every seed. Each of our presets stores its tested steps, CFG and sampler, and on our RTX 5090 the Krea 2 Turbo preset makes 4-megapixel images in about 13 seconds each once the model is loaded.
Links:
Download the SwarmUI installer, model downloader and 86 presets (our SwarmUI post): [ https://www.patreon.com/posts/swarmui-auto-and-114517862 ]
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 set the image size and aspect ratio, make several images in one click, fix and reuse a seed, nudge a favorite picture with Variation Seed, pick steps and CFG for turbo and base models, see what a negative prompt really changes and why it needs CFG above 1, give Z Image Turbo real seed variety with Init Image Creativity and Sigma Shift, and copy any image's full recipe back with Reuse Parameters.
Main topics include Aspect Ratio, Width, Height and Megapixels, Images and Batch Size, Seed and Variation Seed Strength, Steps, CFG Scale, Sampler and Scheduler, Sigma Shift, Flux Guidance Scale, Preferred DType, End Steps Early, SDXL with RealVisXL, negative prompts and the 75-token chunks, Z Image Turbo Quality 2, Init Image Creativity and Reuse Parameters.
Use the chapters to jump to any step, setting or result.
Chapters:
00:00:00 Z Image Turbo gets a new layout per seed
00:01:09 Size, aspect ratio and our Megapixels option
00:02:19 Images, seeds and Variation Seed
00:02:59 Fix a favorite seed with the reuse button
00:04:06 Steps 4, 8, 16 compared; CFG, sampler, Sigma Shift
00:04:52 CFG Scale, sampler and scheduler: what each one does
00:05:23 Sigma Shift, Preferred D Type and End Steps Early
00:05:57 SDXL: negative prompt and CFG 3, 7, 12 compared
00:06:36 SDXL negative prompt, 75-token chunks and a fixed seed
00:07:21 Same seed with and without the negative prompt
00:07:49 CFG 3, 7 and 12 compared on one seed
00:08:18 Z Image seed variety trick, Reuse Parameters
00:09:08 4 near-identical seeds, then the throne hall init image
00:09:42 Each seed now finds its own layout and framing
00:10:19 Controls recap, the full tutorial and the download
SwarmUI mini series, each part a complete tutorial:
-
Install SwarmUI From Zero
-
Every Model, One Click
-
Update SwarmUI in 6 Steps
-
Pick the Right Preset
-
Seeds, Steps and CFG, Proven (this video)
-
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 every SwarmUI slider to stop being a guess and become a deliberate choice.
Questions? See the pinned comment, our Patreon posts and their Discord link, or ask in the comments.
-
00:00:08 4 seed numbers, 1 prompt, and Z Image Turbo drew nearly the same commander 4 times. 1 trick later,
-
00:00:14 each seed number finds its own layout: a long sword here, carved stone there. SwarmUI, set
-
00:00:21 up with our one-click installer, turns your own PC into a complete image and video studio, and our 86
-
00:00:27 presets already store each model's tested steps and CFG settings. The trick starts from a photo
-
00:00:33 of an empty throne hall. Why would an unrelated picture give every seed number its own scene?
-
00:00:39 The last chapter has the answer. Every comparison here works that way: 1 constant seed number and 1
-
00:00:45 single change. 4, 8 and 16 steps, then CFG 3, 7 and 12, side by side on screen. On our RTX 5090,
-
00:00:53 our Krea 2 Turbo preset makes 4-megapixel images in about 13 seconds each, with the model already
-
00:01:00 in memory. In this lesson you will learn size and image count, seeds and variation, steps, CFG,
-
00:01:06 the negative prompt and Reuse Parameters. Now the controls that change every image. From Quick Tools
-
00:01:12 I reset the parameters first, so each comparison in this chapter starts from the same clean
-
00:01:18 defaults. I type Krea into the preset filter, where all 3 Krea 2 presets appear, and directly
-
00:01:24 apply Krea 2 Turbo, the fast preset we use for most of these tests. I paste our commander prompt.
-
00:01:31 We start with size, because it shapes the detail and the speed of every run; its controls sit in
-
00:01:37 the Resolution group below. Aspect Ratio picks the shape. Choose Custom, and Width and Height appear
-
00:01:43 for exact pixel numbers; then switch to 16:9, and the header shows the size SwarmUI chooses for Krea
-
00:01:50 2, about 1 megapixel. Krea 2 works natively up to about 4 megapixels, and our Megapixels slider
-
00:01:57 takes you there in 1 step. I switch it on and type 4: width and height follow the aspect ratio,
-
00:02:02 and the diagram shows the exact size. Using Width, Height or Side Length switches Megapixels off,
-
00:02:09 so the last size you set always wins. Some presets store a Megapixels value, like FLUX 3 Klein Edit
-
00:02:15 at about 1 megapixel: set it to 4, or switch it off. Images sets how many pictures 1 click makes,
-
00:02:21 one after another. I set it to 4 and generate. On our RTX 5090, each one takes about 13 seconds
-
00:02:28 at this size. Each image used a different seed. I open the History tab and refresh it, then click 2
-
00:02:40 of the new portraits: the pose, the cloak and the lightning all change between them. Batch Size,
-
00:02:49 under Display Advanced Options, makes several images in 1 run and needs much more video memory,
-
00:02:55 so keep it at 1 here. Seed is the random starting point; -1, the dice button, means
-
00:03:03 a new seed every time. I click my favorite, press the reuse button beside Seed to copy its number,
-
00:03:09 set Images back to 1 and generate again. That number stays in the Seed box for every run,
-
00:03:15 until the dice button sets it back to random. Same seed, same settings, same picture: drag across it,
-
00:03:25 and nothing changes. That is why you fix the seed whenever you compare settings, so every
-
00:03:31 difference you see comes from the one setting you change. For small changes instead, open Variation
-
00:03:37 Seed. Its seed stays random, and I set Variation Seed Strength to 0.2, so the picture I like only
-
00:03:43 moves a little. Then I generate again, mixing a little of a second seed into the main one. The
-
00:03:53 layout holds, while his stance, the cloak and the background at the left change. Raise the strength
-
00:03:58 for bigger changes, and with Images above 1, each picture becomes a new variation of your chosen
-
00:04:04 image. Steps is how many times the model refines the picture. Keeping this seed, I switch Variation
-
00:04:11 Seed off, set Steps to 4 and start a run at half the preset's steps. Every step clears away more of
-
00:04:18 the starting noise. Next I set Steps to 16, double what the preset uses, and generate again; the seed
-
00:04:28 and every other setting stay the same, so only the step count changes. Here are 4, 8 and 16 steps on
-
00:04:40 1 seed: compare the face and the engraved armor. Turbo models are trained for few steps, so the
-
00:04:46 preset's 8 is the balance, and every extra step costs time. CFG Scale sets how strongly the prompt
-
00:04:54 is followed. Turbo and distilled models like Krea 2 Turbo need CFG 1; base models use 3 to 7, with
-
00:05:00 20 to 50 steps. We will see its effect on SDXL soon. Sampler and Scheduler decide how each step
-
00:05:09 moves from noise to the image. Keep the preset's pair, Euler with Beta here; each preset has its
-
00:05:15 own tested pair. To compare others, we use the Grid Generator later. Sigma Shift, under Advanced
-
00:05:24 Sampling, balances the steps between layout and detail, and our presets set it for each model;
-
00:05:30 Krea's leaves it off on purpose. Flux Guidance Scale appears only with FLUX models, whose presets
-
00:05:36 set it too; look for it under Sampling. Preferred DType sets the number precision; this preset
-
00:05:45 chooses Default (16 bit), the setting we named for black images. End Steps Early is a hidden option
-
00:05:52 that cuts off the last steps; you will rarely need this one. For negative prompts and CFG we switch
-
00:05:59 to SDXL, a base model that responds to each of them. Its preset stores no model, so in the Models
-
00:06:04 tab I select RealVisXL first, then open Presets. Reset Params to Default keeps the selected model,
-
00:06:13 so RealVis stays. It also switches Megapixels off, and that matters, because SDXL is made for
-
00:06:19 about 1 megapixel. I type SDXL into the preset filter, which also finds our upscale preset,
-
00:06:26 and directly apply SDXL Generation With Realism Negative; as a base model, SDXL gets 40 steps
-
00:06:32 instead of Krea's 8 steps. The preset puts sketch, cgi in the negative prompt and sets CFG
-
00:06:40 7. SDXL reads prompts in chunks of 75 tokens, so I paste a short commander prompt from my text file,
-
00:06:46 and the token counter shows all of it fits in one. In the Resolution group I choose 16:9, which SDXL
-
00:06:54 renders at its standard 1344 by 768. Then I type a seed number, so every run begins from the same
-
00:07:02 noise, and start this first run, with the negative still in place. Then I select the negative prompt,
-
00:07:09 delete it and press Generate again, so the second run has the same seed and settings, only without
-
00:07:15 the negative. Same seed, with and without the negative. It steers every step, so it can change
-
00:07:25 more than the style, even the layout. And it needs CFG above 1: at CFG 1, the negative prompt has
-
00:07:31 no effect at all. To see CFG itself, I type the negative back into its box, sketch, cgi, then set
-
00:07:39 CFG Scale to 3 and start a run on the same seed and size. Next, I set CFG Scale to 12, far above
-
00:07:51 the preset's 7, and press Generate again. Ideogram 4 presets go further: a separate Negative Model,
-
00:07:57 then a few polish steps at CFG 3. Here are CFG 3, 7 and 12. Low values follow the prompt
-
00:08:09 loosely and look softer, while high values push contrast and color harder. 7, the preset's choice,
-
00:08:15 is the balance for SDXL. 1 more seed trick, this time with Z Image Turbo Quality 2. First
-
00:08:21 I reset the parameters, which also empties both prompt boxes, so the SDXL negative is gone too.
-
00:08:28 I type Z Image into the preset filter, which also shows a Base preset, and directly apply Turbo
-
00:08:34 Quality 2, which sets 9 steps, CFG 1 and Sigma Shift 7. I paste the short commander prompt from
-
00:08:41 our SDXL test. Reset set the aspect ratio back to square, so in the Resolution group I choose
-
00:08:47 16:9 again, which Z Image renders at 2016 by 1152 pixels. I set the seed to 11; with a fixed seed,
-
00:08:56 SwarmUI adds 1 for each further image. So when I set Images to 4, the run covers seeds 11 to 14,
-
00:09:03 and I start it right away. These 4 seeds look nearly the same, because Z Image Turbo barely
-
00:09:12 varies with the seed. The trick starts with any picture in Init Image, so I upload one of an empty
-
00:09:18 throne hall from my media folder, and the Init Image group switches on. Then I set Init Image
-
00:09:26 Creativity to 0.7, high enough that little of the picture survives, and under Advanced Sampling I
-
00:09:33 raise Sigma Shift to 22 and generate again with the same 4 seeds. Now every seed finds its own
-
00:09:44 layout and framing. The trick knocks the model off balance, and each seed recovers along its
-
00:09:49 own course; a little of the init picture's shape can show through. Every image remembers how it was
-
00:09:56 made. In the History tab, which I refresh to list the newest runs, I click the commander from the
-
00:10:01 seed test; its metadata shows the prompt, model, seed, steps, size and more. Reuse Parameters
-
00:10:09 copies the recipe back: the model returns to Krea 2, the prompt and seed come back, and the trick
-
00:10:14 settings switch off. Use it on any image to see its full recipe again. From 1 fixed seed number
-
00:10:21 you now steer size, image count, steps, CFG and the negative prompt, and Z Image Turbo gives every
-
00:10:27 seed number a fresh composition. This is part 5 of our full SwarmUI tutorial: over 2 hours, from the
-
00:10:34 install to text posters, one-prompt edits, full HD videos with sound and a portrait that speaks. The
-
00:10:41 full tutorial is linked in the description. Get the SwarmUI zip from our Patreon post:
-
00:10:46 one-click installers for Windows and the cloud, the model downloader with 35 bundles, 86 presets,
-
00:10:53 frequent updates and support. The link to download it will be in the description of the video.
