Remove duplicated spaces and commas.
 
 
 
Go to file
Haoming 61d8512c3a New Feature & Optimization
Added Brackets Escape
2023-06-01 17:53:01 +08:00
javascript New Feature & Optimization 2023-06-01 17:53:01 +08:00
.gitattributes New Feature & Optimization 2023-06-01 17:53:01 +08:00
Demo.jpg New Feature & Optimization 2023-06-01 17:53:01 +08:00
LICENSE Init 2023-05-04 22:26:36 +08:00
README.md New Feature & Optimization 2023-06-01 17:53:01 +08:00

README.md

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 txt2img and img2img
  • Remove duplicated spaces and commas
  • Fix misplaced brackets and commas
  • Toggle Remove Duplicates to remove identical tags found in the prompts
    • Note: Only works for tag-based prompt, not sentence-based prompt
      • eg. 1girl, solo, smile, 1girl will become 1girl, solo, smile
      • eg. a girl smiling, a girl standing will not be changed
  • Toggle Remove Underscores to replace _ with space
    • Some newer anime checkpoints claim to eliminate the need of using underscores
  • Respect line breaks
    • Note: Remove Duplicates only checks within the same line
  • [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 like mejiro mcqueen \(umamusume\).