An extension version of a script from https://github.com/jtkelm2/stable-diffusion-webui-1/blob/main/scripts/wildcards.py
Allows you to use __name__
syntax in your prompt to get a random line from a file named name.txt
in the wildcards directory.
To install from webui, go to Extensions -> Install from URL
, paste https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards.git
into URL field, and press Install.
Alternatively, to install by hand:
From your base stable-diffusion-webui
directory, run the following command to install:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards extensions/stable-diffusion-webui-wildcards
Then restart the webui.