Wildcard Variables #303
Closed
WASasquatch
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Have you had a look at Jinja templates? Not exactly what you want, but might take you part of the way. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Variables were implemented by yours truly in adieyal/dynamicprompts#63.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A wildcard being used, can be a name, and reused elsewhere in the prompt, or negative prompt.
For example take the NSP wildcard
__animals__
one could assign a name, maybe like__animals:ani1__
which parses todog
(or whatever random animal, just an example)Then, a user can use that parsed wildcard anywhere else, say the negative prompt:
((__ani1__ face))
which would be((dog face))
Example usages:
PS I'll look at source, see if this is something I can PR but pretty busy.
Beta Was this translation helpful? Give feedback.
All reactions