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
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.
Result 1
Result 2
Result 3
Result 1
Result 2
Result 3
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
- Subject first, as a noun you could find in the game: “knight on foot”, “brass lantern”, “forest slime”.
- Details that will still read at the size you picked: material, colour, what it holds or wears. Two or three is plenty at 64.
- Pose or state: standing, drawing a bow, lid open, glowing.
- 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:
Facing the camera
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 Creative
Bolder takes on the same sprite, with new trim, ornament and themes.


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


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


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


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.
