How to Write a Good AI Image Prompt

AI image tools such as Midjourney, DALL-E, Leonardo and Firefly can create striking images in seconds — or they can create something you would never use. The difference is rarely the tool. It is the prompt. A vague prompt leaves every decision to the tool, so the result is unpredictable. A detailed prompt makes the decisions for it, so the result is close to what you had in mind.
This guide explains the five parts of a good image prompt, shows good and vague prompts side by side, and explains negative prompts and aspect ratios. You can try every idea here with our free AI Image Prompt Generator, which builds a prompt from subject, style, lighting, camera, colours and aspect ratio, and includes five presets to start from.
The five parts of a good prompt
Every good image prompt answers five questions. You do not need all five every time, but a prompt that answers none of them is a guess, and a prompt that answers all five is a brief.
| Part | What to include | Example |
|---|---|---|
| Subject | What is in the image | A ceramic coffee mug on a wooden table |
| Style | The look | Product photography |
| Lighting | How it is lit | Studio lighting |
| Detail | Camera, colours and mood | Macro close-up, warm neutrals |
| Aspect ratio | The shape of the image | 1:1 for a feed post |
1. Subject: one clear thing
Start with one clear subject. “A ceramic coffee mug on a wooden table” works; “a cosy cafe scene with a mug, a laptop, a plant, a window and a cat” usually does not, because the tool has to fit too much into one image and nothing is in focus. If you need several things in the image, name the main subject first and keep the rest to one or two supporting details.
2. Style: name the look
Style is the fastest way to change the result. “Product photography”, “watercolour”, “3D render”, “minimal flat illustration” and “cinematic” each produce a completely different image from the same subject. If you are making images for a campaign, pick one style and use it for every image — consistency matters more than variety, and a set of images in the same style looks like a brand, not a collection of accidents.
3. Lighting: set the mood
Lighting does more work than most beginners expect. “Soft natural light” gives a calm, everyday feel; “golden hour” gives warm, long shadows; “studio lighting” gives a clean commercial look; “dramatic shadows” gives a moody one. Name the lighting explicitly, or the tool will choose for you — and its choice may not match the mood of the page the image is for.
4. Detail: camera, colours and mood
Detail is where a prompt stops being generic. A camera or lens — “85mm portrait lens”, “macro close-up”, “wide angle”, “drone view” — changes the framing. Colours — “warm neutrals”, “navy and teal”, “warm oranges and blues” — set the palette. Add one or two details, not ten; too many details fight each other, and the tool will ignore some of them.
5. Aspect ratio: match where the image will live
Aspect ratio is the shape of the image, and it should match where the image will be used. Use 1:1 for feed posts, 9:16 for stories and reels, 16:9 for video thumbnails and website headers, and 4:5 for portraits. Cropping a wide image into a square after the fact usually cuts off the subject — so choose the ratio before you generate, not after.
Good prompts vs vague prompts
| Vague prompt | Good prompt | Why it works better |
|---|---|---|
| “a coffee mug” | “a ceramic coffee mug on a wooden table, product photography, studio lighting, macro close-up, warm neutrals, 1:1” | Every decision is made for the tool |
| “a mountain” | “mountains at sunrise over a lake, cinematic, golden hour, wide angle, warm oranges and blues, 16:9” | Style, light and framing are all specified |
| “a logo” | “a minimalist mountain logo, minimal flat illustration, navy and teal, 1:1” | Style and palette match the use |
| “a woman” | “a smiling woman in a studio, photorealistic, soft natural light, 85mm portrait lens, warm neutrals, 4:5” | Subject, light and lens are clear |
Notice what the good prompts have in common: they are specific, but not long. Each one is a single sentence. You do not need a paragraph; you need the right five pieces of information.
What is a negative prompt?
A negative prompt tells the image tool what to avoid. Common ones are “blurry, distorted, low quality, extra fingers, watermark, text”. They are especially useful for hands, faces and text, where image tools still make mistakes. Add a negative prompt when you keep getting the same flaw in your results — it is faster than rewording the main prompt ten times. Not every tool supports negative prompts in the same way, so check the tool you use; our generator includes a negative prompt with every prompt it builds.
Tips and common mistakes
- Be specific about the subject — one clear subject beats a crowded scene.
- Save prompts that work well, so you can reuse the same style across a campaign.
- Try the same prompt with a different style to compare results before settling on one.
- Check the licensing terms of your image tool before using an image commercially — rules differ between tools and plans.
- If the result is wrong, change one part of the prompt at a time. Changing everything at once will not tell you what was wrong.
- Do not expect a perfect image on the first try. Generate a few variations, pick the best, and refine from there.
Frequently asked questions
How detailed should an AI image prompt be?
Include subject, style, lighting, camera or lens, colours and aspect ratio. A one-word prompt gives unpredictable results; a detailed prompt gives a usable image.
What is a negative prompt?
Words telling the image tool what to avoid, such as “blurry, watermark, distorted”. They are especially useful for hands, faces and text.
What is the best aspect ratio for social media?
1:1 for feed posts, 9:16 for stories and reels, 16:9 for video thumbnails and website headers. Choose the ratio before you generate, not after.
Can I use AI images commercially?
It depends on the image tool's terms and your plan. Check the licensing terms of the tool you use before publishing an image commercially.
Why does my image look different from my prompt?
Usually because the prompt left decisions open — style, lighting or framing. Add those parts explicitly and generate a few variations.
Which AI image tools accept this kind of prompt?
Midjourney, DALL-E, Leonardo, Firefly and most other image generators accept the same style of prompt: subject, style, lighting, detail and aspect ratio.
Related articles and tools
Best AI Writing Tools for BeginnersHow to Write a Blog Post with AIAI Image Prompt GeneratorAI Blog Prompt BuilderAI ToolsBlog
Prices shown are indicative and checked 2026-12-05 — always verify the current price on the vendor’s website before buying. This article is research-based; we do not claim to have personally tested software we have not used.