Przejdź do treści
Image Generator Parameters / Sampling Steps (Inference Steps)
Universal parameters

Sampling Steps (Inference Steps)

Sampling steps determine how many rounds of denoising the AI performs to turn pure visual static into a crisp image. Setting this value too low leaves behind a blurry, unfinished draft, while pushing it too high simply wastes computing time without adding meaningful detail. Finding the sweet spot ensures clear images without unnecessary delays.

Also known as: steps, num_inference_steps, sampling steps

Side-by-side test results

Sampling Steps (Inference Steps) - 4 steps
4 steps
Sampling Steps (Inference Steps) - 10 steps
10 steps
Sampling Steps (Inference Steps) - 28 steps (default)
28 steps (default)
Sampling Steps (Inference Steps) - 50 steps
50 steps

Model: FLUX.1 [dev] (otwarte wagi, przez API fal.ai). Settings: seed 1411, guidance 3.5, only the step count changes. Date: 14.11.2026.
Prompt: a ceramic teapot and two cups on a wooden table next to a window, soft morning light, still life photo

In my test, 4 steps resulted in a foggy, flat sketch. At 10 steps, the subject was clearly legible but still noticeably soft. Moving from 28 to 50 steps altered minor composition details rather than actual image quality, yet the render time nearly doubled from 5.9 seconds to 9.4 seconds on my machine.

Syntax across generators

GeneratorParameterValuesDefault
FLUXstepsNot present in FLUX 3 Image and FLUX.2 [pro]. Klein: Distilled 16 steps, Base 50FLUX.2 [flex]: 1-50; Fill/Expand: 15-5050
Seedreamunconfirmed--
Imagen (retired)editConfig.baseSteps (editing only)For outpainting, documentation suggests starting at 35integer-
ComfyUIsteps (KSampler)1-1000020
Midjourneynone (indirectly --stop in older versions)--
Ideogramno such parameter--
GPT Imageno such parameter--
Qwen-Imagenone in retrieved documentation--
Stability AI (SD 3.5)none in API--

When to use it

Common mistake

Setting your sampler to 100 or 150 steps in the hope of unlocking extra photorealism is a common pitfall. In real testing, 50 steps showed no visible improvement over 28 steps. Pushing steps needlessly high simply hogs GPU time, slows your workflow, and inflates cloud compute bills.

Ready-to-use example

ComfyUI:  KSampler -> steps = 20-30
FLUX.2 [flex]:  "steps": 50 (default)
Midjourney, GPT Image, Ideogram, FLUX 3:  no parameter available

Frequently asked questions

How many steps should I use in Stable Diffusion?

For standard models, 20 to 30 steps offer the best balance of fidelity and speed. Distilled architectures such as Turbo or Lightning require only 4 to 8 steps, and feeding them higher values can actually degrade image quality.

Do more sampling steps always mean higher image quality?

No, denoising returns diminish rapidly after a model reaches convergence. Past roughly 30 to 40 steps on standard samplers, additional passes only tweak minute pixels and prolong generation time.

Why do web tools like Midjourney lack a step slider?

Consumer-focused web platforms lock inference steps on their servers to guarantee predictable latency and prevent users from monopolizing shared GPU resources.

Related terms

🛒 Sklep Kinetyka CapCut Pro 460 zł/rok Lovable Pro 450 zł/rok Replit Core 119 zł/rok Zobacz wszystko →
× ‹ powiększenie ›