Complete Guide to AI Image Prompt Engineering: Universal Tips for Midjourney, DALL-E 3, and Stable Diffusion
Master the art of designing image prompts that work across tools
"Why does the same prompt produce great images for others but terrible ones for me?"
The answer is usually not the tool, but the quality of the prompt. Image prompts follow a learnable methodology—once you master it, you can generate great images with any AI image tool.
1. The Four Core Dimensions of Image Prompts
1.1 Subject
Describe the core content of the image:❌ Weak subject description: a woman ✅ Strong subject description: a 25-year-old Chinese woman in a traditional qipao, confident expression, standing posture
A subject description should include: age/features + clothing/state + action/pose
1.2 Context
Describe the environment surrounding the subject:❌ Weak context description: in a city ✅ Strong context description: on a bustling Shanghai street at night, neon signs reflecting on wet pavement, shallow depth of field
A context description should include: location features + time/weather + spatial relationships
1.3 Lighting
Lighting is key to making images look professional and is often overlooked:Common lighting terms:
golden hour — warm yellow light just after sunrise or before sunsetsoft diffused light — soft scattered light (overcast/indoor)dramatic rim lighting — dramatic edge lightingstudio lighting — professional studio lightingvolumetric light — light beams in fogneon glow — neon lightcandlelight — warm, intimate candle light1.4 Style
Define the overall visual style:Photography styles:
photorealistic, shot on Sony A7III — realistic photography35mm film photograph — film grain textureproduct photography — commercial product photographyIllustration styles:
digital illustration, flat design — flat illustrationoil painting, impressionist — oil painting, impressionistwatercolor, loose brushstrokes — watercoloranime style, Studio Ghibli — Studio Ghibli anime style3D styles:
3D render, octane render, soft shadows — 3D renderingisometric view — isometric view (common for app illustrations)2. Platform Differences and Adaptation
Midjourney
portrait of an elegant elderly Japanese man, traditional clothing, contemplative, soft morning light, photorealisticDALL-E 3 (ChatGPT / API)
Generate an image: a modern coffee shop interior, warm yellow lighting, young people working on laptops, rainy city street view outside, photography styleStable Diffusion
elegant Japanese elderly man, traditional kimono, soft morning light, photorealistic, ultra detailed, 8k | ugly, blurry, deformed3. High-Frequency Use Case Templates
Commercial Product Photography
[product name] product photography, minimalist white background,
soft studio lighting, high-end commercial photography,
ultra detailed, sharp focus
Blog Cover Illustration
[theme] conceptual illustration, digital art,
modern flat design, vibrant colors,
professional editorial style, 16:9 aspect ratio
Portrait Headshot
professional headshot of [describe person],
business attire, neutral expression,
studio lighting, white background,
photorealistic, sharp focus
Scene Atmosphere Image
[scene description], cinematic composition,
atmospheric, [time of day] lighting,
[art style] style, high detail
Logo and Icon
[description], minimal logo design, clean vector style,
white background, simple geometric shapes,
professional brand identity
4. Common Failure Causes and Fixes
5. Advanced: Use AI to Generate Prompts
You can ask ChatGPT or Claude to optimize your prompts:
I want to generate an image: a futuristic city night scene with AI elements.
Please help me expand this idea into an English prompt suitable for Midjourney V7,
including specific lighting descriptions, composition suggestions, and style references.
Further Reading
Also available in 中文.