How to Use CFG Scale & Guidance in AI Images (2026)
If your AI images look washed out, over-saturated, or just stubbornly wrong, the culprit is often a single number: the CFG scale. Classifier-free guidance is the quiet engine behind prompt adherence in virtually every diffusion model you’ll touch in 2026 — and understanding it is the fastest shortcut to real AI image control. This guide breaks down what the CFG scale and guidance scale actually do, how they interact with your sampler, steps, and negative prompts, and the exact ranges that work best for today’s most popular models. By the end, you’ll know how to tune guidance deliberately instead of guessing.
What Is CFG Scale?
CFG stands for classifier-free guidance. It’s a technique that runs your prompt twice during each sampling step — once with your text conditioning and once without it (or with a negative prompt) — then pushes the result further in the direction of the difference. The CFG scale is the multiplier that controls how hard that push is.
How guidance scale works mechanically
At every denoising step, the model predicts two noise patterns: one guided by your prompt, one unguided. The sampler then extrapolates beyond the guided prediction by an amount proportional to the CFG value. A low value stays close to the unguided baseline; a high value amplifies the prompt’s influence dramatically.
- Low CFG (1–4): Looser, more creative, more variety — but weaker prompt adherence.
- Mid CFG (5–9): The sweet spot for most base models; balanced fidelity and realism.
- High CFG (10+): Very literal interpretation, but prone to crushed contrast, halo artifacts, and “deep-fried” color.
CFG scale vs. guidance scale: is there a difference?
Terminology is the first trap. In ComfyUI and A1111-style interfaces you’ll see “CFG Scale.” In Flux and newer architectures, the same parameter is usually labeled “Guidance Scale.” Some tools distinguish the two — distilled guidance models bake guidance into training, so the interface value behaves differently than classic CFG. Practically: if the slider affects prompt adherence, it’s the guidance control, whatever the label says.
Why CFG Matters for AI Image Control
Guidance is your primary lever for AI image control short of rewriting the prompt. It determines how much the model trusts your words over its own learned priors. That makes it essential for:
- Product and e-commerce renders — where exact colors and labels must survive generation.
- Text rendering — higher guidance helps letterforms resolve, up to a point.
- Style transfer — lower guidance lets LoRAs and style references breathe.
- Photorealism — mid guidance preserves skin texture and natural light falloff.
- Concept exploration — low guidance produces more varied interpretations per seed.
Recommended CFG Ranges by Model (2026)
Defaults vary widely. These are sensible starting points:
- Stable Diffusion 1.5: 7–9 — classic range, tolerates higher values reasonably well.
- SDXL: 5–7 — higher values blow out highlights quickly.
- SD3 / SD3.5: 4–6 — the rectified-flow architecture prefers gentler guidance.
- Flux.1 [dev]: ~3.5 — this is a distilled-guidance model; pushing past 5 usually degrades output.
- Flux.1 [schnell]: 0–1 — guidance-distilled, so the parameter is largely inert.
- Midjourney: No CFG exposed; use
--stylizeand--weirdfor similar control.
Always check the model card. Copying an SD1.5 value onto a Flux workflow is the most common reason newcomers get plastic-looking results.
How CFG Interacts With Other Settings
Sampler and scheduler
Aggressive samplers like DPM++ 2M Karras tolerate high CFG better than Euler Ancestral. If you raise CFG and get artifacts, try switching samplers before lowering the value — sometimes it’s a sampler problem misdiagnosed as a guidance problem.
Step count
High guidance compounds across steps. A CFG of 12 at 20 steps may look fine; the same value at 50 steps often over-bakes. When you raise step count, consider shaving 0.5–1.0 off your CFG.
Negative prompts
Negative prompts work through the same guidance mechanism, so raising CFG also amplifies negatives. If your negatives are long and aggressive, keep CFG moderate — otherwise unwanted concepts can leak back in as artifacts.
LoRAs and ControlNet
LoRA weights and ControlNet strength stack on top of guidance. If a LoRA looks “cooked,” drop CFG before touching LoRA weight; you’ll often preserve the style while fixing the contrast.
Practical Tips for Tuning Guidance
- Change one variable at a time. Lock the seed, then sweep CFG in increments of 1.0 for base models or 0.25 for Flux.
- Build a reference grid. Generate a 4×4 contact sheet at CFG 2, 4, 6, 8. You’ll learn your model’s behavior faster than reading ten guides.
- Use CFG rescale. Many UIs offer a rescale factor around 0.7 that counteracts the contrast blowout at high guidance — useful when you need strong prompt adherence.
- Cut guidance for skin. Lower CFG preserves pores, freckles, and subsurface scattering; high CFG smooths them into plastic.
- Raise guidance for text and logos. Then fix remaining issues with inpainting rather than cranking further.
- Pair low CFG with more steps. Creative explorations benefit from 30+ steps to resolve detail the guidance isn’t forcing.
- Test dynamic CFG. Schedulers that ramp guidance from low to high (or the reverse) can give you both composition variety and sharp final detail.
Common Mistakes to Avoid
- Treating 7 as universal. It’s an SD1.5 artifact, not a law of physics.
- Cranking CFG to fix a bad prompt. If the prompt is vague, guidance amplifies ambiguity. Rewrite first.
- Ignoring distilled-guidance models. On Flux schnell and similar distilled checkpoints, the slider barely matters — spend your energy on prompt structure.
- Forgetting that guidance affects color. If brand colors drift, CFG is a suspect before your hex codes are.
Conclusion
The CFG scale and guidance scale remain the most misunderstood controls in AI image generation — and the most rewarding to master. The rule of thumb for 2026: start at your model’s documented default, sweep in small increments with a locked seed, and treat guidance as one dial in a system that includes sampler, steps, negatives, and LoRAs. Lower guidance buys you creativity and texture; higher guidance buys you literal prompt adherence at the cost of contrast and realism. Learn where your specific model sits on that curve, and every other aspect of AI image control — composition, color accuracy, style fidelity — becomes dramatically easier to steer.