Przejdź do treści
Image Generator Parameters / CFG Scale (Guidance Scale)
Universal parameters

CFG Scale (Guidance Scale)

CFG, short for Classifier-Free Guidance, controls how strictly an image generator follows your text prompt. Lower values give the model room to improvise, often yielding softer, more natural compositions, while higher values force strict obedience at the expense of overcooked colors and waxy textures.

Also known as: CFG scale, guidance, guidance_scale, cfg_scale

Side-by-side test results

CFG Scale (Guidance Scale) - guidance 1.5
guidance 1.5
CFG Scale (Guidance Scale) - guidance 3.5 (default)
guidance 3.5 (default)
CFG Scale (Guidance Scale) - guidance 7
guidance 7
CFG Scale (Guidance Scale) - guidance 15
guidance 15

Model: FLUX.1 [dev] (otwarte wagi, przez API fal.ai). Settings: seed 1411, 28 steps, guidance value changed only. Date: 14.11.2026.
Prompt: a cozy reading nook with a green armchair, tall bookshelves and a cat sleeping on a blanket, warm lamp light, photo

At 1.5, the model drew two armchairs inside a soft, hazy room, treating my prompt quite loosely. Dialling it up to 3.5 delivered exactly what I asked for: one armchair, a cat, and a lamp. Raising it to 7 and 15 steadily amplified contrast and saturation, until at 15 the result looked like an oversaturated, harsh catalogue advert.

Syntax across generators

GeneratorParameterValuesDefault
FLUXguidanceHigher = better prompt adherence, less realism. Missing in FLUX 3 Image and FLUX.2 [pro]. Klein: Distilled CFG 1, Base CFG 3.5FLUX.2 [flex]: 1.5-10; Fill/Expand: 1.5-100FLUX.2 [flex]: 5; Fill/Expand: 60
Seedreamguidance_scale - unconfirmedNot found in content for 5.0/4.x--
Stability AI (SD 3.5)cfg_scaleSD 3.5 endpoint only1-10sd3.5-large/medium: 4; turbo/flash: 1
ComfyUIcfg (KSampler)0.0-100.0, step 0.18.0
Midjourneyno such parameter--
Ideogramno such parameter--
GPT Imageno such parameter--
Imagen (retired)none in retrieved documentation--
Qwen-Imagenone in retrieved documentation--

When to use it

Common mistake

Carrying over guidance numbers between different generators. A value that produces clean results in standard open-source tools can easily fry an image in newer distilled models. Every architecture calibrates guidance differently, so stick to the recommended baseline and adjust in small increments.

Ready-to-use example

ComfyUI:  KSampler -> cfg = 7.0
Stability API:  "cfg_scale": 4
FLUX API:  "guidance": 5
Midjourney, ChatGPT, Ideogram:  no parameter - manage adherence through prompt phrasing

Frequently asked questions

What CFG scale should I start with?

Always start with your tool's default setting. Make minor adjustments of 0.5 to 1.0 in either direction, watching closely for color burn or missing elements.

Does Midjourney have a CFG parameter?

No, Midjourney does not offer a direct CFG control. The closest alternative is the stylize parameter, though it works in reverse by boosting artistic flair over literal prompt adherence.

Why do high CFG settings make pictures look fake?

Pushing guidance too high forces the model to amplify every single prompt token, which clips highlights, crushes shadows, and leaves subjects with an unnatural, plasticky sheen.

Related terms

🛒 Sklep Kinetyka CapCut Pro 460 zł/rok Lovable Pro 450 zł/rok Replit Core 119 zł/rok Zobacz wszystko →
× ‹ powiększenie ›