How to Write Better AI Image Prompts: A Practical Framework with Examples
Good prompts are specific, ordered and iterated. This framework works across the major image generators.
The prompt framework
Most image generators respond best to prompts that cover the same building blocks. You do not need all of them every time, but thinking in this order prevents vague results.
| Block | Question it answers | Example |
|---|---|---|
| Subject | What is the main thing? | an elderly fisherman mending a net |
| Details / action | What is it doing, wearing, holding? | weathered hands, wool sweater, pipe in his mouth |
| Setting | Where and when? | on a wooden pier at dawn, light mist |
| Medium / style | What kind of image? | documentary photograph, 35 mm film grain |
| Lighting | How is it lit? | soft golden-hour backlight |
| Camera / composition | How is it framed? | 85 mm lens, shallow depth of field, close-up, rule of thirds |
| Mood and colour | How should it feel? | quiet, nostalgic, muted teal and amber palette |
| Exclusions | What should not appear? | no text, no watermark, no extra fingers |
The AI prompt generator turns these blocks into a ready-to-paste prompt, with formats for Midjourney, Stable Diffusion/Flux and natural-language tools.
Weak vs strong prompts
| Weak | Stronger | Why it is better |
|---|---|---|
| a nice landscape | a misty mountain valley at sunrise, pine forest in the foreground, wide-angle photograph, soft pink light | Names place, time, foreground, medium and light |
| cool robot | a small rusted maintenance robot watering plants in a greenhouse, 3D render, warm window light, shallow depth of field | Gives a story, material, setting and style |
| beautiful woman portrait | studio portrait of a woman in her thirties laughing, natural skin texture, soft window light, 85 mm, neutral grey backdrop | Describes what makes it good rather than using a vague adjective |
Order, emphasis and length
- Put the subject first. Many tools weigh earlier words more heavily.
- Be specific, not long. A focused prompt of 20–60 words usually beats a rambling paragraph that contradicts itself.
- Avoid conflicting instructions such as “photorealistic watercolour”.
- Use concrete nouns and measurable descriptions (“overcast daylight”) over abstract adjectives (“amazing”).
Differences between popular tools
Syntax varies, and it changes as tools update, so always check each tool’s current documentation.
- Midjourney accepts a descriptive phrase followed by parameters such as
--ar 16:9(aspect ratio),--stylize,--chaos,--seed,--v(version) and--nofor exclusions. - Stable Diffusion and Flux workflows often use a separate negative prompt field and optional emphasis weights, for example
(subject:1.3). - DALL·E, ChatGPT and Gemini generally respond well to natural sentences, and some refuse certain content under their policies.
Negative prompts
A negative prompt lists what you do not want, such as “blurry, low quality, watermark, extra fingers”. Use it to fix recurring problems, not as a long list of everything imaginable, because too many exclusions can distort results. Where a tool has no negative field, describe the positive instead (for example “clean empty background”).
Iterate like an experiment
- Generate a first image from a clear prompt.
- Identify one thing to change: lighting, framing, style or an exclusion.
- Change only that and compare.
- Keep the same seed, where available, when testing a single variable.
- Save prompts that work. The prompt generator keeps a history in your browser.
Responsible use
- Check each tool’s terms about commercial use and about people, brands and copyrighted characters.
- Be careful about prompts that imitate a living artist’s style or use trademarks.
- Do not present AI-generated images as real photographs where that would mislead people, and follow platform and legal disclosure rules.
- Remember that generated images may still need cropping or resizing; use the crop tool and the compressor before publishing.
Try it now: AI Prompt Generator
Free, private and runs in your browser. Nothing is uploaded.
Open AI Prompt GeneratorFrequently asked questions
Sources and further reading
External links open the original source. We cite primary or official documentation for factual claims and re-check them when we update an article. See our editorial policy.
Keep reading
- Aspect Ratios Explained: How to Choose and Crop to the Right OneWhat aspect ratio means, the most common ratios and where they are used, plus simple maths for cropping any photo to the ratio you need without distortion.
- Image Compression Explained: Formats, Quality Settings and ToolsHow image compression works, which format to use, what quality setting to pick and how to shrink photos without visible loss. A practical 2026 guide.
- Color Contrast for Accessibility: WCAG Ratios Explained with ExamplesWhat WCAG colour contrast ratios mean (4.5:1, 3:1, 7:1), how they are calculated, how to test your colours and how to fix failing text and UI elements.