Sign In

Negative prompts that do something

4

Negative prompts that do something

Most negative prompts are inherited. Someone posted a wall of tags once, it got copied, and now it sits in thousands of prompts without anyone checking what each part does. This guide explains how I build negatives for Illustrious and NoobAI models, and how to find out which of your own negative tags are doing any work.

What a negative is for

A negative tag pushes the image away from something. That's useful in two cases: the model keeps drawing something you don't want, or it confuses the thing you asked for with a close relative.

It isn't a quality dial. Adding more "bad" words doesn't keep adding quality.

Two layers

I split the negative into two parts with different jobs.

The base negative

One block that handles general quality and anatomy, matched to the model family. For NoobAI eps, mine is:

worst aesthetic, bad aesthetic, lowres, year 2020, year 2021, year 2022, (bad anatomy:1.3), (bad hands:1.4), (extra fingers:1.5), (fused fingers:1.5), (fewer digits:1.5), (extra limbs:1.5), (bad proportions:1.3), (deformed:1.4), blurry, jpeg artifacts, text, watermark, signature

It goes in once, at the start, and doesn't change between images. In my packs it's part of the BASE_…_Quality style, so the positive quality tags and this negative always arrive together.

Like quality tags, the base negative is model-specific. The year tags above mean something to NoobAI. Pony's score_4, score_5, score_6 mean something to Pony. Carried over to another model, they're just words.

Targeted negatives

Everything else is tied to something specific in the positive prompt. You asked for a trench coat and keep getting a puffer jacket, so down jacket goes in the negative. You asked for a full-body shot and get crops, so close-up, out of frame goes in.

Every style in my packs carries its own targeted negative, and it's short on purpose: only the nearest wrong answers.

Negative-only presets

Some problems aren't attached to any one style. A model that keeps sliding toward a 3D look is an example. For those I use presets with an empty positive and only a negative, such as BASE_Anti_3D:

3d, 3dcg, cgi, render, subsurface scattering, realistic, photorealistic, photography, live action

Apply one when you see the problem. Leave it off when you don't.

How negatives go wrong

They cancel something you asked for

If steam is in your negative and you ask for a sauna scene, you get a sauna without steam. Nobody writes that on purpose. It happens when a negative written for one situation stays in the prompt for the next one.

I ran into exactly this while building the packs. One style's negative contained breath and steam to clean up its own output, and it switched off several unrelated scene and action styles. Since then the rule is that a style's negative never contains tags from another category.

Style Grid checks for this. When one selected style's negative removes another selected style's tags, it shows a conflict warning and lists the pairs.

They carry tags that don't exist

Many copied negatives are full of phrases that aren't tags on any booru. The model has no clear idea what to steer away from, so they do little. Check the ones you rely on the same way you'd check a positive tag: look them up.

They're weighted into the red

Weights work in the negative too, and a few strong ones on hands and fingers help. A long list where everything is at 1.5 or higher tends to flatten the image and wash out color.

They paper over a framing problem

If hands look bad because the figure is tiny in a wide shot, more hand negatives won't fix it. A closer framing, or a detail pass at higher resolution, will.

Find out what your negative does

This takes ten minutes and usually shortens a negative by half.

  1. Pick a prompt you use a lot and fix four seeds.

  2. Render the four seeds with your full negative.

  3. Remove one group of tags (say, everything about image quality) and render the same seeds again.

  4. Put the two sets side by side. If you can't tell them apart, that group wasn't doing anything. Leave it out.

  5. Repeat for the next group.

What's left at the end is a negative where every tag is there because you saw it matter on your checkpoint.

Wildcards and negatives

If you use Style Grid wildcards, a token in the positive prompt also brings the picked style's negative with it. You don't need to mirror the wildcard in the negative box. And if a negative tag would collide with a tag in the final positive prompt, the WebUI version drops that negative tag for that image.

Rules I keep

  • One base negative per model family, applied once.

  • Targeted negatives only for the nearest wrong answer.

  • Nothing in a style's negative from another category.

  • Negative-only presets for model-wide drift, applied when needed.

  • Every tag earns its place on fixed seeds.

  • Prompt packs, where every style has a tested negative

  • Style Grid, which fills both prompt boxes when you click a style

More guides are on my profile.

4

Comments