Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to have the plugin compatible with wildcards #13

Open
BJeannot1 opened this issue Mar 26, 2023 · 2 comments
Open

Request to have the plugin compatible with wildcards #13

BJeannot1 opened this issue Mar 26, 2023 · 2 comments

Comments

@BJeannot1
Copy link

BJeannot1 commented Mar 26, 2023

Hello,
when using a wildcard with dynamic prompt (https://github.com/adieyal/sd-dynamic-prompts), assuming i have wild cards for colors named colors1 and colors2, the following prompt will generate random colors at generation time :

a cute girl, __colors1__shirt with __colors2__tie, __colors1__shoes, __colors1__hair, __colors2__eyes, __colors2__skirt
2

for example, it will generate this :
a cute girl, white shirt with green tie, red shoes, blue hair, yellow eyes, pink skirt

i thought it would be cool if we could enter __ colors1__ , __colors2__in the settings of the cutoff extension to make sure that any generated word for colors1 and colors2 is selected for the cutoff. What do you think ?

Anyway, thank you for your awesome and much needed extension.
Best regards,

@BJeannot1 BJeannot1 changed the title Requets to have the plugin compatible with wildcards Request to have the plugin compatible with wildcards Mar 26, 2023
@hnmr293
Copy link
Owner

hnmr293 commented Apr 1, 2023

Sorry, I don't use wildcard feature in dynamic prompt.
I may implement it someday, but it is low priority.
If you are familer with python, pull requests are welcome. Thank you!

@pmcculler
Copy link

I did some work in this area after forking the repo. First, in the fork, most of the time you don't have to specify color target words as those are discovered and made targets automatically. If you do want to specify a target token, you can do so inline in the prompt box with a special delimiter, currently &&. So your prompt would be "1girl, &&white&& shirt, &&blue&& shoes" etc. No need for a separate prompt box, which means Dynamic Prompts and such can get in on the action with this extension.
The problem with going any further though is that I can't demonstrate that this extension fundamentally works. Experiments are showing it might be slightly better than not having it at all, but the difference is slight. Color bleed happens all over the place on any setting combination I could try. So, what's wrong with the extension? Why doesn't it work anymore? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants