Negative constraints
- ai images
- constraints
“No umbrellas” is a wish, and wishes are weak. A model renders what you describe — and naming a thing, even to forbid it, puts that thing in play. Negative constraints work when you convert them: describe the wanted state where the unwanted element cannot exist, or remove it afterwards with an edit.
Why wishes are weak
Every word you write is something the model can draw. “A beach with no elephants” mentions elephants; the words carry weight in the same space as everything else. Rendered results show it: forbidden objects drift back in, watermarks shade into “no watermark” prompts, and “don’t make it dark” produces very dark images. The wish states what you fear; the model renders what is stated.
Convert instead of forbid
Describe the state of the world where the unwanted thing does not exist:
- “no people” → “a deserted street at dawn”
- “no text” → “plain unmarked packaging, bare surfaces”
- “not blurry” → “sharp focus throughout”
- “no clutter” → “minimal composition with generous empty space”
- “don’t make it dark” → “bright, evenly lit”
Each conversion is renderable, checkable, and leaves nothing for the model to mis-draw.
What negative fields can and cannot do
Some tools — often those you run or fine-tune yourself — offer an explicit negative prompt field: a list of things to steer away from. Where offered, it behaves as a nudge rather than a law: keep it short and concrete (a handful of nouns, not paragraphs of wishes), and treat the output as probably clear, not provably clear. Many hosted tools have no such parameter at all; there, conversion is the whole toolkit. Either way, the reliable mechanism for true removal comes next.
Removal by editing
Where a tool supports edits, unwanted elements leave through the region: you supply the image, mark the area to change — a mask — and describe its replacement. Current editing APIs work this way: OpenAI’s image edits endpoint accepts “a mask that identifies the areas to replace”, and the tool’s own documentation notes that masking is entirely prompt-based — the model uses the mask as guidance but may not follow its exact shape with complete precision. So the professional loop for “make that thing gone” is: generate the scene close to right, then edit the region with a clear description of what should be there instead, then inspect that area closely. This is the same inpaint manoeuvre from the edit loop, aimed at subtraction instead of adjustment.
Weak prompt
a clean kitchen counter, no mess, no plates, no crumbs, not blurry, no text or watermark
Stronger prompt
A bare stone kitchen counter, spotless and empty, sharp focus throughout, plain surfaces with nothing on them
Why the stronger one works
- The weak line stacks five wishes; each names something the model can draw.
- The strong line describes the wanted state — bare, empty, spotless, sharp — so there is nothing unwanted left to render.
- If a stray object still appears, an edit of that region is the reliable removal — not a louder wish.
A bad example
Ask: “Office photo, no clutter, no people, don’t make it dark, no logos.”
Four wishes and one instruction about the thing being described. The result has a good chance of a person-shaped blur, a dark corner, and a logo-like smudge.
A better example
Ask: “A tidy sunlit office, empty desk with a closed laptop, bright even light, plain walls.”
Everything is a state the model can render — and the unwanted elements have nowhere to appear.
Why it works
Both halves are the track so far, pointed at removal. Conversion keeps you in the mode models handle best: rendering described states, not interpreting prohibitions. Editing handles what conversion misses: actual pixels get replaced in the actual region. Wishes do neither — they describe the absence of the preferred arrangement until it returns under another name.
Practice
Pick the constraint style
A tea brand needs a product photo with nothing distracting: no text on the packaging mockup, no people, no clutter — just the box on a clean surface. Two drafts of the same prompt.
Which prompt handles those constraints better?
Hint
Sort each prompt into wishes versus states: which one describes the world where the problem cannot appear?
Words like “no”, “not” and “don’t” name the thing you fear — the model can still draw what is named.
Why this is the answer
The stronger prompt converts every constraint into a renderable state: unmarked packaging instead of “no text”, empty space instead of “no clutter”, bright daylight instead of “don’t make it dark”. Conversion keeps you in the mode models handle best — rendering described things — while wishes only describe the absence of the problem until it returns under another name. Where true removal is still needed, the reliable path is an edit of that region, not a louder wish.
Transfer
- Briefs in any tool: scan for “no / not / don’t” and convert each into the wanted state.
- Cleanliness in product shots: “bare, spotless, empty” beats “no mess” every time.
- True removal: mask the region and describe the replacement, then inspect closely.
- Anywhere you need certainty: the deliverable gets checked — wishes never shipped anything.
Key takeaways
- Naming a thing — even to forbid it — puts it in play; describe the state where it cannot exist.
- Negative fields exist in some tools and nudge rather than enforce; keep them short where you have them.
- True removal is an edit: mark the region and describe its replacement, then inspect the result.
Next
That closes the image track — all twelve lessons. Put the whole set to work on the practice floor, or check where you stand with the skills check. The negative prompt entry sums up the term, and hallucination covers the plausible-looking detail this lesson keeps at bay.