Prompt basics

How to write an AI image prompt: from an idea to a complete scene

You do not need complicated commands. Start by describing who or what is in the image, what is happening, where it takes place, and how you want it to look.

A prompt is not programming code, and longer is not always better. Clear, specific, focused language is usually more useful than a long list of disconnected keywords.

What is an AI image prompt?

A prompt is the text you use to tell AI what kind of image you want to create. It can be one simple idea or a fuller scene description with clear relationships.

Simple example

A cat.

Add useful scene information

An orange kitten sits on the Moon and looks up at the blue Earth, illustrated in a soft and bright children’s picture-book style.

A prompt does not need to look like code or follow one fixed grammar. Natural language works. What matters is making the important parts of the scene and their relationships understandable.

Start with four questions

Organising an idea into a subject, action, setting, and style helps you notice what the scene is missing. These are thinking tools, not a fixed grammar.

  1. Subject

    Subject: who or what is in the image?

    The subject is the most important person, animal, object, or character in the scene.

    For example

    • an orange cat
    • a space robot
    • a floating castle
    • two children exploring

    “Something” is vague. “A white dog wearing a red scarf” gives the image a clearer subject.

  2. Action

    Action: what is the subject doing?

    An action turns a static object into a scene where something is happening.

    For example

    • flying a spaceship
    • planting flowers in the rain
    • reading a glowing book
    • travelling through a giant mushroom forest

    Use one clear action to explain what is happening between the subject and other objects.

  3. Setting

    Setting: where does the scene take place?

    The setting defines the background, space, and atmosphere.

    For example

    • the surface of the Moon
    • a futuristic city after rain
    • a forest cabin filled with sunlight
    • the deep sea with floating blue jellyfish

    A setting can include not only a place, but also the time, weather, light, and surrounding objects.

  4. Style

    Style: how should the image look?

    Style describes the visual treatment, not the location of the story.

    For example

    • children’s picture-book illustration
    • warm watercolor
    • clay animation
    • low-poly 3D
    • bright cartoon illustration

    One coherent main style is usually clearer than several very different styles competing at once.

Combine the four parts

Look at each part separately, then connect them in one natural, complete description.

Subject
an orange kitten
Action
flying a spaceship
Setting
through a blue and purple nebula
Style
a bright and soft children’s picture-book style

Complete prompt

An orange kitten flies a spaceship through a blue and purple nebula, illustrated in a bright and soft children’s picture-book style.

You do not have to use one fixed order. The four parts are a way to organise an idea, not a grammar you must follow.

Keywords only

cat, space, spaceship, nebula, children’s picture book.

A complete sentence with relationships

An orange cat flies a spaceship through a blue nebula in a children’s picture-book style.

The complete description says who is doing what and how the elements connect; the keyword list only names objects.

Do not just make it longer—add the missing information

These three revisions gradually add a subject detail, setting, action, and style instead of piling on random adjectives.

  1. Level 1A cat.
  2. Level 2An orange cat wearing a yellow scarf.
  3. Level 3An orange cat wearing a yellow scarf sits outside a wooden cabin in the snow, watching snowflakes fall, illustrated in a warm and gentle watercolor picture-book style.

When a result feels vague, you may not need more adjectives. First decide whether the missing information is the subject, action, setting, or style.

Is a longer prompt always better?

No. A prompt that is too short may not give AI enough information, but a prompt that is too long can also make the focus unclear.

A long or conflicting prompt may have

  • no clear focus
  • requirements that contradict each other
  • too many objects in one scene
  • important content buried under details
  • no clear signal about which request matters most

A clear basic prompt usually has

  • a specific subject
  • a clear action
  • a concrete setting
  • one coherent style
  • no obvious conflicts

Conflicting example

A cat in a forest, under the sea, in space, and in a classroom, shown as watercolor, oil painting, photography, pixel art, and clay animation at the same time.

Focused example

An orange cat in a spacesuit floats inside a space-station observation deck with Earth visible through the window, in a soft clay-animation style.

What is the difference between style and setting?

The setting answers where the story happens. The style answers how the image should look.

Setting

Where is it?

  • a forest
  • a space station
  • a futuristic city
  • under the sea
  • a classroom
  • a snowy mountain

Style

How does it look?

  • watercolor picture book
  • cartoon illustration
  • clay animation
  • 3D render
  • pixel art
  • pencil sketch

Example breakdown

A robot plants flowers in a futuristic city in the rain, illustrated in a warm watercolor picture-book style.

Subject
a robot
Action
planting flowers
Setting
a futuristic city in the rain
Style
a warm watercolor picture book

Do prompts have to be written in English?

Not necessarily.

People can describe an idea in the language they know best. A clear and natural description is often more useful than forcing an idea into unfamiliar English.

Natural-language example

A white puppy sits beside a lake and watches the Moon reflected on the water. The scene is quiet, with a blue and purple watercolor illustration style.

Why can the same prompt create different images?

AI image generation does not search a library for one fixed picture. It creates a new result from the prompt, so even identical wording can produce variation each time.

Details that may change

  • composition
  • character pose
  • background details
  • lighting
  • color
  • object placement
  • the mood of the scene

To make your direction more stable, you can

  • make the main subject explicit
  • remove conflicting requests
  • describe how the subject relates to the setting
  • state a composition or viewpoint
  • change one important part at a time

A prompt can make the direction clearer, but it cannot guarantee a completely fixed or identical result every time.

What should you check when the result is not what you expected?

Check the most important information in order. Each step should solve one clear problem.

  1. Check the subject

    Original

    An animal is flying.

    Improved

    A brown bear wearing pilot goggles flies a red biplane.

    Replace the vague “animal” with a subject you can recognise.

  2. Check the action

    Original

    A robot and a flower.

    Improved

    A small round robot kneels on the ground and plants a sunflower in a flowerpot.

    Explain what is happening between the robot and the flower.

  3. Check the setting

    Original

    A whale is swimming.

    Improved

    A blue whale swims through sunlit shallow water surrounded by jellyfish and bubbles.

    Add a place, lighting, and surrounding elements.

  4. Check the style

    Original

    Cartoon, photography, watercolor, pixel art, cinematic.

    Improved

    A soft and bright watercolor children’s picture-book style.

    Keep one coherent and clear main visual direction.

  5. Change one priority at a time

    Original

    Rewrite the subject, action, setting, and style at once.

    Improved

    Change the one part that affects the result most, then observe what changes.

    If you change everything at the same time, it is hard to know which edit actually affected the result.

Check your prompt with four questions

Read the prompt once and make sure another person could understand these four key pieces of information.

  1. 1

    Who or what is in the image?

  2. 2

    What is happening?

  3. 3

    Where does the scene take place?

  4. 4

    How should the image look?

Complete example

A penguin wearing a blue hat repairs a small yellow car beside a glacier, in a bright 3D cartoon style.

Subject
a penguin wearing a blue hat
Action
repairing a car
Setting
beside a glacier
Style
a bright 3D cartoon

Writing a prompt does not need to be complicated

Start with four questions:

  • Who or what?
  • Doing what?
  • Where?
  • What should it look like?

A clear prompt does not have to be long, but it should make the main content and relationships easy to understand.

When a result differs from your idea, you do not need to rewrite everything immediately. Decide whether the missing part is the subject, action, setting, or style, then change one part at a time.

Practise breaking down and improving a prompt

These exercises do not call a generation service and do not require an account. Think through each one, then reveal the reference answer.

1Exercise one: add missing informationOriginal promptA robot.

Think about

  • What is it doing?
  • Where is it?
  • What style should it use?

Reference rewrite

A small robot sits on a tree stump in a forest and bandages an injured bird’s wing, in a warm clay-animation style.

2Exercise two: break down a promptPromptA red fox reads a glowing book in a snowy forest, illustrated in a soft watercolor picture-book style.

Find the four parts

  • What is the subject?
  • What is the action?
  • What is the setting?
  • What is the style?

Reference breakdown

Subject: a red fox; action: reading a glowing book; setting: a snowy forest; style: a soft watercolor picture book.

3Exercise three: identify conflictsOriginal promptA cat in a classroom in space and under the sea, shown as realistic photography, pixel art, and watercolor.

Problems to resolve

  • several main settings at once
  • several very different styles at once
  • no single main scene
  • no clear visual focus

Reference rewrite

An orange cat wearing a diving helmet sits in an underwater classroom and watches a whale pass the window, in a bright watercolor picture-book style.

4Exercise four: move from vague to specificOriginal ideaA futuristic city.

Guiding questions

  • What is the most important subject in the city?
  • What is happening?
  • Is it day or night?
  • What style should it use?

Reference result

A girl rides a hover bike through a futuristic city at night, passing glowing plants and transparent towers, in a bright science-fiction animation style.

Understood the basic prompt structure?

Use the daily challenge to observe a target image, identify prompt fragments, and recreate it with your own expression.

Frequently asked questions

From prompt length and language to practice methods, these are common questions when you start writing prompts.

Is a longer prompt always better?

Not necessarily. A very short prompt may miss important information, while a very long one can lose focus or create conflicts. Make the subject, action, setting, and style clear first, then remove unrelated or repeated details.

Must I follow the order subject, action, setting, and style?

No. The four parts are a way to organise an idea, not a fixed grammar. Use any natural order as long as the important content and relationships are easy to understand.

Can I use natural language directly?

Yes. A prompt does not need to look like code or a special command. Describing the scene clearly in familiar language often makes it easier to express what you actually want.

Do prompts have to be written in English?

Not necessarily. You can use the language you know best. Model behavior may differ by language and wording, so different languages should not be expected to produce identical results in every situation.

Why does the same prompt produce a different image each time?

AI creates a new image from the prompt instead of looking up one fixed picture. Composition, pose, lighting, color, and background details can vary, so the same words may lead to different results.

What can I do if an object keeps disappearing from the image?

State the most important subject clearly and describe its relationship to other objects. Reduce secondary objects and conflicting requests, then change one priority at a time and observe the result.

How can I stop the scene from becoming too busy?

Remove unrelated objects and keep one clear main setting and one coherent main style. Check for conflicting settings or styles and keep the subject as the highest priority.

Do children need to learn technical terms?

No. Learning to answer who or what, doing what, where, and how it should look is enough to write a clear basic prompt. Technical vocabulary is not required to begin creating.

How can I practise prompt writing?

Observe an image and break it into subject, action, setting, and style. Write a description, compare it with the image one part at a time, and add or change only one important detail on each attempt.

Where can I practise after this lesson?

Visit the daily challenge to observe a target image, identify prompt fragments, and recreate it in your own words. You can also open Magic Studio and start creating from one simple idea.

Turn the idea in your mind into your first creation

Start with a subject, action, setting, and style, then describe a complete scene in your own words.