{"id":20744574,"url":"https://github.com/avaray/stable-diffusion-simple-wildcards","last_synced_at":"2025-04-24T05:47:07.422Z","repository":{"id":205622989,"uuid":"714672097","full_name":"Avaray/stable-diffusion-simple-wildcards","owner":"Avaray","description":"Wildcards for Stable Diffusion. A curated collection of high-quality wildcards designed to enhance your scene generation. These wildcards will introduce an element of randomness, and allow for the creation of unique, realistic, and artistic images with ease.","archived":false,"fork":false,"pushed_at":"2025-04-18T15:13:43.000Z","size":9656,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"sdxl","last_synced_at":"2025-04-24T05:46:59.572Z","etag":null,"topics":["ai-art","artificial-intelligence","auto1111","automatic1111","genai","generative-ai","generative-art","pdxl","pony-diffusion","prompt","prompt-engineering","prompts","sd-dynamic-prompts","sdxl","stable-diffusion","stable-diffusion-webui","stablediffusion","wildcards"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Avaray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":"funding.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"Avaray","patreon":"Avaray_","buy_me_a_coffee":"avaray"}},"created_at":"2023-11-05T15:07:54.000Z","updated_at":"2025-04-23T11:36:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6109f10-44fc-4318-bca5-e420e9956a28","html_url":"https://github.com/Avaray/stable-diffusion-simple-wildcards","commit_stats":null,"previous_names":["avaray/stable-diffusion-simple-wildcards"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avaray%2Fstable-diffusion-simple-wildcards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avaray%2Fstable-diffusion-simple-wildcards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avaray%2Fstable-diffusion-simple-wildcards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avaray%2Fstable-diffusion-simple-wildcards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Avaray","download_url":"https://codeload.github.com/Avaray/stable-diffusion-simple-wildcards/tar.gz/refs/heads/sdxl","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250573343,"owners_count":21452345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-art","artificial-intelligence","auto1111","automatic1111","genai","generative-ai","generative-art","pdxl","pony-diffusion","prompt","prompt-engineering","prompts","sd-dynamic-prompts","sdxl","stable-diffusion","stable-diffusion-webui","stablediffusion","wildcards"],"created_at":"2024-11-17T07:16:09.735Z","updated_at":"2025-04-24T05:47:07.414Z","avatar_url":"https://github.com/Avaray.png","language":"TypeScript","funding_links":["https://github.com/sponsors/Avaray","https://patreon.com/Avaray_","https://buymeacoffee.com/avaray","https://www.patreon.com/c/avaray_"],"categories":[],"sub_categories":[],"readme":"# 📑 Wildcards Collection for Stable Diffusion\n\n![Nationalities](/images/animation.webp)\n\n**Wildcards** in this collection are mainly created for realistic scenes with people. However, they can be used for other types of art as\nwell. They will give you inspiration and boost your creativity.\n\nSince I work with these Wildcards myself, I catch problematic keywords and remove them. Sometimes I also add new keywords, and even entire\nfiles. I'm constantly looking for new ideas to expand this collection.\n\nThe main idea is to not overcomplicate things. Dealing with thousands of weirdly named wildcards may be overwhelming. I believe it's better\nto have a few that you **can remember** and **use effectively**.\n\n# 💻 Preparations\n\nSome [UIs](https://dav.one/useful-links-for-daily-work-with-stable-diffusion/#user-interfaces) support Wildcards out of the box, but some\ndon't.\\\nBelow you can find instructions on how to use Wildcards in specific UIs.\n\n## [Forge](https://github.com/lllyasviel/stable-diffusion-webui-forge) and other UIs based on [WebUI](https://github.com/AUTOMATIC1111/stable-diffusion-webui)\n\nYou need to install an extension. I recommend using\n[sd-dynamic-prompts](https://github.com/adieyal/sd-dynamic-prompts?tab=readme-ov-file#installation).\n\nMost likely, after installing the extension, you'll need to restart UI for the extension to work correctly.\\\n**A simple reload of WebUI may not be sufficient**.\n\nThe **path** to the Wildcards directory should look like this:\\\n`../stable-diffusion-webui/extensions/sd-dynamic-prompts/wildcards/`\n\n## [ComfyUI](https://github.com/comfyanonymous/ComfyUI)\n\nYou need to install custom Node. At the moment, `ImpactWildcardProcessor` from\n[ComfyUI-Impact-Pack](https://github.com/ltdrdata/ComfyUI-Impact-Pack) seems to be a good choice. You can install it using\n[ComfyUI Manager](https://github.com/ltdrdata/ComfyUI-Manager) and\n[here](https://github.com/ltdrdata/ComfyUI-extension-tutorials/blob/Main/ComfyUI-Impact-Pack/tutorial/ImpactWildcard.md) is a tutorial on\nhow to use it.\n\nThe **path** to the Wildcards directory should look like this:\\\n`../ComfyUI/custom_nodes/ComfyUI-Impact-Pack/custom_wildcards/`\n\n## [Fooocus](https://github.com/lllyasviel/Fooocus)\n\nFooocus supports Wildcards out of the box.\n\nThe **path** to the Wildcards directory should look like this:\\\n`../Fooocus/wildcards/`\n\n# 💾 Installation\n\nYou need to install the wildcard `.txt` files into the appropriate directory (refer to the [preparations](#-preparations) section). Navigate\nto **the proper directory** and download the files with one of the following commands:\n\n### Download automatically with [BASH](https://www.gnu.org/software/bash/) and [WGET](https://www.gnu.org/software/wget/)\n\n```bash\nwget -qO- https://raw.githubusercontent.com/Avaray/stable-diffusion-simple-wildcards/sdxl/scripts/download.sh | bash -s -- wget sdxl\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eShow more commands\u003c/summary\u003e\n\n### Download automatically with [BASH](https://www.gnu.org/software/bash/) and [ARIA2C](https://aria2.github.io/)\n\n```bash\naria2c -q --allow-overwrite=true --remove-control-file=true -o dl.sh https://raw.githubusercontent.com/Avaray/stable-diffusion-simple-wildcards/sdxl/scripts/download.sh \u0026\u0026 chmod +x dl.sh \u0026\u0026 ./dl.sh aria2c sdxl\n```\n\n### Download automatically with [BASH](https://www.gnu.org/software/bash/) and [CURL](https://curl.se/)\n\n```bash\ncurl -s https://raw.githubusercontent.com/Avaray/stable-diffusion-simple-wildcards/sdxl/scripts/download.sh | bash -s -- curl sdxl\n```\n\nYou can find more ways to download the wildcards in [DOWNLOAD.md](docs/DOWNLOAD.md) file.\n\n\u003c/details\u003e\n\n# ⚡️ Usage\n\nA **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\nwildcard in your prompt as `__colors__`. Stable Diffusion will replace `__colors__` with a random keyword from the `colors.txt` file.\n\nLet's say you want to generate a scene with a woman in a random location. Let her clothing be random as well.\n\n\u003e photography of **\\_\\_nationalities\\_\\_** woman, wearing **\\_\\_colors\\_\\_** **\\_\\_clothes_upper\\_\\_**, standing in **\\_\\_locations\\_\\_**\n\nThe initial prompt will look like this:\n\n\u003e photography of **Spanish** woman, wearing **black dress**, standing in **restaurant**\n\n\u003cdetails\u003e\n\u003csummary\u003eShow things available only in sd-dynamic-prompts extension\u003c/summary\u003e\n\u0026nbsp;\n\nYou can also use [Variables](https://github.com/adieyal/sd-dynamic-prompts/blob/main/docs/SYNTAX.md#variables)\n\n\u003e **\\${c=\\_\\_colors\\_\\_}** woman in **\\_\\_locations\\_\\_**, **\\${c}** shirt, **\\${c}** skirt, **\\${c}** boots\n\nThe prompt will look like this:\n\n\u003e woman in **dressing room**, **pink** shirt, **pink** skirt, **pink** boots\n\nTo get [multiple values](https://github.com/adieyal/sd-dynamic-prompts/blob/main/docs/SYNTAX.md#choosing-multiple-values) from one wildcard,\nyou can specify amount of values you want to get.\n\n\u003e photography of toy cars, **{4$$\\_\\_colors\\_\\_}**\n\nThe prompt will look like this:\n\n\u003e photography of toy cars, **red**, **blue**, **green**, **yellow**\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eShow Warning\u003c/summary\u003e\n\n### WARNING\n\nCheckpoints that are based on `Pony Diffusion` may not work with some of these Wildcards. `Pony Diffusion` checkpoints were trained on\ncompletely different data and lack the knowledge about many things. `Nationalities`, `Artists`, `Cameras` and `Films` most likely will not\nwork at all. If you are planning to use these Wildcards for generating realistic scenes, you should use good checkpoints focused on real\npeople. I recommend using one of following checkpoints:\n\n- [RealVis](https://civitai.com/models/139562?modelVersionId=789646) `SDXL 1.0`\n- [WildCardX](https://civitai.com/models/239561/wildcardx-xl) `SDXL 1.0`\n- [ZavyChroma](https://civitai.com/models/119229/zavychromaxl) `SDXL 1.0`\n- [\\_CHINOOK\\_](https://civitai.com/models/400589/chinook) `SDXL 1.0`\n\nFor `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\n[here](https://dav.one/using-prompts-to-modify-face-and-body-in-stable-diffusion-xl/)). For `Artists` it's better to have `CFG Scale 2-5` to\nachieve best results. In both cases Checkpoint will have the biggest impact on the final result. Every checkpoint is different.\n\n\u003c/details\u003e\n\n# 🍺 Original Sources and Copyrights\n\n- The list of Nationalities `nationalities.txt` was inspired by\n  [this Reddit post](https://www.reddit.com/r/StableDiffusion/comments/13oea0i/photorealistic_portraits_of_200_ethinicities/).\n- The list of Light types `lighting.txt` was inspired by\n  [this Reddit post](https://www.reddit.com/r/StableDiffusion/comments/1cjwi04/made_this_lighting_guide_for_myself_thought_id/).\n- The first list of Artists `artists.txt` was obtained from the\n  [Stable Diffusion Cheat-Sheet](https://supagruen.github.io/StableDiffusion-CheatSheet/).\n- The second list of Artists `artists2.txt` was obtained from the [SDXL Artist Style Studies](https://sdxl.parrotzone.art/).\n- The lists of Cameras `cameras.txt` and Films `camera_films.txt` were obtained from the\n  [SDXL 1.0 Artistic Studies](https://rikkar69.github.io/SDXL-artist-study/).\n- Lists of Characters from Videogames `videogame.txt`, Animations `animation.txt` and Anime `anime.txt` were created by\n  [etude2k](https://civitai.com/user/etude2k) and posted on\n  [CivitAI](https://civitai.com/models/338658/pony-diffusions-characters-wildcards).\n\n# 📝 Contributing\n\nIf you believe something is missing, that something could be useful, or that something should be removed, go ahead -\n[fork this repository, edit the files, and submit a pull request](https://docs.github.com/en/get-started/quickstart/contributing-to-projects).\n\nCatch me on [Discord](https://discord.gg/) if you have any questions or suggestions: `avaray_`\n\nYou can also support me on [GitHub Sponsors](https://github.com/sponsors/Avaray), [Patreon](https://www.patreon.com/c/avaray_), or\n[Buy Me a Coffee](https://buymeacoffee.com/avaray).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favaray%2Fstable-diffusion-simple-wildcards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favaray%2Fstable-diffusion-simple-wildcards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favaray%2Fstable-diffusion-simple-wildcards/lists"}