top of page

What is CFG Scale? - Stable Diffusion (2024)

What is CFG Scale - Stable Diffusion

Hi, I'm Jakob Stewart, a digital artist working with NSFW AI Tools and if you're getting into Stable Diffusion, understanding the CFG scale is key.


This setting can really shape how your AI-generated images look.


Let’s break it down simply.


Quick Links, click to go directly to the section:




What Exactly is the CFG Scale?

The CFG scale controls how closely the AI follows your prompt.
CFG Scale

A higher CFG means the AI follows your instructions closely.

A lower CFG gives the AI more freedom to get creative.



Why the CFG Scale Matters in Image Creation


The CFG scale controls how closely the image sticks to your prompt.


  • Higher settings make the image more precise but can appear rigid.

  • Lower settings allow for more creative freedom but may result in images that deviate from your initial idea.


For models like LCM LoRA or SDXL Turbo, lower CFG settings tend to work best.


These models generate images quickly, and higher CFG settings can reduce quality, causing distortions.


Keep your CFG scale lower with these models to ensure smoother results while maintaining creativity.


CFG Scale Stable Diffusion
Model: Realistic Vision, Steps: 6, CFG Scale: 1.5


Choosing the Right CFG Scale for Your Work


How to Choose the Right CFG Scale.


Here’s a quick guide for picking your CFG scale:


  • CFG 2–6: Best for creative work. Expect unique images, but they might not match your prompt exactly.


  • CFG 7–10: Good for most projects. Balances detail and creativity.


  • CFG 10–15: Use this for precise images. Be careful, though—too high can make things look unnatural.


  • CFG > 15: Not usually recommended. Can cause distortion unless you want a specific effect.



Step-by-Step Guide to Adjusting the CFG Scale


What is CFG Scale in Stable Diffusion?

To adjust the CFG scale, follow these steps:


  1. Open the Stable Diffusion.

  2. Enter your prompt. This tells the AI what to create.

  3. Find the CFG scale slider.

  4. Set the CFG scale based on what you want.


Play around with it to find the best setting for your needs.





Also, don't forget to subscribe to stay updated on new tutorials and tools!


Happy creating!

99 views
bottom of page