# 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.