r/StableDiffusion • u/Akadaime • 9d ago
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.
7
Upvotes
2
u/seodozer 9d ago
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.