StylesPalettesGuidesPricingRewards
  1. Guides
  2. AI prompting tips

How to write prompts for AI pixel art

The quickest way to better AI pixel art is a better prompt. This guide shows what changes when a prompt gets specific, with real results side by side, then covers the camera, reference images, density and what to do when a result comes back wrong.

New to generating? Start with how to generate game sprites with AI, then come back here.

Updated November 26, 2026

Vague vs specific: the same idea twice

Both prompts below ran once at 64×64 in the same style, and each run gave three results. The one-word prompt left the model to guess the armour, the colours, the pose and even whether the knight rides a horse, and it guessed differently every time. The detailed prompt fixed those choices, so all three results came back as the same knight.

  • From the prompt "knight": a knight in cream armour with a pink cape and a green leaf shieldResult 1
  • From the prompt "knight": a knight with a winged helmet and a long green cloakResult 2
  • From the prompt "knight": a knight riding a horse and carrying a green bannerResult 3
Prompt: “knight”. Three different knights.
  • From the detailed knight prompt: iron armour, a red-brown plume, a round wooden shield and a short swordResult 1
  • Second result of the detailed knight prompt: the same iron knight with plume, round shield and short swordResult 2
  • Third result of the detailed knight prompt: the same iron knight again, with a brown tabard under the armourResult 3
Prompt: “knight on foot in dented iron armour with a red plume, holding a round wooden shield and a short sword, standing, facing the camera”. One knight, three times.

Vague prompts are still useful when you want ideas: run one, keep the result you like, and grow the rest from it. When you need a sprite that matches a design, spell the design out.

A prompt formula: subject, details, pose, camera

  1. Subject first, as a noun you could find in the game: “knight on foot”, “brass lantern”, “forest slime”.
  2. Details that will still read at the size you picked: material, colour, what it holds or wears. Two or three is plenty at 64.
  3. Pose or state: standing, drawing a bow, lid open, glowing.
  4. Camera: facing the camera, side view facing right, top-down or three-quarter view.

Leave out what the panel already decides. The size picker sets the canvas, so “16×16” in a prompt changes nothing, and your style carries the look, so spend the words on what makes this sprite different: a cracked shield, a gold crown, a leaf growing from its head.

Name the camera angle

The style decides how a sprite looks, not where the camera stands. Write the view into the prompt every time it matters. Here the fox from our other guides was asked for in a side view, mid-action:

  • A 64×64 pixel art red fox adventurer with a green scarf and a leather satchel, facing the camera, in soft storybook coloursFacing the camera
  • A 64×64 fox adventurer in a green scarf drawing a short bow, seen from the side and facing rightSide view, facing right
Right: “red fox adventurer with a green scarf drawing a short bow, side view facing right”.

For the same character facing other ways, don't prompt each view from scratch: run Directions on the finished sprite, and it draws the other facings to match.

Add a reference image

A picture often says more than a sentence. At the top of the New panel, tap the reference tile to upload an image or pick an artboard from your document.

  • With a style active, the reference is the subject: the AI draws what it shows (a photo of your dog, say) in the style's look, and the prompt steers it.
  • With No style, the reference guides the look, and the prompt names the subject.
  • Use a clear image at a readable size. A tiny thumbnail gives the model little to go on.

Start from a sprite with the right mode

Once you have one good sprite, the modes below start from it instead of from a blank canvas, which keeps the set consistent. Each preview shows a source sprite and what the mode made from it.

  • Reskin

    Same pose and outline, new colours and materials: team colours, rarity tiers, elemental versions.

    Reskin: the source spriteReskin: animated preview of the results
  • Reskin Creative

    Bolder takes on the same sprite, with new trim, ornament and themes.

    Reskin Creative: the source spriteReskin Creative: animated preview of the results
  • Set

    Different objects in the same style and size, like a sword to go with a shield.

    Set: the source spriteSet: animated preview of the results
  • Directions

    The same character facing the other ways. Your sprite stays as it is.

    Directions: the source spriteDirections: animated preview of the results
  • Prompted

    Your own instruction, like "different outfits", with the silhouette and pose kept.

    Prompted: the source spritePrompted: animated preview of the results

In Prompted and Edit, write the change, not the whole sprite: “turn the green scarf into a red and white striped scarf” gets a better result than describing the fox again. See editing AI pixel art for that example.

Max, Quality or Quantity

Some modes let you choose how a run is split. Max makes one result with the most detail, Quality a few results, and Quantity more, simpler ones, which suits icons and early ideas. The panel only offers the choices that suit the mode and size you picked: New gives a few results at 64 and one result from 128 up.

Watch the walkthrough

When a result comes back wrong

Close, but one thing is off
Don't regenerate. Use Edit on the result and name only the change; everything else stays as it is.
The sprite is facing the wrong way
Name the camera in the prompt, or run Directions on a sprite you already like.
Details are lost or muddy
You asked for more than the size can hold. Cut the prompt to two or three details, or generate at 128.
It ignores part of the prompt
Move that part closer to the start and say it plainly. A short prompt with the key detail early beats a long list.
The run was blocked
Rephrase it rather than resending the same text; see why generations get blocked.

Questions

What makes a good AI pixel art prompt?
Name the subject first, then the details you would notice in the game, then the pose and the camera, for example: knight on foot in dented iron armour with a red plume, holding a round wooden shield and a short sword, standing, facing the camera. Leave the size to the size picker and the overall look to your style.
Should I write a size or "pixel art" in the prompt?
No. Everything MagicPixel generates is pixel art, and the size you pick in the panel decides the canvas: writing 16x16 or 64x64 into the prompt does not change the output size.
Why do my results look so different from each other?
Every detail a prompt leaves out is one the model guesses, and it guesses differently each time. The one-word prompt knight gave us a cream knight with a cape, a winged knight and a knight on horseback; a detailed prompt gave three near-identical iron knights.
How do I get a side view or a top-down sprite?
Write the view into the prompt, such as side view facing right or top-down. The style sets the look, not the camera. For the same character facing other ways, run Directions on a finished sprite.
Does a reference image replace the prompt?
No, the two work together. With a style active, an attached reference is treated as the subject: the AI draws what it shows in the style's look, and the prompt steers it. With No style, the reference guides the look and the prompt names the subject.
What is the difference between Max, Quality and Quantity?
They split one run differently: Max makes one result with the most detail, Quality a few results, and Quantity more, simpler ones. The panel only offers the choices that suit the mode and size you picked, and New at 128 and larger always makes one result.
Open the editorAll guides

Related guides

  • Generating game spritesFrom a one-line idea to a game-ready sprite: picking the size, writing the prompt, real results with their exact prompts, and growing one sprite into reskins and facings.
  • Editing AI pixel artThe cleanup pass: change one detail with an AI Edit, recolour with the Recolour panel, then fix edges, backgrounds and stray pixels in the editor.
  • Content safetyWhy a generation gets blocked by the safety filter and how to rephrase your prompt or swap the reference so it goes through.
© 2026 MagicPixelAI pixel art generatorPixel art editorAI sprite generatorCharacter generatorGame asset generatorSprite sheet generatorImage to pixel artGuidesPalettesPixel art stylesAssetsParticle effectsPricingAboutRewardsConnectPrivacyTerms