Compress

Compress JPGCompress PNGCompress WebPCompress AVIFCompress to 100 KBCompress to 200 KBCompress to 500 KB

Convert

Convert to JPGConvert to PNGConvert to WebPConvert to AVIFWebP to JPGPNG to JPGJPG to PNGWebP to PNG

Image tools

Crop ImageResize ImageImage to PDFImage to Base64

More tools

AI Prompt GeneratorColor PickerTime Zone ConverterQR Code GeneratorWord CounterPassword Generator
AI Tools

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.

BlockQuestion it answersExample
SubjectWhat is the main thing?an elderly fisherman mending a net
Details / actionWhat is it doing, wearing, holding?weathered hands, wool sweater, pipe in his mouth
SettingWhere and when?on a wooden pier at dawn, light mist
Medium / styleWhat kind of image?documentary photograph, 35 mm film grain
LightingHow is it lit?soft golden-hour backlight
Camera / compositionHow is it framed?85 mm lens, shallow depth of field, close-up, rule of thirds
Mood and colourHow should it feel?quiet, nostalgic, muted teal and amber palette
ExclusionsWhat 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

WeakStrongerWhy it is better
a nice landscapea misty mountain valley at sunrise, pine forest in the foreground, wide-angle photograph, soft pink lightNames place, time, foreground, medium and light
cool robota small rusted maintenance robot watering plants in a greenhouse, 3D render, warm window light, shallow depth of fieldGives a story, material, setting and style
beautiful woman portraitstudio portrait of a woman in her thirties laughing, natural skin texture, soft window light, 85 mm, neutral grey backdropDescribes 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”).

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 --no for 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

  1. Generate a first image from a clear prompt.
  2. Identify one thing to change: lighting, framing, style or an exclusion.
  3. Change only that and compare.
  4. Keep the same seed, where available, when testing a single variable.
  5. 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 Generator

Frequently asked questions

There is no fixed length. Many good prompts are 20–60 words. Add details only when they change the result.
They help in tools that support them, but they are not guarantees. Positive descriptions usually have a stronger effect.
A number that initialises the random generator. Reusing a seed with the same prompt and settings can reproduce a similar image, which helps when testing one change at a time.
Model version, settings, seeds and random variation all change results, and shared examples often hide their full settings.
It depends on the tool’s terms, the content and your jurisdiction. Read the licence of the service you use.

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