How to Write AI Image Prompts: Beginner to Pro Guide (2026)

Learn the exact AI prompt formula for stunning images. Subject, style, lighting, composition - with 10 free copy-paste prompt examples for Midjourney, DALL-E & more.

Prompt Writing Mar 17, 2026 · 12 min read
AI prompt formula diagram showing subject, style, lighting and composition elements  - Smart AI Edits

What Is an AI Image Prompt?

An AI image prompt is a text description that tells an AI image generator exactly what to create. Think of it as giving detailed instructions to an incredibly talented artist who can produce any style, scene, or concept - but only if you describe it clearly.

The better your prompt, the better your image. A vague prompt like "a cat" gives you a generic result. A detailed prompt like "a fluffy orange tabby cat wearing a tiny purple bow tie, sitting on a velvet cushion, soft studio lighting, shallow depth of field, photorealistic" gives you something stunning.

How AI Generators Interpret Prompts

AI models like Midjourney, DALL-E, and Stable Diffusion break your prompt into tokens - individual words and concepts. They then match these tokens against their training data to generate images. Word order matters: concepts mentioned first tend to have stronger influence. This is why structure is so important.

Why Prompt Quality Matters

The difference between amateur and professional AI art isn't the tool - it's the prompt. Professional prompt engineers know exactly which keywords trigger which visual effects. This guide teaches you those exact keywords and the formula that makes them work together.

The AI Prompt Formula (Subject + Style + Details + Lighting + Composition)

Every great AI image prompt follows the same 5-part structure. Master this formula and you'll consistently produce high-quality images on any platform.

Prompt anatomy breakdown with labeled sections

Subject Description

Start with the main subject. Be specific about what it is, what it's doing, and where it is. Instead of "a woman," write "a young woman with curly red hair, sitting at a coffee shop window, reading a book." The more concrete details, the more control you have.

Art Style Keywords

The style keyword is the single most impactful part of your prompt. It determines the entire visual language. "Pixar 3D render," "photorealistic," "watercolor painting," "anime illustration," "oil painting" - each produces a completely different result from the same subject. Learn more about every style option in our complete AI art styles guide.

Clothing & Accessories

Specific details prevent the AI from making random choices. Describe colors, materials, textures, and accessories. "Wearing a navy blue linen suit with gold cufflinks" is infinitely better than "wearing a suit." Every detail you add removes one random decision the AI would make.

Lighting & Atmosphere

Lighting transforms ordinary images into cinematic ones. Key phrases: "golden hour lighting," "dramatic rim lighting," "soft studio lighting," "neon glow," "volumetric fog," "moonlight through window." For a deep dive into lighting techniques, see our camera angles and lighting guide.

Camera Angle & Composition

Tell the AI where the virtual camera is. "Low angle hero shot," "extreme close-up," "wide establishing shot," "bird's eye view," "over-the-shoulder." Adding "shallow depth of field" or "bokeh background" creates professional-looking focus effects.

Resolution Keywords

End with quality boosters: "8K resolution," "ultra detailed," "sharp focus," "high quality," "professional photography." These push the AI to produce cleaner, more detailed outputs rather than settling for average quality.

Beginner vs Pro Prompt (Side-by-Side)

Let's see the formula in action. Here's the exact same concept - a cat in a library - written two ways:

❌ Beginner Prompt

A cat in a library
Beginner AI prompt result showing basic image output

✓ Pro Prompt

A fluffy white Persian cat wearing round gold spectacles, sitting on a leather armchair in an old mahogany library, surrounded by towering bookshelves, warm golden hour light streaming through tall windows, dust particles in volumetric light rays, shallow depth of field, Pixar 3D render style, 8K
Professional AI prompt result with detailed styling and lighting

Same subject. Dramatically different results. The pro prompt uses all 5 formula elements: specific subject, art style, details (spectacles, leather chair), lighting (golden hour, volumetric), and composition (shallow DOF, 8K).

10 Free AI Image Prompt Examples You Can Copy

Here are 10 ready-to-use prompts covering different styles. Copy them directly into Midjourney, DALL-E, Leonardo AI, or any generator:

Gallery of AI image prompt examples showing different styles
1. Photorealistic Portrait: A 25-year-old woman with freckles and auburn hair, wearing a cream turtleneck sweater, sitting in a minimalist cafe, soft window light on her face, shallow depth of field, shot on Canon R5 85mm f/1.4, warm color grading, photorealistic, 8K
2. Pixar 3D Character: An adorable anthropomorphic fox character wearing a tiny leather aviator jacket and goggles on his head, standing on an airfield with a vintage biplane behind him, golden sunset lighting, Pixar Disney 3D render, ultra detailed, cinematic
3. Anime Style: A young samurai woman with long black hair flowing in the wind, cherry blossom petals swirling around her, katana drawn in battle stance, traditional Japanese castle in background, dramatic low angle, anime illustration style, vibrant colors, 4K
4. Cyberpunk Scene: A neon-lit back alley in a cyberpunk city, rain-slicked streets reflecting pink and blue holographic advertisements, a lone figure in a long coat walking away, steam rising from grates, cinematic wide shot, Blade Runner atmosphere, 8K
5. Watercolor Art: A cozy English cottage with a thatched roof covered in climbing roses, a winding stone path through a wildflower garden, soft morning mist, delicate watercolor painting style, paper texture visible, muted pastel colors
6. Dark Fantasy: An ancient dragon with iridescent black scales perched atop a crumbling Gothic cathedral, lightning splitting the purple sky, rain pouring, glowing amber eyes, epic wide shot from below, dark fantasy art, hyper detailed, volumetric storm lighting
7. Minimalist Product: A sleek matte black wireless earbud floating in mid-air, single dramatic side light creating a sharp shadow, pure white background, ultra clean product photography, Apple style, 8K macro
8. Oil Painting: A misty harbor at dawn with fishing boats gently bobbing, old stone buildings along the waterfront, a fisherman mending nets on the dock, warm light breaking through clouds, impressionist oil painting style, visible brushstrokes, rich texture
9. Isometric 3D: An isometric view of a cozy home office setup with a wooden desk, dual monitors showing code, a steaming coffee mug, potted plants on shelves, cat sleeping on the chair, warm lamp lighting, isometric 3D render, pastel colors, clean minimal
10. Cinematic Food: A rustic sourdough bread loaf freshly sliced on a worn wooden cutting board, steam rising from the warm interior, butter melting on one slice, scattered flour and wheat stalks, dark moody food photography, side lighting, shallow DOF, 8K

Common Prompt Mistakes and How to Fix Them

Most AI images look bad not because of the tool, but because of fixable prompt errors. Here are the most common ones - for a complete breakdown of all 10 mistakes with visual examples, see our dedicated AI prompt mistakes guide.

Before and after prompt comparison showing improvement with keywords
  • Too vague: Add specific details - colors, materials, quantities, positions
  • No style keyword: Always include an art style or the AI picks randomly
  • Missing lighting: Without lighting direction, images look flat and amateur
  • Too many subjects: Keep focus on 1-2 main elements per image
  • Contradictory keywords: Don't mix "minimalist" with "ultra detailed complex" - pick a direction

Advanced Techniques

Negative Prompts

Negative prompts tell the AI what to exclude. In Stable Diffusion, use a separate negative prompt field. In Midjourney, use --no (e.g., --no text, watermark, blur). Common negative prompts: "blurry, low quality, deformed hands, extra fingers, watermark, text, signature."

Weighted Keywords

Some generators let you emphasize specific words. In Stable Diffusion, use parentheses: (golden lighting:1.5) makes it 1.5× stronger. In Midjourney, word order handles emphasis (earlier = stronger). This technique gives you fine-grained control over which elements dominate.

Style Mixing

Combine two styles for unique results: "Pixar 3D meets film noir," "watercolor with cyberpunk elements," "anime style but photorealistic lighting." Style mixing creates distinctive looks that stand out. Our art styles guide covers 15+ styles you can mix and match.

Which AI Generators Work Best With These Prompts

The prompt formula works universally, but each platform has strengths. For a full comparison with pricing and features, see our AI generator comparison guide.

Generator Best For Prompt Style Free Tier
MidjourneyArtistic quality, aestheticsKeywords + parametersNo
ChatGPT / DALL-EConversational, iterationNatural languageLimited
Leonardo AISpeed, model varietyKeywords + settingsYes (150/day)
Stable DiffusionControl, customizationWeighted keywordsYes (local)
FluxPrompt accuracy, textDetailed natural languageLimited
Adobe FireflyCommercial safetySimple keywordsYes (25/mo)

Each tool has a dedicated guide: Midjourney, ChatGPT + DALL-E, Leonardo AI, and Stable Diffusion.

Frequently Asked Questions

The best structure follows the formula: Subject + Style + Details + Lighting + Composition. Start with what you want (a cat wearing a suit), add the art style (Pixar 3D), include details (purple velvet suit, gold buttons), specify lighting (golden hour, rim lighting), and end with composition (low angle, shallow depth of field).

Effective prompts are typically 30-75 words. Too short (under 10 words) gives the AI too much freedom, resulting in generic images. Too long (over 100 words) can confuse the model. The sweet spot is detailed enough to be specific, but concise enough to be coherent.

The core formula works everywhere, but each platform has unique features. Midjourney uses parameters like --ar and --stylize. Stable Diffusion uses weighted keywords with parentheses. DALL-E responds well to conversational descriptions. Our tool-specific guides cover each platform's syntax.

Negative prompts tell the AI what NOT to include - like 'no blurry, no watermark, no extra fingers.' They're essential in Stable Diffusion and helpful in Midjourney (using --no). DALL-E handles this differently through conversation. They significantly improve output quality.

You'll get similar results but never identical ones due to random seed variation. The style, composition, and quality will be consistent. For exact replication, you need the same prompt + same seed number + same model version. Our example prompts are designed to produce consistently good results across attempts.

Continue Learning

← Back to All Guides