A GUI for testing dynamic prompts and wildcards. Perfect for testing text generation prompts, templates, or any text that uses dynamic placeholders.
For more information regarding dynamic prompts: https://github.com/adieyal/sd-dynamic-prompts
Note
Still in early development!
Interaction between tabs is limited:
- Only sending prompts from the "Saved Prompts" tab to the "Prompt Tester" tab is supported.
- Saving/loading prompts from the "Prompt Tester" tab is not yet implemented.
Some Dynamic Prompt syntax isn't supported in the "Prompt Tester" like Weighting Options, Omitting Bounds, and some more.
- Live Processing: See results in real-time as you type
- Dynamic Prompt Syntax: Use
Dynamic Prompt
syntax to insert dynamic content - Wildcard Support: Use
__wildcard__
syntax to insert dynamic content - Fixed Seed Option: Get consistent results for testing
- Text Statistics: Character, word, and estimated token counts
- Collapsible Output: Option to collapse output to a single line
- Built-in Help: Access help for syntax tips and usage
- Save & Organize: Store prompts in a hierarchical folder structure (JSON format)
- Quick Search: Find prompts by name or content
- Import/Export: Save and load your prompt library
- Enter your text in the input pane
- use
Dynamic Prompt
syntax to insert dynamic content - Use
__wildcard__
syntax to insert dynamic content - View the processed result in the output pane
- Create .txt files in your wildcards folder
- Each file should contain one item per line
- Select the wildcards path using the "Browse..." button
- The last selected path will be remembered
- Reference wildcards using
__filename__
syntax - Example:
Hello __names__
will randomly select a name from names.txt
- Switch to the "Saved Prompts" tab
- Create folders to organize your prompts
- Add new prompts using the "New" menu
- Edit and save prompts as needed
- Your prompts/folders will be saved in JSON format
- Python 3.10+
- Pillow 11.0+
- TkToolTip 1.6+ = https://github.com/Nenotriple/TkToolTip
- Clone the repository
git clone https://github.com/Nenotriple/TkToolTip.git
- Create a virtual environment/install dependencies/Start the GUI:
- Run
Start.bat
- After the virtual environment is created you can change the
Start.bat
argumentset "FAST_START=FALSE"
toset "FAST_START=TRUE"
to skip the dependency installation step in the future.