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
- OpenAI brings Dots purchase-tracking agent to ChatGPT PlusDec 2, 2026 · Marketing
- Anthropic denies Claude deliberately hindered usersNov 30, 2026 · Agent Age
- EY finds AI can streamline few tasks without increasing the risk of errorsNov 30, 2026 · Work & HR
- EY finds few processes can skip steps without increasing the risk of errorsNov 27, 2026 · Work & HR
- Apple steps up recruitment in silicon photonics and optical packagingNov 23, 2026 · Work & HR
- Apple steps up recruitment of silicon photonics and optical packaging specialistsNov 23, 2026 · Industry
- CERT-In warns of unauthorized payment transactions and AI-agent-based cyberattacksNov 20, 2026 · Money
- Liquidation data sales: Google may buy Spirit data for 10 million; a data protection ombudsman steps in at Character.aiNov 17, 2026 · Law
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.