sd-dynamic-prompts icon indicating copy to clipboard operation
sd-dynamic-prompts copied to clipboard

Feature Request: Combined positive and negative prompt

Open michaelLochlann opened this issue 1 year ago • 3 comments

Request:

Allow dynamic prompts to use this syntax: --prompt [yourprompt] --negative_prompt [yournegativeprompt]

Existing script that does this here:

https://www.reddit.com/r/StableDiffusion/comments/zvsbdm/automatic1111_update_to_allow_negative_prompts/

Purpose:

Sometimes a positive prompt REALLY needs a specific negative prompt to go along with it to do what you actually want.

This is because the computer doesn't know context and just guesses.

If you're doing dynamic prompts, it seems there is no way to attach a specific positive prompt to a specific negative prompt without manually putting in one of the 2. Which defeats the purpose of having it dynamic in this special case.

So for example let's say you want a demon character, but not with red eyes. You would have to manually put the "red eyes" part in every time you wanted that character even if the demon character part was dynamically generated.

I think this would be a powerful feature everybody would love. Appreciate your time and expertise. Have a good day!

michaelLochlann avatar Sep 19 '23 23:09 michaelLochlann

As a workaround you can use my extension: https://github.com/acorderob/sd-webui-sendtonegative

And you would put this in the wildcard:

demon<!red eyes!>

acorderob avatar Sep 20 '23 14:09 acorderob

@acorderob That's perfect my dude. Great job

michaelLochlann avatar Sep 25 '23 03:09 michaelLochlann

+1 to this. Just came here to file this exact feature request myself.

muunkky avatar Nov 14 '23 09:11 muunkky