SD Token Weight Syntax Builder

Build (token:weight) and [token] syntax for SD prompts without typos

Ad placeholder (leaderboard)

Stable Diffusion token weight syntax builder

Emphasising the right words is how you get Stable Diffusion to actually paint what you asked for — but hand-typing ((nested)) brackets is error-prone and a single mismatched parenthesis can break the whole prompt. Paste your prompt, set an exact weight per token with a slider, and copy correct (token:weight) syntax with no typos.

How attention weighting works

Stable Diffusion converts your prompt into token embeddings and lets you scale the attention each token receives:

(token:1.3)   exactly 1.3× attention (emphasis)
(token)       ≈ 1.1× attention
[token]       ≈ 0.9× attention (de-emphasis)
((token))     ≈ 1.21× (nesting multiplies)

The legacy nested-bracket forms are equivalent to a single numeric weight, which is why this builder always emits the explicit (token:weight) form — it is the clearest and works identically across AUTOMATIC1111, Forge and ComfyUI. A weight of exactly 1.0 is left as plain text, since multiplying by one changes nothing.

Tips for clean weighting

  • Stay between 0.8 and 1.4. This is the sweet spot for most checkpoints.
  • Boost one thing at a time. Weighting everything to 1.3 is the same as weighting nothing.
  • De-emphasise instead of deleting. If a concept keeps dominating, try 0.80.9 before removing it entirely.
  • SDXL is gentler. It responds to smaller nudges, so start lower than you would on SD 1.5.
Ad placeholder (rectangle)