sampling step
in English: sampling steps
The number of sampling steps shows how many rounds a diffusion-based image-generating AI takes to clear the final image from the initial noise.
In plain terms
Many modern image-generating AIs, known as diffusion models, do not draw in a single motion. They start from noise resembling a grainy, snowy TV screen and gradually clean it into an image over several rounds. One such round is a sampling step. Not all image generators work this way: some assemble the image piece by piece sequentially, where this setting does not exist.
It is like when a sculptor carves: the first strikes shape the large forms, and later ones refine the details. With few steps, the image remains rough and blurry; with more steps, it becomes more detailed.
The step count is a trade-off between quality and speed. Every step represents computing time, meaning waiting and cost. Beyond a certain point, further steps barely improve the image and only slow down the work.
This setting applies only to image generation, not to model training. The same model can be run with more or fewer steps.
How it works
- The system starts from random noise in which nothing is visible yet. The initial noise is determined by a number, the seed.
- At each step, the model estimates what noise is in the current image and removes part of it based on your text instruction.
- The first steps determine the composition: what is where, and what are the main colors and shapes. Later steps refine textures, edges, and small details.
- The size and pace of each step are determined by the sampling procedure (sampler) and the scheduler. Therefore, the same number of steps with different procedures yields different results.
- Most systems do not work directly on pixels, but on a compressed, internal version of the image, which is then rendered into a visible image after the final step. The same process occurs with video and audio, but with significantly more data in video.
An everyday example
In the settings of an image generation program, you find a 'Steps' slider set, for example, at 20. If you drag it to 5, you get a blurred sketch in seconds. If you set it to 50, you wait longer, the image becomes more detailed, but above 30, the difference is barely visible.
Who is affected
A common misconception
Limits and risks
- The step count does not fix a bad prompt or a weak model: more steps will only produce a sharper flawed image from a flawed composition.
- There is no universally ideal value. What requires 30 steps for one model may need only 4 for another, so always check the specific model's recommendation.
- Models accelerated to fewer steps often lose some detail or variety in exchange for speed.
- Many consumer apps hide this setting, offering at most a "fast" or "quality" mode instead.
Similar, but not the same
- training step – A training step is one round of model training, while a sampling step occurs when using the finished model, during image generation.
- sampling procedure (sampler) – The sampler is the denoising method, meaning how the system progresses, while the step count is how many rounds it takes to do so.
- guidance strength (CFG scale) – The CFG scale regulates how closely the image follows the text prompt, not how many rounds it takes to generate.
Related concepts
few-step generation, one-step generation
sampling procedure, denoising, seed, guidance strength, model distillation
A brief history
The foundational work for diffusion image generation, the DDPM study from 2020, still worked with a thousand steps. In the same year, the DDIM method showed that a fraction of this was sufficient. From 2023, consistency models and distilled 'turbo' variants reduced the process to a few, or even a single, step.
Where things stand
As of late 2026, it is a default setting in open image-generation tools, typically 20–50 steps for standard models and 1–8 for accelerated ones. Consumer apps mostly hide it, and development is heading toward ever fewer steps, especially in video generation.
In the news
- Gartner outlines three CFO steps to turn AI time savings into value; CFOs weigh AI authority limitsNov 4, 2026 · Money
- Apple makes it harder for children to find dating and AI companion appsNov 3, 2026 · Education & Family
- Barclays to cut 5,000 jobs, about 5% of its workforce, as it steps up AI adoptionOct 22, 2026 · Money
- ASEAN and China explore e-courts and AI to strengthen judicial cooperationOct 12, 2026 · Jog
- NVIDIA Omniverse: AI agents build simulations, SimReady assets for roboticsOct 8, 2026 · Ipar
- Gartner: CFOs must be more disciplined about AI expectationsSep 24, 2026 · Money
- Chatbots still fall short in mental health conversations with childrenSep 23, 2026 · Education & Family
- JetBrains reorients its products around agentic development: Air, Junie and Air GovernanceSep 22, 2026 · Code
Also known as
sampling steps · sampling steps · step count · sampling steps · inference steps · num_inference_steps · denoising steps · steps
Sources
- Ho, Jain, Abbeel: Denoising Diffusion Probabilistic Models (2020)
- Song, Meng, Ermon: Denoising Diffusion Implicit Models (2020)
- Wikipedia: Diffusion model
This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.