Skip to main content
All CollectionsGenerating images
How do I write a good negative prompt?
How do I write a good negative prompt?

Telling the image model what you don’t want

Tim Bowers avatar
Written by Tim Bowers
Updated over a week ago

Negative prompts are optional, but are helpful for describing what you don’t want in an image.

Adding a negative prompt can help you get rid of a recurring problem in image generations. For example, in the image below, we’ve generated an image of a pizza, but we don’t want to show the ingredients beside it.

Prompt: Generate a top-down photo of a large pepperoni pizza with green basil leaves on a stoneware plate in the centre of the shot. Pizza on a dark wooden table. Brightly lit, natural daylight. Medium-wide shot. Lens 85mm f/5.6.

In the negative prompt, add the elements that you want to remove, e.g. “Extra tomatoes on the table. Extra basil on the table. Additional ingredients.”

There is no need to write “do not include” or “remove” in your prompt (this will create a double negative). Simply write the things you don’t want to see, and tweak your prompt until the AI understands what you’re looking for.

Note: Negative prompting is not available on Dall-e 3

Did this answer your question?