1.4 KiB
1.4 KiB
SD Webui Prompt Format
This is an Extension for the Automatic1111 Webui, which helps formatting prompts.

The above demo was achieved in just 1 process
Sometimes, when you type too fast or copy prompts from all over the places, you end up with duplicated spaces or commas. This simple Extension helps removing them whenever you click Generate.
Feature List
- Works in both
txt2imgandimg2img - Remove duplicated spaces and commas
- Fix misplaced brackets and commas
- Toggle
Remove Duplicatesto remove identical tags found in the prompts- Note: Only works for tag-based prompt, not sentence-based prompt
- eg.
1girl, solo, smile, 1girlwill become1girl, solo, smile - eg.
a girl smiling, a girl standingwill not be changed
- eg.
- Note: Only works for tag-based prompt, not sentence-based prompt
- Toggle
Remove Underscoresto replace_with space- Some newer anime checkpoints claim to eliminate the need of using underscores
- Respect line breaks
- Note:
Remove Duplicatesonly checks within the same line
- Note:
- [New] Pressing
Ctrl + \to quickly escape the brackets of the hovered tag- Normally, brackets (parentheses) are used to increase the weight of a prompt. Therefore, for tags like
mejiro mcqueen (umamusume), you will need to escape it likemejiro mcqueen \(umamusume\).
- Normally, brackets (parentheses) are used to increase the weight of a prompt. Therefore, for tags like