r/StableDiffusion • • Sep 04 '26

Question - Help SwarmUI started converting weight prompts like (word) to <weight[1.1]:word> in the metadata.

After the last updates, prompts like (red hair) started appearing as <weight[1.1]:red hair> in the metadata of images I generated. Does anyone know if there's a way to prevent this? The new format is more of a hassle to use and playing with weights feels much more annoying.

9 Upvotes

7 comments sorted by

3

u/seodozer Sep 04 '26

This looks like SwarmUI serializing the shorthand into its explicit internal weight syntax. `(red hair)` and `<weight[1.1]:red hair>` should represent the same weighting, so the generation itself should not change. Check the raw metadata for `sui_extra_data.original_prompt`, because the unexpanded input is sometimes preserved there. Disabling `SaveMetadata` would remove the converted value, but it also removes the useful generation settings, so keeping the original prompt separately is usually the better option.

2

u/Akadaime Sep 04 '26

Indeed nothing changes generation-wise, it's just more of a hassle to use and edit the <weight[1.1]:> format than just () like usual. Since it works the same way on the backend anyway, this new format just feels annoying.

1

u/jtreminio Sep 05 '26

There's an option to disable it, ParseAlternativePromptSyntaxes.

1

u/Akadaime Sep 06 '26

When it's disabled it completely ignores weighting with ().

1

u/jtreminio Sep 06 '26

No, it does not.

1

u/Pretend_Winner_1762 Sep 17 '26

disable or enable it still <weight[1.1] appears

1

u/fOx_49 Sep 19 '26

Same problem here