Releases: uwidev/sd_extension-prompt_formatter
v0.3.2 Better weight checking
Now better verifies weight before trying to adding weight.
Raw Fixed Original
(XX:.2) => (XX:.2) =!> (XX:.2:1.10)
v0.3.1 No spaces after commas
For easier transversal when using a keyboard (ctrl+left/right).
v0.3 Brackets to Weights
Brackets will now be automatically converted to weights.
((a))
=> (a:1.21)
As you can see, it also gets rid of excess bracketing.
It works for nested things, and any weird things you want to do.
However, the correct protocol for managing composition diffusion within lesser emphasis e.g. [a:1.2 AND b:1.1]
is strange. Does it read as prompt editing or composition diffusion? And if the latter, would it be formatted as (a:1.2 AND b:1.1:0.91)
? It's currently unclear how SD exactly parses tokens in cases like this.
Perhaps for now, it's best to assume the user knows what they're doing.
v0.2 Stability over proof of concept
This version is a true prompt formatter, and doesn't go too far in improving user experience. It should be completely usable though, and shouldn't dramatically alter your prompt.
Tokens no longer have their weights automatically applied to the end with their bracketing simplified. That's a problem to be solved for another day.
Weighted tokens do not automatically separate anymore, since when writing clip-style prompts, that feature actually gets in the way. Having this be an option is planned as a future feature.
v0.1 Initial Release
It's the initial release... what else do you want to know?
May be buggy or format prompts correctly.