Simple-wildcards-for-comfyui
Wildcard nodes compatible with any form of CLIP-text encode, with recursive HTML tags, weights, and adjoining support.
Simple-wildcards-for-comfyui
Wildcards, compatible with any form of CLIP-text encode What!? No way!?
With recursive HTML tags, weights and adjoining.
Nodes:
Wildcardloader:
Loads the .txt from the directory 'comfyui/models/Wildcards' Has seed and app/prepend built in
WildcardInjector:
Connect the Wildcardloader onto one of the few inputs of this node
Next type __wildcardX__ X corresponds to which input you connected.
You can type in other stuff as well
Then connect to a clip-textencode, it doesn't matter since its just text
Syntax
Wildcards
So the wildcard txt file itself needs to use html tags
<tag> & </tag>
To filter all you need is to add is:
__wildcard1/tag__
This is recursive so if you have:
<tag1>
x
y
z
<tag2>
a
b
c
</tag2>
</tag1>
And you just wanna pull from tag2 then:
__wildcard1/tag1/tag2__
Simple right?