Video coming soon
ComfyUI KSampler Explained: Seed, Steps, CFG and Denoise
What every KSampler setting does: the seed and control after generate, steps, CFG, the sampler and scheduler, and denoise, why a new KSampler gives a flat, harsh image, and how to take the settings from your model's recipe, with four deeper looks. Plus Seed Pixaroma and XY Plot Pixaroma. Made with Z-Image Turbo.
To open one: drag the .json file onto ComfyUI, or use Workflow > Open. The Pixaroma version needs the free Pixaroma nodes. New to ComfyUI? Install it first.
Practice tasks
The same tasks as the notes in the Practice workflow.
- 1
Fix it
A new KSampler
The KSampler still has the settings of a new KSampler: steps 20 and cfg 8. Press Run.
Then set steps to 8 and cfg to 1, the Z-Image Turbo recipe, and press Run again.You know it worked when the flat, broken image turns back into the soft 3D panda.
- 2
Experiment
The seed modes
Set control after generate to randomize, and press Run two times. Watch the seed number.
Then set it back to fixed.You know it worked when the number changes after each Run on randomize, and stays the same on fixed. The image you see was made with the number shown before that Run.
- 3
Experiment
Steps
Set steps to 4, press Run, then try 12 and press Run. Set it back to 8.
You know it worked when 4 looks a little softer, and 12 takes longer without looking better than 8.
- 4
Experiment
CFG
Set cfg to 3, and press Run. Then set it back to 1.
You know it worked when the image turns flat and harsh at 3: Z-Image Turbo is made for cfg 1.
- 5
Experiment
Denoise
Set denoise to 0.5, and press Run. Then set it back to 1.
You know it worked when the image turns grey and muddy at 0.5: an empty latent has nothing to keep, so denoise stays at 1 in text to image.
- 6
Save
Your workflow
Press Ctrl + S, type a name like My KSampler practice, and press Enter.
You know it worked when your workflow shows in the Workflows panel on the left.
Models
Download each file and put it in its folder.
| Model file | Size | Put it in | Download |
|---|---|---|---|
| Diffusion model pick onez_image_turbo_int8_convrot.safetensorsint8, the one used in the video | 6.2 GB | ComfyUI/models/diffusion_models/z-image | Hugging Face |
| Diffusion model pick onez_image_turbo_bf16.safetensorsbf16, full detail, needs more video memory | 12.3 GB | ComfyUI/models/diffusion_models/z-image | Hugging Face |
| Diffusion model pick onez_image_turbo_nvfp4.safetensorsnvfp4, for RTX 50 cards | 4.5 GB | ComfyUI/models/diffusion_models/z-image | Hugging Face |
| Text encoder pick oneqwen_3_4b_fp8_mixed.safetensorsfp8, the one used in the video | 5.6 GB | ComfyUI/models/text_encoders | Hugging Face |
| Text encoder pick oneqwen_3_4b.safetensorsfull detail | 8.0 GB | ComfyUI/models/text_encoders | Hugging Face |
| VAEae.safetensors | 0.3 GB | ComfyUI/models/vae | Hugging Face |
| Checkpoint (optional, Task 4)z-image-turbo-fp8-aio.safetensorsall three parts in one file | 10.3 GB | ComfyUI/models/checkpoints | Hugging Face |
After the download, press R in ComfyUI (or restart it), so the new files show up in the loaders.
Z-Image Turbo is free (Apache 2.0). The Comfy-Org files download without an account.
Chapters
Click a time to jump there on YouTube.
- Intro
- What the KSampler Does
- Every Model Has a Recipe
- Seed
- A Deeper Look: Seed
- Steps
- A Deeper Look: Steps
- CFG
- A Deeper Look: CFG
- Sampler and Scheduler
- A Deeper Look: Sampler and Scheduler
- Denoise
- An Easier Way: Seed Pixaroma
- Compare Settings: XY Plot Pixaroma
- Your Turn
- Quick Recap
- Thank You, Legends