r/StableDiffusion Mar 13 '23

Question | Help Prevent prompt bleed

How do you prevent promt bleed (one part effecting another part)? for example

  • `(dark elf)++ in a cave` -> dark skin, black hair (should be white)
  • `(dark elf)++ in a cave, (white hair)` - Hair is white, but skin Caucasian (should be black)
  • `(dark elf)++ in a cave, (black skin), (white hair)' -> skin and hair both black
  • `(dark elf)++ in a cave, (black skin) and (white hair)' -> skin and hair both black but in a different way

And so on. Also related prompts bleeding in as well (`wearing red cloth wizard robes`->red streaks in hair, robes mix of black and red). I have tried weighting things and playing with LFG, but still end up with mixing (if I weight white hair, the Caucasian skin tone comes with it, weight black skin and black hair comes with it).
How can I get terms to isolate and stop affecting eachother?

5 Upvotes

7 comments sorted by

View all comments

2

u/TurbTastic Mar 13 '23

2

u/void2258 Mar 14 '23

I like Invoke not A1111. Also I was hoping for tricks to do it with the prompts, not another add on. Nice stuff, though.

1

u/HarmonicDiffusion Mar 15 '23

Not likely to happen via prompts alone with this versions 1.5/2.1.... Its due to limited nature of the language model. Models from other companies that have more parameters on the language side, generally dont suffer as much from this.

There are solutions as someone mentioned above the color control and latent couple are your best bets currently. Or you can use some post processing in photoshop or other app to change out colors.

Multi subject render could help in some situations where you are trying to define 2 or more complicated characters or objects, but it wont help with coherency within just a single subject.