Do you use negative prompting?

Last updated by Jack Pettit [SSW] 8 months ago.See history

Sometimes you might be trying to create a specific type of image, and the AI keeps including pieces that you don't want. A straightforward way to get around this problem is by including what you DON'T want in your prompt.

What is negative prompting?

Negative prompting is specifying what you don't want in your image. It guides the AI away from certain features that you're not interested in. Some AI image generators (e.g. Midjourney and Dreamstudio) have this option as a parameter. In others (e.g. DALLE-2), you can include it in your prompt.

Imagine you are using Midjourney to generate a photo of an emplty highway in the mountains.

“A highway in the mountains”

Figure: Bad example - When you use this prompt, Midjourney keeps putting cars on the highway!

This is when it can be helpful to include a negative prompt. In Midjourney, this is done by using two dashes. (see Midjourney parameter list)

“A highway in the mountains --no cars”

Figure: Good example - The prompt with '--no cars' is more likely to eliminate cars in the picture.

We open source. Powered by GitHub