Steps – explained simply
Steps are the number of denoising steps an image model goes through; more steps take longer, but do not always produce better quality.
Also: Sampling Steps, Sampling Steps, num_inference_steps, Inference Steps
Each step is a full model computation. So the time per image increases almost linearly with the number of steps. After a certain point, the image hardly improves anymore.
The right number depends heavily on the model. For FLUX.1 dev, the diffusers documentation recommends about 50 steps for good quality; the distilled FLUX.1 schnell works with 4, and SDXL Turbo even with 1 to 4. For Img2Img, only part of the steps is actually run, depending on the denoise value.
What does that mean for you? Start with the step count from the model card and increase it only if you are missing details.