Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A custom script for AUTOMATIC1111/stable-diffusion-webui to implement a tiny template language for random prompt generation
| Date | Stars |
|---|---|
| 2026-07-31 | 2281 |
| 2026-08-02 | 2282 |
| 2026-08-06 | 2282 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Stable Diffusion Dynamic Prompts extension
A custom extension for [AUTOMATIC1111/stable-diffusion-webui](https://github.com/AUTOMATIC1111/stable-diffusion-webui) that implements an expressive template language for random or combinatorial prompt generation along with features to support deep wildcard directory structures.
Looking for ComfyUI nodes? Find them [here](https://github.com/adieyal/comfyui-dynamicprompts).
<p align="center">
<a href="docs/SYNTAX.md"><img src="images/icon-syntax.png" valign="middle" style="height:60px;margin-right:10px"/></a>
<a href="docs/tutorial.md"><img src="images/icon-tutorial.png" valign="middle" style="height:60px;margin-right:10px"/></a>
<a href="docs/CHANGELOG.md"><img src="images/icon-changelog.png" valign="middle" style="height:60px"/></a>
</p>
<img src="images/extension.png"/>
## Table of Contents
* [Basic Usage](#basic-usage)
* [Online resources](#online-resources)
* [Installation](#installation)
* [Configuration](#configuration)
* [Troubleshooting](#troubleshooting)
* [Compatible Scripts](#compatible-scripts)
* [Template syntax](#template-syntax)
* [Fuzzy Glob/recursive wildcard file/directory matching](#fuzzy-globrecursive-wildcard-filedirectory-matching)
* [Combinatorial Generation](#combinatorial-generation)
* [Combinatorial Batches](#combinatorial-batches)
* [Increasing the maximum number of generations](#increasing-the-maximum-number-of-generations)
* [Fixed seed](#fixed-seed)
* [Magic Prompt](#magic-prompt)
* [Other models](#other-models)
* [I'm feeling lucky](#im-feeling-lucky)
* [Attention grabber](#attention-grabber)
* [Write prompts to file](#write-prompts-to-file)
* [Jinja2 templates](#jinja2-templates)
* [WILDCARD_DIR](#wildcard_dir)
* [Collections](#collections)
* [Dynamic Prompts and Random Seeds](#dynamic-prompts-and-random-seeds)
* [Without Dynamic Prompts Enabled](#without-dynamic-prompts-enabled)
* [With Dynamic Prompts Enabled in Random/Standard Mode](#with-dynamic-prompts-enabled-in-randomstandard-mode)
* [Variation Seeds with Dynamic Prompts](#variation-seeds-with-dynamic-prompts)
* [Combinatorial Mode with Variation Strength > 0](#combinatorial-mode-with-variation-strength--0)
## Basic Usage
Using this script, the prompt:
A {house|apartment|lodge|cottage} in {summer|winter|autumn|spring} by {2$$artist1|artist2|artist3}
Will produce any of the following prompts:
- A **house** in **summer** by **artist1**, **artist2**
- A **lodge** in **autumn** by **artist3**, **artist1**
- A **cottage** in **winter** by **artist2**, **artist3**
- ...
This is especially useful if you are searching for interesting combinations of artists and styles.
You can also pick a random string from a file. Assuming you have the file seasons.txt in WILDCARD_DIR (see below), then:
__seasons__ is coming
Might generate the following:
- Winter is coming
- Spring is coming
- ...
You can also use the same wildcard twice
I love __seasons__ better than __seasons__
- I love Winter better than Summer
- I love Spring better than Spring
More complete documentation can be found [here](docs/SYNTAX.md).<br/>
Prefer a tutorial? <a href="docs/tutorial.md">Click here</a><br/>
Need a wildcard library? We've got you [covered](#collections).
## Online resources
You can find a list of tutorials and wildcard packs [here](docs/resources.md)
## Installation
The extension can be installed directly from within the **Extensions** tab within the Webui
<img src="images/installation.png"/>
You can also install it manually by running the following command from within the webui directory:
```shell
git clone https://github.com/adieyal/sd-dynamic-prompts/ extensions/sd-dynamic-prompts
```
You can create [wildcard files](#template-syntax) in `extensions/sd-dynamic-prompts/wildcards` or you can leverage the [pre-installed collections](#collections)
by using the "Wildcards Manager" tab Excerpt of 22,170 characters
Read on GitHub504
Aarni Koskela · @valohai · Finland
85
9
6
5
5
3
2
2
2
2
2
1
1
1
1
1
Ikko Eltociear Ashimine · Japan
1
Alex "mcmonkey" Goodwin · @FreneticLLC · United States
1
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:ddb3f71f2f91addf, desc:stable diffusion