[Image Generation AI] Verifying Changes in Detail and Generation Speed by Step Count
Have you ever felt while using image generation AI that you wanted it to "draw more details"? Actually, simply by adjusting one of the settings, 'step count', it is possible to control the density and finish of the image.
- Step count refers to the 'number of redraws' when the AI assembles an image
- As the step count increases, there is a tendency for details to be refined, but generation time also increases proportionally
- Actual measurement data for each step count in a generation environment (RTX 4080)
![[Image Generation AI] Verifying Changes in Detail and Generation Speed by Step Count](/img/illust-steps-20261106-230038.png)
What is Step Count?
Image generation AI starts from noise that looks like static (disordered dots) and gradually organizes it, changing it into a shape close to the specified topic. The number of times this 'task of organizing noise and shaping' is repeated is called 'step count'.
With a low step count, the AI stops generating before it finishes the detailing, so the image tends to result in just a rough shape. Conversely, with a high step count, more adjustments are made over a greater number of iterations, so you can expect improvements in texture and detail density.
- Step count: The number of processes when the AI assembles a picture from noise
- Low steps: Generation is fast, but detailing tends to be simplified
- High steps: Generation takes time, but details tend to be more refined
Verification Experiment Conditions
On this account, I actually verified "what kind of differences appear in the finished painting and generation speed when only the step count is changed." To perform an accurate comparison, all the following conditions were unified for the experiment.
The model used for verification is 'novaAnimeXL', an anime-style model from the SDXL series. The tool used was 'Stable Diffusion WebUI Forge'. The size of the generated image is 1024×1024 pixels, and all other settings (CFG scale, sampler, seed value) were also fixed to the same values.
- Model: novaAnimeXL (SDXL-based anime-style model)
- Tool: Stable Diffusion WebUI Forge
- Image size: 1024×1024
- Generation environment: RTX 4080 (VRAM 16GB)
Changes in Generation Time by Step Count
The results of the experiment confirmed that generation time increases at a constant rate as the step count increases. The actual measured values in this verification environment (RTX 4080) are as follows.
Step 8: 2.3 seconds (instant)
Step 16: 3.9 seconds (comfortable, faster than reading)
Step 24: 5.6 seconds (comfortable, faster than reading)
Step 32: 7.3 seconds (comfortable, faster than reading)
In this experiment, even at step 32, generation was completed in about 7.3 seconds. Because a high-spec graphics board (GPU) is being used, this is a value within a range where you can operate comfortably without feeling much waiting time.
- Step 8: 2.3 seconds (instant)
- Step 16: 3.9 seconds (comfortable, faster than reading)
- Step 24: 5.6 seconds (comfortable, faster than reading)
- Step 32: 7.3 seconds (comfortable, faster than reading)
Differences in Finish and Key Points for Utilization
When comparing the actually generated images, differences in the density of detailing appear depending on the step count. At low step counts, because the focus is on capturing the shape, the elements give an impression of being simply organized. On the other hand, by increasing the step count, it was confirmed that the character's texture and the fine details of the background are being complemented.
The key point for running AI efficiently is not to generate with a high step count immediately, but to first try generating with standard values (for example, 16 or 24, etc.) and check if it has reached your preferred density. If you feel you want "more detailing," increase the value, and if you want it "simpler," decrease the value; repeating these adjustments is recommended.
- Try starting with standard values first
- Adjust the values one by one according to your preferred density
- Identify the balance between generation time and detailing
- People who want to run image generation AI on their own PC
- People who are unsure which setting values to change first
- People who want to know the balance between generation speed and detailing quality
- SDXL
- Abbreviation for Stable Diffusion XL. It is a series of image generation AI models aimed at high-quality image generation.
- CFG
- CFG Scale (Classifier Free Guidance). A value that adjusts how much the AI follows the instruction text (prompt).
- Sampler
- The type of calculation algorithm used when removing noise to build an image.
- Seed
- The value that serves as the "seed" for the generated image. If the same seed value and the same settings are used, the same image is reproduced.
- VRAM
- Video memory. Memory used to temporarily hold image data, etc., when running image generation AI.
FAQ
Does the picture always get better if I increase the step count?
Not necessarily. Beyond a certain step count, instead of adding more detailing, details might break down or waste increase. It is best utilized as an adjustment to find the density you prefer.
What should I do if I feel the generation time is slow?
First, you can increase the generation speed by lowering the step count. While lowering the step count simplifies the detailing, major elements such as composition and color are often maintained, so it is efficient to try from lower values first.
Step count is an important setting that determines how much the AI "meticulously redraws" the image. In this experiment, it was found that increasing the step count improves the density of detailing, and that in an RTX 4080 environment, generation can be done at a very comfortable speed (7.3 seconds) even at around step 32. It is recommended to try changing the values little by little to find your preferred density.