Skip to main content
Participant
June 15, 2025
Answered

Text to AI having trouble with hats

  • June 15, 2025
  • 1 reply
  • 134 views

Hey all,

 

I am trying to generate a picture that resembles a warehouse from my work. I am looking for boxes falling from a warehouse rack that almost hits a worker or lands near a worker who is startled. I am getting okay results from that except everyone who wears a safety vest is wearing a hart hat. I keep asking that to be taken away and the AI just keeps adding hard hats. Any ideas on what to do?

 

Correct answer droopydog500

Hello @thepuckadelic,

Thank you for your message. 

 

The model does not understand the concept of a word being negated by the word in front of it. So using "not [X]", "no [X]", "exclude [X]", "minimise [X]", "with no [X]", and "without [X]" does not work. As you observed, it ignores the negation word and adds to the image or video the thing you are trying to avoid.  You basically need to find "positive" words and phrases telling the model what you want to see rather than telling it what you do not want to see.  Such as "flat land" rather than "no mountains" or "desolate" rather than "no people".  If I am not sure how to describe something I want to exclude in a positive way, I will ask Google Gemini or ChatGPT for ideas.  Just be aware that when they give prompts, they are usually too wordy and conversational, so you have to edit them, but they are good for ideas.

 

The other possibility is let it generate with the hats and then take the image to generative fill to remove it.

Thanks,
    droopy

1 reply

droopydog500
Community Manager
droopydog500Community ManagerCorrect answer
Community Manager
June 15, 2025

Hello @thepuckadelic,

Thank you for your message. 

 

The model does not understand the concept of a word being negated by the word in front of it. So using "not [X]", "no [X]", "exclude [X]", "minimise [X]", "with no [X]", and "without [X]" does not work. As you observed, it ignores the negation word and adds to the image or video the thing you are trying to avoid.  You basically need to find "positive" words and phrases telling the model what you want to see rather than telling it what you do not want to see.  Such as "flat land" rather than "no mountains" or "desolate" rather than "no people".  If I am not sure how to describe something I want to exclude in a positive way, I will ask Google Gemini or ChatGPT for ideas.  Just be aware that when they give prompts, they are usually too wordy and conversational, so you have to edit them, but they are good for ideas.

 

The other possibility is let it generate with the hats and then take the image to generative fill to remove it.

Thanks,
    droopy

Adobe Community Expert (not an Adobe employee)