lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.55k stars 838 forks source link

Negative prompts act like positive prompts #2216

Open AnabelleKM opened 3 weeks ago

AnabelleKM commented 3 weeks ago

Can somebody tell whether I am wrong or has experienced the same?

When adding negative prompts and then generating the image, it seems like these prompts get added to the image, instead of... not.

derpina-ai commented 3 weeks ago

It's really up to the text encoder, try to use a smarter one like the VIT-l ones. if the LLM part in front of Flux doesn't figure it out, yes, that will happen.

Cranbert commented 3 weeks ago

I've found that negatives work better if you leave them out of the sensitive early steps, like: [(tag, tag, tag):0.25] so it's blank for the first 1/4 and doesn't accidentally introduce anything.

Haoming02 commented 3 weeks ago

I've found that negatives work better if you leave them out of the sensitive early steps

This is a built-in option btw:

Settings -> Sampler parameters -> Ignore negative prompt during early sampling

AnabelleKM commented 1 week ago

Interesting, learned something new. Thank you!