Prompt Engineering
Hands-onBeginner 22 min· Advanced techniques · 10 of 18

Prompting image and media generators

Learn a simple formula for prompting AI image generators, how to iterate on a result, and what they cannot do reliably. Includes ready prompts for posters, logos, thumbnails and diagrams, and the rules for using AI images responsibly.

Image generators turn a written description into a picture. They are useful for posters, college event banners, presentation visuals, YouTube thumbnails, app mock-ups and mood boards. The skill is the same one you learned for text: say exactly what you want. The difference is that you are describing something to see, so you need to name subject, style, light and framing.

In this tutorial you will build a prompt formula, make a poster for the Brew & Bean coffee shop, learn to refine results step by step and learn what these tools get wrong.

Prerequisites: access to any image generator. Several chat tools and design tools include free image generation with daily limits, and free access changes often, so check what your own tools offer today. The method works in all of them.

The image prompt formula

A short prompt such as "a coffee cup" leaves every decision to the tool, so you get a generic stock-style image. Add the decisions you care about, in roughly this order. Most tools weight the beginning of the prompt more, so put the most important thing first.

Parts of an image prompt

PartWhat to sayExample
SubjectWhat is in the picture, with details"a steaming glass of cold brew with ice, on a wooden table"
SettingWhere and when"in a small cafe in Bengaluru, morning light through a window"
StyleThe look: photo, illustration, flat vector, watercolour, 3D render"flat vector illustration, warm colours"
CompositionCamera angle, framing, space for text"top-down view, empty space at the top for a title"
Mood and colourFeeling and palette"calm, cosy, brown and cream colours"
FormatShape and use"portrait poster", "16:9 YouTube thumbnail", "square Instagram post"
Prompt · Formula prompt (fill in the brackets)
[Subject with details], [setting and time of day], [style], [camera angle and framing], [mood and colours]. Format: [aspect ratio or use, e.g. 16:9 thumbnail]. Leave empty space for [text/logo] at the [top/bottom].

What to expect: Write it as one or two flowing lines, not a long list. Try the same prompt three times: results vary each run, and that is normal.

Build a poster step by step

Let us make a poster background for Brew & Bean's new cold brew. We start with a weak prompt and improve one part at a time, so you can see what each part changes.

From weak to strong

  1. 1Weak: "Cold brew coffee poster." Run it and note what you dislike (usually: generic look, random text, no room for your own words).
  2. 2Add subject and setting: "A tall glass of cold brew with ice cubes on a wooden cafe table, soft morning light from a window."
  3. 3Add style and mood: "Photorealistic, shallow depth of field, calm and cosy, warm brown and cream colours."
  4. 4Add composition and format: "Portrait poster, 3:4, glass in the lower third, large empty space at the top for a title."
  5. 5Remove anything you do not want, in positive words ("plain wall behind the glass") rather than only saying what to avoid. Some tools have a separate negative prompt box; use it if yours does.
  6. 6Add your real text later in a design tool such as Canva, PowerPoint or Photoshop, not in the generator (see the warning on text below).
Prompt · Poster background
A tall glass of cold brew coffee with ice cubes on a dark wooden cafe table, soft morning light from a window on the left. Photorealistic, shallow depth of field, calm and cosy mood, warm brown and cream colour palette. Portrait poster, 3:4, the glass in the lower third and a large empty area at the top for a title.

What to expect: Check: Is there empty space for text? Does the glass look natural (no extra handles, strange reflections)? Re-run if the glass or ice looks wrong.

Iterate instead of starting over

Your first image is a draft. Many chat-based generators let you reply with changes ("same image, but make the background plain"). Others make you edit the prompt and run again. Either way, change one thing at a time so you know what caused the difference. Keep a note of prompts that worked.

Common fixes

ProblemTry
Looks generic or like stock artAdd specific details, a style and a mood
Wrong style (cartoon instead of photo)Put the style word first and be explicit: "photograph", "flat vector"
Cluttered sceneSay "minimal", "plain background", "single subject"
Colours do not match your brandName colours ("deep green and cream"); some tools accept hex codes, but test it
Extra or deformed fingers, hands, objectsRe-run, crop, or choose a composition that hides hands
Wrong shape for your useState the aspect ratio or use the tool's size setting

Prompts for common uses

Prompt · YouTube or blog thumbnail
A bold, high-contrast illustration for a thumbnail about [topic, e.g. learning Python in 30 days]: [main visual, e.g. a laptop with glowing code and a calendar]. Bright [colour 1] and [colour 2] colours, simple shapes, a clear focal point on the right, empty space on the left for large text. 16:9.

What to expect: Thumbnails are seen small, so check the image at thumbnail size. If it is hard to read at that size, simplify.

Prompt · Logo ideas (for brainstorming only)
Simple flat vector logo concept for [business name], a [type of business]. Idea: [e.g. a coffee bean shaped like a cup]. Two colours only: [colour 1] and [colour 2]. Minimal, clean shapes, centred on a plain white background, no text.

What to expect: Use these as inspiration. AI logos often have fine details that do not scale, may resemble existing marks, and cannot always be edited as vectors. Have a designer or a vector tool redraw the one you pick.

Prompt · Concept diagram or slide visual
A clean flat illustration for a presentation slide about [concept, e.g. how a request flows from a mobile app to a server and database]. Three simple icons connected by arrows, light background, [colour] accent, lots of white space, no text.

What to expect: Image generators are poor at accurate technical diagrams. Use this for decoration, and draw real diagrams in a diagramming tool.

Prompt · Ask an AI to improve your image prompt
I want to generate an image for [purpose]. My rough idea is: [your idea]. Write 3 detailed image prompts for it in different styles (photo, flat illustration, watercolour). Each prompt should name the subject, setting, style, composition, mood and colours, and say where to leave space for text. Keep each under 70 words.

What to expect: Paste each prompt into your generator and compare. This is a quick way to learn which style words work in your tool.

What image generators get wrong

Text, numbers and facts inside images

Many generators still misspell words or invent letters, especially for longer text, small text, or text in Indian scripts. Some newer tools are better, but do not trust them for names, prices or phone numbers. Generate the picture without text and add the words yourself in Canva, PowerPoint or a similar tool.

Other weak spots: counting ("exactly five cups"), hands and small objects, accurate maps and charts, real logos, and precise placement ("the cup on the left of the plate" is only sometimes obeyed). Cultural details can also be wrong: a request for a "South Indian breakfast" may mix dishes from different regions, so name the dishes you want.

For video and audio generators the same idea applies: describe subject, setting, style and camera or sound, but keep clips short and simple, because longer or complex scenes are more likely to go wrong. Features and limits change quickly, so read the tool's current guide.

Use images responsibly

Before you publish an AI image

  1. Read the tool's terms: check whether free or paid plans allow commercial use and whether you must credit the tool.
  2. Do not generate images of real people (classmates, teachers, politicians, celebrities) without permission, and never to mislead or embarrass anyone.
  3. Do not copy another artist's or brand's style or logo to pass it off as your own.
  4. Label AI-generated images when they could be mistaken for real photos, especially for news, events or products.
  5. Check the image for wrong text, odd hands and anything that misrepresents your product or your college.
  6. Keep personal photos of others out of editing tools unless you have their consent.

Try it: Make a three-image set for a college event

Choose a real or imaginary college event (tech fest, cultural night, placement drive). Write one prompt using the formula and generate three versions: a poster background, an Instagram square and a 16:9 banner. Keep the same style and colour palette across all three. Add the event name and date yourself in a design tool.

Key takeaways

  1. Describe subject, setting, style, composition, mood and format; put the most important detail first.
  2. Treat the first result as a draft and change one thing at a time.
  3. Leave empty space for text, then add real text in a design tool because generators often misspell.
  4. Do not expect accurate diagrams, counting, hands or real logos.
  5. Check the terms of use, avoid real people without consent, and label AI images that could mislead.

Check yourself

Finishing the quiz marks the lesson as done.

1. Your generated poster has misspelled words. What is the most reliable fix?

2. Which prompt is most likely to give a useful thumbnail?

3. You like an image except for the background. What should you do?

4. Which is NOT a good use of an AI image generator?

5. Before using an AI-generated image on your college fest's public page, what should you check?

Saved on this device. Create a free account to keep it on every device.

Practise this with Sam

A real mock interview, out loud, with an honest scorecard. Free to start.

Start free