This extension adds simple Bubble Prompter ( by pols on HF ) functionality to the AUTOMATIC1111 Stable Diffusion web UI.
- Category-based word selection
- Random word addition
- Text processing utilities (replace spaces, clean commas, remove duplicates)
- Word emphasis and mitigation
- Clone this repository into the
extensions
folder of your Stable Diffusion WebUI installation:
git clone https://github.com/captainzero93/sd-webui-bubble-prompter.git bubble-prompter
- Restart the WebUI.
- Open the WebUI and navigate to the txt2img or img2img tab.
- Expand the "Bubble Prompter" accordion.
- Use the dropdowns to select categories and words.
- Utilize the buttons to manipulate your prompt text.
- Click "Process" to finalize your prompt.
scripts/bubble_prompter.py
: Main Python script for the extensionjavascript/bubble_prompter.js
: JavaScript file for client-side functionalitystyles.css
: CSS styles for the Bubble Prompter UIinstall.py
: Installation script for required dependencies- Various CSV files: Data files for categories and words
The UI is extremely simplistic in this implimentation, I have left the basic framework to restore the GUI if some one would like to do it. Contributions are welcome! Please feel free to submit a Pull Request.