Style Mixer WebUI is a powerful extension for AUTOMATIC1111 Stable Diffusion WebUI that allows users to combine, organize, randomize, and manage multiple AI art prompt styles directly inside the Stable Diffusion interface.
This extension is designed for advanced prompt engineering workflows, enabling creators to build reusable JSON-based style libraries and dynamically apply positive and negative prompts during image generation.
Whether you're creating cinematic renders, anime artwork, photorealistic images, fantasy concepts, or experimental AI art, Style Mixer helps streamline prompt workflows and accelerate creative iteration.
Stable Diffusion Style Mixer, AUTOMATIC1111 extension, Stable Diffusion extension, AI art prompt manager, prompt engineering tool, Stable Diffusion stylesets, Stable Diffusion prompt mixing, AI image generation workflow, SDXL style prompts, Stable Diffusion JSON prompts, Stable Diffusion prompt presets, Stable Diffusion random prompt generator, AI art styles, prompt blending extension
The Style Mixer comes with hundreds of style presets across a host of different Categories from backgrounds to posture to eye color.
- Combine up to 4 styles per row
- Support for up to 50 style rows
- Stack positive and negative prompts dynamically
- Modular prompt engineering workflow
Organize styles into reusable JSON categories such as:
- Anime
- Cinematic
- Fantasy
- Horror
- Lighting
- Realism
- Camera Styles
- Environment Styles
- Character Styles
- Color Palettes
Style categories automatically load from the stylesets directory.
No coding required to add new style collections.
Randomly generate:
- Categories
- Style combinations
- Prompt mixes
Useful for:
- Inspiration
- Creative exploration
- Prompt experimentation
- Rapid iteration
Reload all JSON stylesets instantly using the Refresh button.
No need to restart Stable Diffusion WebUI after editing style files.
Includes:
- Global enable toggle
- Per-row enable toggles
- Disable negative prompts option
This allows precise control over prompt injection.
Style Mixer integrates directly into the AUTOMATIC1111 generation pipeline.
The extension automatically modifies:
p.all_promptsp.all_negative_prompts
Generation metadata is also stored for reproducibility.
Includes a centralized logger system designed specifically for AUTOMATIC1111 reload behavior.
Features:
- Structured console logs
- Duplicate handler prevention
- Debug visibility
- Safe reinitialization
Open the Extensions tab inside AUTOMATIC1111 WebUI and install using:
https://github.com/PurgatoryMP/Style-Mixer-WebUI.gitThen:
- Click Install
- Click Apply and Restart UI
Clone the repository into your Stable Diffusion WebUI extensions directory:
git clone https://github.com/PurgatoryMP/Style-Mixer-WebUI.gitPlace the extension inside:
stable-diffusion-webui/extensions/Restart WebUI after installation.
- AUTOMATIC1111 Stable Diffusion WebUI
- Python 3.10+
- Gradio
- Stable Diffusion WebUI scripting support
Open the Style Mixer accordion inside WebUI and enable the extension.
Click:
Add RowEach row acts as an independent style mix.
Choose a styleset category from the dropdown.
Examples:
- Cinematic
- Anime
- Lighting
- Realism
- Fantasy
Choose up to 4 styles per row.
The extension automatically combines:
- Positive prompts
- Negative prompts
Generate normally.
Style Mixer automatically injects prompts into the Stable Diffusion processing pipeline.
Styles are loaded from:
/stylesets/Every styleset file must follow this naming convention:
styleset-<category>.jsonExample:
styleset-cinematic.json[
{
"name": "Dark Cinematic",
"prompt": "cinematic lighting, volumetric fog, dramatic shadows",
"negative_prompt": "low quality, blurry, bad anatomy"
},
{
"name": "Film Noir",
"prompt": "film noir style, monochrome, high contrast",
"negative_prompt": "oversaturated, cartoon"
}
]| Field | Required | Description |
|---|---|---|
name |
Yes | Display name inside WebUI |
prompt |
No | Positive prompt text |
negative_prompt |
No | Negative prompt text |
Style Mixer supports:
{prompt}inside prompts for advanced workflow integration.
Style-Mixer-WebUI/
│
├── scripts/
│ ├── Style-Mixer-WebUI.py
│ ├── processor.py
│ ├── styleset.py
│ └── style_logger.py
│
├── stylesets/
│ ├── styleset-anime.json
│ ├── styleset-cinematic.json
│ └── styleset-realism.json
│
├── style.css
└── README.mdResponsible for:
- Loading JSON stylesets
- Validating categories
- Parsing style entries
- Sorting styles alphabetically
Handles:
- Prompt resolution
- Positive prompt merging
- Negative prompt merging
- Prompt injection into generation
Provides:
- Centralized logging
- Reload-safe initialization
- Structured console formatting
- Debug visibility
Style Mixer works well with:
- SDXL
- Stable Diffusion 1.5
- Pony Diffusion
- Anime checkpoints
- Realistic checkpoints
- LoRA workflows
- Embeddings
- Dynamic prompting
- Prompt scheduling systems
Pull requests, bug reports, and feature suggestions are welcome.
This project is licensed under the GNU GPL v3 License.