Back to Academy
Technical
Advanced
12 min read
Kaito Nakamura
November 30, 2024

Advanced Parameter Tuning for Unmatched Image Quality

Dive deep into CFG scale, sampling steps, denoising strength, and other expert-level parameters that unlock sharper, more coherent AI images.

CFG Scale
Sampling
Denoising

Tweaking prompt text is only half the battle. Mastery comes from precise control of generation parameters. This guide explains what each knob does, when to push it, and how to combine settings for crystal-clear results without unwanted artifacts.

1CFG Scale: Balancing Fidelity and Creativity

Classifier-Free Guidance (CFG) controls how closely the model follows your prompt. Low values (<4) invite creativity but risk prompt drift; high values (>12) enforce accuracy but can cause over-sharpening. Start around 7 – 8 and nudge up or down in 0.5 increments.

2Sampling Steps and Schedulers

More steps generally mean smoother detail—until diminishing returns hit. For Euler a, 30 steps is plenty; for DPM++ 2M, 12-20 often suffices. Try fast schedulers (DDIM) for concept drafts and slower ones (UniPC) for final renders.

3Denoising Strength in Img2Img

A denoise of 0.3 keeps structure; 0.6 adds variation; 0.9 practically re-imagines the source. Chain multiple low-denoise passes to refine without destroying composition.

Pro Tips & Best Practices

Adjust ONE parameter at a time and keep notes.
Use even step counts with tiled upscalers to avoid seam artifacts.
Extreme CFG plus high steps can create halo outlines—dial one back.
Save parameter presets for different art styles.

Practical Examples & Prompts

Example 1

// Prompt:
"Ultra-detailed steampunk airship over sunset clouds, 8K, cinematic lighting"

CFG = 9, Euler a, 28 steps — balances prompt adherence with organic textures.

Example 2

// Prompt:
"Concept art: mystical forest shrine, eerie fog, volumetric rays, matte-painting style"

CFG = 6.5, DPM++ 2M Karras, 18 steps — softer guidance allows painterly atmosphere.

Important Note

Remember that AI image generation is both an art and a science. These techniques provide a foundation, but experimentation and practice are key to mastering your craft. Don't be afraid to break rules and try unconventional approaches!