Like Seed, the classifier-free guidance scale (CFG Scale) is one of the additional settings found in the Stable Diffusion model. The CFG scale adjusts how much the image looks closer to the prompt and/ or input image.
If CFG Scale is greater, the output will be more in line with the input prompt and/or input image, but it will be distorted.
On the other hand, the lower the CFG Scale value, the more likely it is to drift away from the prompt or the input image, but the better quality.
The LAION dataset, on which the Stable Diffusion was trained, is capable of producing effective results with just a short and simple set of img2img instructions.
However, if you try to generate something that Stable Diffusion has no prior knowledge of and want to conjoin multiple concepts or people, you might need to turn up the value of the CFG scale and/ or denoising strength.
As a result, Stable Diffusion will generate creatively at the expense of image quality.
If you are getting less fidelity in your Stable Diffusion-generated images, try adjusting the value of CFG.
Adjusting the CFG value will give images that exactly match your prompt.
Mostly, the standard value of 7 would be effective.
The CFG scale has a value of 0 to 20.
In general, a CFG Scale value of 7 to 11 will give the best results with low noise.
However, it varies if you have queried Stable Diffusion that has no prior knowledge.