stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

List of negative prompts

Open adieyal opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. I am the author of the dynamic prompting custom script. I received a request to allow for wildcards in the negative prompt. The script currently generates an all_prompts list. As far as I can tell, there is no such concept as an all_negative_prompts list.

Describe the solution you'd like To implement the requested feature, I need to be able to generate a negative prompts list with the same size as all_prompts. This would be implemented somewhere around here.

Describe alternatives you've considered I don't think there is a workaround for this.

Additional context I'm happy to take a stab at it if there is interest in making the change.

adieyal avatar Oct 16 '22 05:10 adieyal

It has already been modified and is in use. Even if it is not reflected, there is no problem with me modifying it myself and using it.

Like https://github.com/lilly1987/sd-dynamic-prompts/blob/main/scripts/dynamic_prompting.py

By processing wildcards in p.negative_prompt Just putting it back into p.negative_prompt meets my requirements

I know there is no all_negative_prompts. at the moment It is sufficient that same negative_prompt is use to all batch.

lilly1987 avatar Nov 14 '22 17:11 lilly1987

I think this has been actually implemented with 617c5b486f42aa73062ee7699ee1147eb995c899

ghost avatar Nov 20 '22 18:11 ghost