Stable Diffusion prompt builder
Compose a clean, well-ordered Stable Diffusion prompt without fighting comma soup. Pick a subject, layer in style, lighting and detail tokens, apply attention weighting where it matters, and add model-appropriate quality boosters — then copy a prompt that pastes straight into AUTOMATIC1111, Forge, ComfyUI or any other SD interface.
How prompt order and weighting work
Stable Diffusion reads your prompt left to right and gives earlier tokens more influence, so the subject usually goes first and fine detail last. You can override the default emphasis with attention weighting:
(token:1.3) stronger emphasis
(token) ≈ 1.1× emphasis
[token] ≈ 0.9× de-emphasis
token BREAK start a fresh 75-token chunk
SD 1.5 was trained heavily on tag-style captions, so stacked quality tags like
masterpiece, best quality, highly detailed measurably help. SDXL and newer
checkpoints understand natural language better and need far less of this, so the
builder swaps booster presets based on the model you pick.
Tips for better prompts
- Lead with the subject. Put the main thing you want first; push style and camera details toward the end.
- Weight sparingly. Start at
1.1–1.3. Values above1.5often distort anatomy or burn the image. - Use BREAK to stop bleed. If a “red dress” is tinting the background,
separate the subject and scene with
BREAK. - Always pair with a negative prompt. Quality boosters do little without a matching negative prompt to remove artifacts.