Uncensored Image Start generating
PromptingHow-toImage generation

How to Write AI Image Prompts: A Practical Formula (With Examples)

A simple six-part formula for AI image prompts, with before-and-after examples, model-specific tips for FLUX and Stable Diffusion, and common mistakes.

By the Uncensored Image Generator AI editorial team· Updated · 3 min read

The fastest way to better AI images isn’t a bigger model, it’s a better prompt. Here’s a formula that works across most image generators, plus the model-specific details that trip people up.

The six-part formula

Strong prompts cover six ingredients, roughly in this order:

  1. Medium, photograph, oil painting, charcoal sketch, 3D render, film still.
  2. Subject, who or what, doing what.
  3. Setting, where, and what’s in the background.
  4. Lighting, golden hour, candlelight, neon rim light, overcast.
  5. Camera / composition, 85mm portrait, wide angle, low angle, close-up.
  6. Mood and detail, ominous, serene, highly detailed, film grain.

The AI image prompt builder assembles these for you.

Before and after

Before: a scary doctor

After: An oil painting of a plague doctor standing in a flooded cathedral, candles floating on black water, lit by flickering candlelight, low-angle wide shot, ominous and still, rich texture, dramatic shadows.

The second prompt gives the model decisions to follow instead of gaps to fill with generic averages.

Model-specific tips

FLUX-family models

These models use a powerful text encoder and understand full sentences, spatial relationships and even short text in images. Write naturally, be specific about positions (“on the left”, “in the foreground”) and skip keyword spam. Classic negative prompts generally aren’t used with them.

Stable Diffusion-family models (SD 1.5, SDXL)

These were trained on caption-style text and respond well to comma-separated tags. Put the most important concepts first, use attention weights sparingly, for example (candlelight:1.2), and add a focused negative prompt. Build one with the negative prompt generator.

Resolution: change the shape, not the size

Models are trained at a fixed pixel budget, about one megapixel for SDXL and FLUX-family models. Going much larger in one step causes duplicated subjects and odd anatomy. Instead, keep the pixel count near native, pick the aspect ratio you want, and upscale afterwards. The aspect ratio calculator gives exact dimensions.

Use seeds to refine deliberately

Every generation starts from random noise defined by a seed. When you get a composition you like, lock the seed and change one thing at a time, lighting, then mood, then detail. You’ll learn what each word does instead of rolling the dice again.

Common mistakes

  • Too many subjects. Models blend them. Focus on one main subject.
  • Contradictions. “Minimalist, highly detailed, cluttered” cancels itself out.
  • Vague lighting. Lighting is the single biggest lever on mood, always specify it.
  • Ignoring composition. “Close-up” versus “wide shot” changes everything.
  • Prompt bloat. Past about 60 words, extra terms mostly dilute the important ones.

Practice prompt

Try this structure on your next image: [Medium] of [subject] [doing something] in [setting], lit by [lighting], [camera], [mood], [detail]. Fill it in, generate four, lock the best seed and refine.

When you’re ready, open the generator and put the formula to work.

Common questions

Should I use artist names in prompts?

Describe the style instead, era, medium, palette, lighting. It's more controllable, works across models and avoids imitating living artists.

Why do my images have extra fingers?

Hands are hard for diffusion models. Generate at native resolution, use a negative prompt on Stable Diffusion-family models, or try a newer model with better anatomy.

How many images should I generate per prompt?

Four is a good batch. Pick the best seed, lock it, and refine the prompt from there.

Related reading

Browse more: all guides · comparisons · glossary · free tools

Your imagination, minus the blur filter.

Open the uncensored AI image generator and make the picture you've been describing in your head.