Improve Prompt Matrix #427
Replies: 6 comments 2 replies
-
I can't find the post, but someone else suggested "slots", in which each slot is a list, which I think supports what you want here. So I could say: Other options I would allowAllow an null item in a list, so someone could have an empty control |
Beta Was this translation helpful? Give feedback.
-
Played around with this a bit using the existing image grid code and got a basic proof of concept. The following used the prompt @BilMorJr I like the idea of having null prompts, I think that can be done pretty easily. |
Beta Was this translation helpful? Give feedback.
-
Example with null prompts, which can be done by adding a comma with no text after it.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
would it be possible to also allow with a switch or something to change the seed with each iteration? But with each iteration I would also like to get a new seed. I understand it is not the usual usecase but it would be great to have a switch like new seed each iteration yes/no :) Last but not least, I really like your tool, thank you very much for all your effort you are spending!!! |
Beta Was this translation helpful? Give feedback.
-
Did you enable the Advanced Option for Matrix Prompt ?
Try @(some stuff|other stuff|something else) some great picture idea
For me the @ did the Trick, i missed that too in my first tries
@hlky maybe in the text oft hat option in the advance tab just add the @ to your example would make things much easier =)
Von: tamueller ***@***.***>
Gesendet: Samstag, 10. September 2022 11:01
An: sd-webui/stable-diffusion-webui ***@***.***>
Cc: osi1880vr ***@***.***>; Comment ***@***.***>
Betreff: Re: [sd-webui/stable-diffusion-webui] Improve Prompt Matrix (Discussion #427)
Is it somehow possible to generate multiple images with that? e.g. a (cat|dog|bird) wearing a uniform with batch size 3 would generate me 3 cats, 3 birds and three dogs with a uniform? I tried different variations of <cat|dog|bird> (cat|dog|rabbit) in the prompt, but always got catdogs, catbirds and dogbirds as well.
—
Reply to this email directly, view it on GitHub <#427 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AU2U5IERST37COGSC5P4U4TV5RE6BANCNFSM6AAAAAAQCDZUPE> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AU2U5IEAKPOASOLNTN2H6TTV5RE6BA5CNFSM6AAAAAAQCDZUPGWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAG4R5W.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
-
I think it would be good to change the way the prompt matrix works (or add a separate mode). Currently the matrix is generated with all possible combinations of all of the prompts. IE if your prompt is
a|b|c|d|e
you get a matrix with entries forSo if you have
n
sub-prompts, you get2^n
outputs.I think it would be better to have it work so that
a(b,c,d)
(Using parenthesis here for illustration) makes a matrix likeThis could be extended to be able to define up to two groups so that you can do
a(b,c)(d,e)
to getSo if group 1 is
n
prompts, and group 2 ism
prompts, the matrix isn*m
This would let people test multiple combinations of prompts and have more control over which prompts are combined. For instance, the first group could be different lighting effects, and the second group could be different artist styles. The current solution generates a bunch of combinations that the user might not care about (such as multiple combinations of artist style with no lighting effects), and it scales exponentially instead of linearly.
If the dynamic parameter changes in PR #421 are merged in, this could also be extended to let people generate matrices of parameter values. Maybe put something like
cfg-scale (-10,0,30)
and/orseed (123,456,789)
to generate many prompts with those parameter values, like what is being asked for in #259, #350, or what was shown off in #178.Beta Was this translation helpful? Give feedback.
All reactions