AI Image Generators Guide » Prompting Guide
How to Write Effective AI Prompts
Updated January 2026 | 18 min read
The difference between a mediocre AI image and a stunning one often comes down to the prompt. Learning to write effective prompts is the most valuable skill you can develop for AI art. This guide covers universal principles that work across all generators, plus model-specific techniques for Midjourney, Stable Diffusion, DALL-E, and Flux.
The Anatomy of a Great Prompt
Effective prompts generally follow a structure, though you don't need to include every element every time:
[Subject] [Subject Details] [Setting/Environment] [Lighting] [Mood/Atmosphere] [Style] [Technical Specs]
Example: Breaking Down a Prompt
Subject: A young woman
Subject Details: with auburn hair, green eyes, freckles, wearing a cream sweater
Setting: sitting in a sunlit cafe by the window
Lighting: warm morning light streaming through glass
Mood: peaceful, contemplative
Style: portrait photography, shallow depth of field
Technical: 85mm lens, f/1.8, 4K
Combined: "A young woman with auburn hair, green eyes, and freckles, wearing a cream sweater, sitting in a sunlit cafe by the window, warm morning light streaming through glass, peaceful contemplative mood, portrait photography, shallow depth of field, 85mm lens, f/1.8, 4K"
Subject and Details
Start with your main subject. Be specific about what you want to see:
For People
- Demographics: Age range, gender, ethnicity (if relevant)
- Physical features: Hair color/style, eye color, skin tone, build
- Expression: Smiling, serious, contemplative, joyful
- Pose: Standing, sitting, walking, specific gesture
- Clothing: Style, colors, materials, accessories
For Objects/Scenes
- Materials: Metal, wood, glass, fabric types
- Colors: Specific hues, color relationships
- Condition: New, weathered, rustic, pristine
- Scale: Relative size, proportion to other elements
Pro Tip: The more specific you are about your subject, the more control you have. "A woman" gives the AI complete freedom. "A woman in her 30s with short black hair and warm brown eyes" narrows the possibilities significantly.
Setting and Environment
Context dramatically affects the output. Consider:
- Location type: Indoor, outdoor, urban, natural, fantastical
- Specific setting: "Victorian library," "modern Tokyo street," "misty forest"
- Time of day: Dawn, midday, golden hour, night, blue hour
- Weather: Sunny, overcast, rainy, snowy, stormy
- Season: Spring bloom, summer heat, autumn leaves, winter snow
Lighting: The Most Important Element
Lighting is arguably the most crucial aspect of any image. Master these keywords:
Natural Light
golden hour
blue hour
overcast
dappled light
harsh sunlight
soft daylight
Studio Light
rim lighting
key light
fill light
beauty lighting
Rembrandt lighting
split lighting
Dramatic
chiaroscuro
dramatic shadows
volumetric light
god rays
backlit
silhouette
Artificial
neon glow
candlelight
firelight
LED lighting
fluorescent
practical lights
Style Keywords
Style keywords tell the AI what aesthetic you're going for:
Photography Styles
Portrait
headshot
environmental portrait
editorial
fashion photography
candid
lifestyle
Technical
macro
long exposure
bokeh
tilt-shift
HDR
infrared
Art Styles
Traditional
oil painting
watercolor
charcoal sketch
ink drawing
pastel
gouache
Digital
concept art
digital painting
matte painting
3D render
vector art
pixel art
Movements
Art Nouveau
Art Deco
Impressionist
Surrealist
Minimalist
Baroque
Negative Prompts
Negative prompts tell the AI what to avoid. They're essential for Stable Diffusion and useful in other generators:
Negative prompt: blurry, low quality, distorted, watermark, text,
bad anatomy, extra limbs, deformed hands, ugly, duplicate,
morbid, mutilated, poorly drawn face, mutation, extra fingers
Common Negative Prompt Categories
- Quality: blurry, low quality, pixelated, jpeg artifacts, noisy
- Anatomy: bad hands, extra fingers, distorted face, bad proportions
- Unwanted elements: watermark, signature, text, logo, frame
- Style issues: oversaturated, washed out, overexposed, underexposed
Model-Specific Techniques
Midjourney
Midjourney uses parameters at the end of prompts:
--ar 16:9 for aspect ratio
--s 250 for stylize amount (0-1000)
--c 50 for chaos/variety (0-100)
--no [item] for negative prompt
--p for personalization
Midjourney responds well to aesthetic keywords and artist references. It tends to add artistic flair automatically.
Stable Diffusion
SD uses separate positive and negative prompt fields. Key techniques:
(important concept) for emphasis
((very important)) for strong emphasis
(concept:1.3) for precise weighting
- Extensive negative prompts are essential
- Quality boosters like "masterpiece, best quality, highly detailed"
DALL-E / GPT Image
DALL-E works best with natural language descriptions:
- Write conversationally, as if describing to a human artist
- Less need for technical keywords
- Excellent at understanding complex compositions
- Refine through conversation rather than prompt editing
Flux
Flux responds well to natural descriptions with technical details:
- Camera and lens specifications work well
- Lighting descriptions are particularly effective
- Photography terminology yields realistic results
- Less need for quality boosters than SD
Advanced Techniques
Prompt Building Strategy
- Start simple: Begin with just the subject
- Iterate: Add elements based on what's missing
- Subtract: Remove elements that cause problems
- Document: Save prompts that work well
Reference Images
Many generators support image prompting:
- Midjourney: Paste image URL at start of prompt
- Stable Diffusion: Use img2img or IP-Adapter
- Leonardo: Use image guidance feature
Composition Control
Keywords for controlling composition:
- Distance: close-up, medium shot, wide shot, extreme close-up
- Angle: bird's eye view, worm's eye view, Dutch angle, straight-on
- Framing: centered, rule of thirds, symmetrical, asymmetrical
Common Mistakes to Avoid
- Too vague: "A beautiful woman" gives too much freedom
- Too cluttered: Adding every keyword you know creates confusion
- Conflicting elements: "Photorealistic cartoon" sends mixed signals
- Wrong model for style: Don't ask Flux for anime or Midjourney for photorealism
- Ignoring negative prompts: Especially important for SD
Building Your Prompt Library
Keep a document of prompts that work well for you:
- Successful complete prompts
- Effective style combinations
- Reliable negative prompts
- Seeds for images you want to iterate on
Practice Exercise: Take one subject and create 10 variations by changing only the lighting. Then do the same for style, then setting. This builds intuition for how each element affects the output.
Conclusion
Prompting is a skill that improves with practice. Start with the fundamental structure, learn your chosen generator's quirks, and build a library of techniques that work for your style. The most important thing is to experiment constantly, as each generation teaches you something about how these models interpret language.
← Back to AI Image Generators Guide