Guide to negative prompts in Stable Diffusion
How to use negative prompts in Stable Diffusion.
The negative prompt is a parameter that tells Stable Diffusion what you don't want to see in the generated images. When specified, it guides the generation process not to include things in the image according to a given text.
A negative prompt may prevent generating specific things, styles, fix some image abnormalities, and greatly improve the quality. Let's look at examples comparing the same images with and without negative prompts:
Improving the overall quality and body proportions while creating 'portraits':
Removing visual features e.g. 'moss' from the 'forest':
Changing the image lighting and making it look sharper by removing fog:
We hope our guide helped you understand the negative prompts parameter in Stable Diffusion, and you'll use what you've learned to generate even better art.