AI Glossary

CFG scale

Also called classifier-free guidance, guidance scale

What does “CFG scale” mean?

CFG scale: Setting that controls how strictly a diffusion model follows the prompt. Higher values push the output to match the text more literally; lower values give the model more freedom. Too high often produces oversaturated colors or harsh artifacts, so moderate values are typical.

CFG scale visual guide: Setting that controls how strictly a diffusion model follows the prompt. Higher values push the output to match the text more literally; lower values give the model more freedom. Too high often produces oversaturated colors or harsh artifacts, so moderate values are typical.
Visual guide Open full size (new tab)

What is an example of “CFG scale”?

If an image ignores part of your prompt, nudging the guidance scale up can help; if it looks overcooked, turn it down.