How to Write Negative Prompts

Use negative prompts [ ] to make sure your Forges do not include items you specify.

Updated over a week ago

You might notice that sometimes your generated asset files contain undesirable results. You can tell the model to try and get rid of these by explicitly calling them out. This is particularly useful when you want to single out a few items within a superset.

In Layer, surrounding words with [ and ] will cause them to be read as a negative prompt, meaning that Layer will try to exclude such descriptors from the generation process.

If your generations frequently feature things you don’t like, try including them in [brackets] to refine your asset generation!

For example:

The word ‘Apple’ is ambiguous because of its two meanings: fruit and company. In most cases, AI should be able to resolve the ambiguity from context. But you also have the opportunity to explicitly avoid the fruit apple:

Prompt 1: Apple [Company]

A close-up of a painting

Description automatically generated

You have 50% chance to see Apple the company and 50% chance to see apple the fruit.

Prompt 2: Apple [Fruit]

A close up of a logo

Description automatically generated

Apple the fruit is excluded.

Similarly, you can apply this skill to more complicated concepts E.g., to generate many animals but exclude dogs, you use [dog] in negative prompt instead of enumerating all other possible animals in positive prompt.

There is a case that things don’t fall in the same category or are not ambiguous in word, but you know that they usually appear together. You can also use negative prompts to avoid it.

Prompt 1: Concept art pumpkin, digital artwork, illustrative, painterly, matte painting, highly detailed

Very often you see Halloween pumpkins like this.

Prompt 2: Concept art pumpkin, digital artwork, illustrative, painterly, matte painting, highly detailed [horror, face]

You’ll never see pumpkins with scary face. 🎃

Some other example negative prompts for inspiration:

[ugly, 2 heads, duplicate, blurry, abstract, disfigured, deformed, cartoon, 3d, disfigured, bad art, poorly drawn, extra limbs, close up, b&w, weird colors, blurry, watermark, blur haze, watermark, elongated body, cropped image, out of frame, draft, deformed hands, twisted fingers, double image, malformed hands, multiple heads, extra limb, ugly, poorly drawn hands, missing limb, cut-off, over saturated, grain, low res, bad anatomy, poorly drawn face, mutation, mutated, floating limbs, disconnected limbs, out of focus, long body, disgusting, extra fingers, gross proportions, missing arms, mutated hands, cloned face, missing legs]

We recommend using negative prompts during forges and it will help to produce better results.

Did this answer your question?