Wildcards in this collection are mainly created for realistic scenes with people. However, they can be used for other types of art as well. They will give you inspiration and boost your creativity.
Since I work with these Wildcards myself, I catch problematic keywords and remove them. Sometimes I also add new keywords, and even entire files. I'm constantly looking for new ideas to expand this collection.
The main idea is to not overcomplicate things. Dealing with thousands of weirdly named wildcards may be overwhelming. I believe it's better to have a few that you can remember and use effectively.
Some UIs support Wildcards out of the box, but some
don't.
Below you can find instructions on how to use Wildcards in specific UIs.
You need to install an extension. I recommend using sd-dynamic-prompts.
Most likely, after installing the extension, you'll need to restart UI for the extension to work correctly.
A simple reload of WebUI may not be sufficient.
The path to the Wildcards directory should look like this:
../stable-diffusion-webui/extensions/sd-dynamic-prompts/wildcards/
You need to install custom Node. At the moment, ImpactWildcardProcessor
from
ComfyUI-Impact-Pack seems to be a good choice. You can install it using
ComfyUI Manager and
here is a tutorial on
how to use it.
The path to the Wildcards directory should look like this:
../ComfyUI/custom_nodes/ComfyUI-Impact-Pack/custom_wildcards/
Fooocus supports Wildcards out of the box.
The path to the Wildcards directory should look like this:
../Fooocus/wildcards/
You need to install the wildcard .txt
files into the appropriate directory (refer to the preparations section). Navigate
to the proper directory and download the files with one of the following commands:
wget -qO- https://raw.githubusercontent.com/Avaray/stable-diffusion-simple-wildcards/sdxl/scripts/download.sh | bash -s -- wget sdxl
Show more commands
aria2c -q --allow-overwrite=true --remove-control-file=true -o dl.sh https://raw.githubusercontent.com/Avaray/stable-diffusion-simple-wildcards/sdxl/scripts/download.sh && chmod +x dl.sh && ./dl.sh aria2c sdxl
curl -s https://raw.githubusercontent.com/Avaray/stable-diffusion-simple-wildcards/sdxl/scripts/download.sh | bash -s -- curl sdxl
You can find more ways to download the wildcards in DOWNLOAD.md file.
A Wildcard is essentially a name of a file that contains a list of keywords. If you have a file named colors.txt
, you can use the
wildcard in your prompt as __colors__
. Stable Diffusion will replace __colors__
with a random keyword from the colors.txt
file.
Let's say you want to generate a scene with a woman in a random location. Let her clothing be random as well.
photography of __nationalities__ woman, wearing __colors__ __clothes_upper__, standing in __locations__
The initial prompt will look like this:
photography of Spanish woman, wearing black dress, standing in restaurant
Show things available only in sd-dynamic-prompts extension
You can also use Variables
${c=__colors__} woman in __locations__, ${c} shirt, ${c} skirt, ${c} boots
The prompt will look like this:
woman in dressing room, pink shirt, pink skirt, pink boots
To get multiple values from one wildcard, you can specify amount of values you want to get.
photography of toy cars, {4$$__colors__}
The prompt will look like this:
photography of toy cars, red, blue, green, yellow
Show Warning
Checkpoints that are based on Pony Diffusion
may not work with some of these Wildcards. Pony Diffusion
checkpoints were trained on
completely different data and lack the knowledge about many things. Nationalities
, Artists
, Cameras
and Films
most likely will not
work at all. If you are planning to use these Wildcards for generating realistic scenes, you should use good checkpoints focused on real
people. I recommend using one of following checkpoints:
- RealVis
SDXL 1.0
- WildCardX
SDXL 1.0
- ZavyChroma
SDXL 1.0
- _CHINOOK_
SDXL 1.0
For Nationalities
it's good to be around CFG Scale 6-7
to see how prompt affect the generated person (you can read more about it
here). For Artists
it's better to have CFG Scale 2-5
to
achieve best results. In both cases Checkpoint will have the biggest impact on the final result. Every checkpoint is different.
- The list of Nationalities
nationalities.txt
was inspired by this Reddit post. - The list of Light types
lighting.txt
was inspired by this Reddit post. - The first list of Artists
artists.txt
was obtained from the Stable Diffusion Cheat-Sheet. - The second list of Artists
artists2.txt
was obtained from the SDXL Artist Style Studies. - The lists of Cameras
cameras.txt
and Filmscamera_films.txt
were obtained from the SDXL 1.0 Artistic Studies. - Lists of Characters from Videogames
videogame.txt
, Animationsanimation.txt
and Animeanime.txt
were created by etude2k and posted on CivitAI.
If you believe something is missing, that something could be useful, or that something should be removed, go ahead - fork this repository, edit the files, and submit a pull request.
Catch me on Discord if you have any questions or suggestions: avaray_
You can also support me on GitHub Sponsors, Patreon, or Buy Me a Coffee.