Lore
K sampler settings: CFG, steps and seed
The three basic sampling controls in the image-to-image pipeline (Juggernaut XL checkpoint and the image-to-image sampler graph).
- CFG: how closely the prompt is followed. Start from the checkpoint's recommended value and leave it there.
- Steps: the number of denoising iterations. This one is worth experimenting with, since it trades speed against quality.
- Seed: fixes the randomness. With the seed fixed and the input unchanged, the output is identical, which makes it a clean way to compare changes to other settings.
The fourth key setting, denoise, is covered in img2img-denoise-tuning. Steps also affect the speed claim in AI rendering trade-off: speed for control (previs use case). See Blender to ComfyUI SDXL image-to-image render pipeline.