Allows you to use __name__ syntax in your prompt to get a random line from a file named name.txt in the wildcards directory.
Go to file
AUTOMATIC d2c836bc2d enable negative prompt wildcards 2024-08-03 11:43:06 +03:00
scripts enable negative prompt wildcards 2024-08-03 11:43:06 +03:00
wildcards first 2022-10-22 14:29:23 +03:00
.gitignore add --wildcards-dir commandline argument 2023-07-30 20:06:25 +03:00
README.md updated install 2023-07-30 20:12:45 +03:00
preload.py add --wildcards-dir commandline argument 2023-07-30 20:06:25 +03:00

README.md

Wildcards

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.

Install

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.

Install manually

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.