← Back to tutorials

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 sunset
  • soft diffused light — soft scattered light (overcast/indoor)
  • dramatic rim lighting — dramatic edge lighting
  • studio lighting — professional studio lighting
  • volumetric light — light beams in fog
  • neon glow — neon light
  • candlelight — warm, intimate candle light
  • 1.4 Style

    Define the overall visual style:

    Photography styles:

  • photorealistic, shot on Sony A7III — realistic photography
  • 35mm film photograph — film grain texture
  • product photography — commercial product photography
  • Illustration styles:

  • digital illustration, flat design — flat illustration
  • oil painting, impressionist — oil painting, impressionist
  • watercolor, loose brushstrokes — watercolor
  • anime style, Studio Ghibli — Studio Ghibli anime style
  • 3D styles:

  • 3D render, octane render, soft shadows — 3D rendering
  • isometric view — isometric view (common for app illustrations)
  • 2. Platform Differences and Adaptation

    Midjourney

  • Strengths: automatic beautification, stable output
  • Tips: concise description + style words, no need for negative prompts
  • Example: portrait of an elegant elderly Japanese man, traditional clothing, contemplative, soft morning light, photorealistic
  • DALL-E 3 (ChatGPT / API)

  • Strengths: understands natural language, supports Chinese
  • Tips: use full sentences to describe the scene; it understands context
  • Example: Generate an image: a modern coffee shop interior, warm yellow lighting, young people working on laptops, rainy city street view outside, photography style
  • Stable Diffusion

  • Strengths: local and free, highly controllable
  • Tips: keyword list + negative prompts
  • Example: elegant Japanese elderly man, traditional kimono, soft morning light, photorealistic, ultra detailed, 8k | ugly, blurry, deformed
  • 3. 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

    ProblemCauseSolution

    Blurry/low quality imageNo quality words specifiedAdd "high quality, ultra detailed, sharp focus" Deformed handsHand generation is AI's weak pointAdd "perfect hands" or use inpainting to fix Too "AI-like" styleStyle words too genericReference specific artist or photographer styles Background too complexNo background controlAdd "clean background" or "simple background" Text generation errorsAI cannot reliably generate textDo not request text in prompts Multiple subjects in wrong positionsNo spatial relationship describedClearly specify each person's position and relationship

    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

  • Midjourney V7 Complete Guide
  • Stable Diffusion 3.5 Local Deployment Guide
  • AI Writing Humanization Techniques
  • Also available in 中文.