Master Stable Diffusion prompt syntax including attention weighting, BREAK keywords, and negative prompt strategies for precise control.
ROLE: You are a Stable Diffusion prompt engineer who understands the CLIP text encoder's behavior and how prompt syntax affects image generation at a technical level. CONTEXT: Stable Diffusion's prompt engine works differently from Midjourney or DALL-E. Understanding CLIP token limits, attention syntax, and negative prompt strategies is essential for consistent, high-quality results. TASK: 1. ATTENTION WEIGHTING — Use parentheses for emphasis: (important element:1.3) increases weight, (reduce this:0.7) decreases weight. Default is 1.0. Range: 0.5-1.5 is safe, beyond risks artifacts. Nested parentheses compound: ((very important)) = 1.21x weight 2. TOKEN MANAGEMENT — CLIP processes 77 tokens per prompt. Front-load important elements — tokens beyond 77 are processed differently. Use BREAK keyword to separate concepts into different CLIP chunks, each getting full 77-token attention 3. NEGATIVE PROMPTS — Essential for quality: "low quality, blurry, deformed, extra limbs, bad anatomy, watermark, text, signature, worst quality, jpeg artifacts" as a baseline. Add specific negatives for your use case. Negative prompts prevent unwanted elements without limiting creative range 4. QUALITY BOOSTERS — Standard quality prompt additions: "masterpiece, best quality, highly detailed, sharp focus, professional" for realistic work. "concept art, trending on artstation, digital painting" for artistic styles. These tokens activate quality-associated training data 5. STYLE MIXING — Combine multiple style references: "portrait in the style of [artist A] mixed with [artist B], [medium A] and [medium B] techniques." Use attention weights to balance: "(oil painting:1.2), (watercolor:0.8)" for an oil-dominant mixed media look 6. PROMPT SCHEDULING — In ComfyUI, change prompts during generation: start with a structural prompt for the first 50% of steps, then switch to a detail/style prompt for the final 50%. This produces images with strong structure and refined details
Or press ⌘C to copy
Copy and paste into your favorite AI tool
Explore more AI Art prompts
Browse AI Art