diff --git a/Custom-scripts-from-users.md b/Custom-scripts-from-users.md index 376534d..beda6b1 100644 --- a/Custom-scripts-from-users.md +++ b/Custom-scripts-from-users.md @@ -7,3 +7,12 @@ It allows a matrix prompt as follows: ` cat in a ` Does not actually draw a matrix, just produces pictures. + +## Wildcards +https://github.com/jtkelm2/stable-diffusion-webui-1/blob/master/scripts/wildcards.py + +Added script support so that prompts can contain wildcard terms (indicated by surrounding double underscores), with values instantiated randomly from the corresponding .txt file in the folder `/scripts/wildcards/`. For example: + +`a woman at a cafe by __artist__ and __artist__` + +will draw two random artists from `artist.txt`. This works independently on each prompt, so that one can e.g. generate a batch of 100 images with the same prompt input using wildcards, and each output will have unique artists (or styles, or genres, or anything that the user creates their own .txt file for) attached to it.