Writing Better Prompts for Pixel Art
A practical prompt formula for game art, with dozens of copy-paste examples for characters, items, tiles and UI.
The difference between a messy generation and a clean, usable sprite is almost always the prompt. Here's a reliable formula plus ready-to-use examples.
The formula
[subject] + [key details] + [view] + [style]
- Subject — the thing itself: "a health potion", "a goblin archer".
- Key details — one or two defining features: "red liquid, cork stopper".
- View — top-down, side view, isometric, front-facing.
- Style — "pixel art", "16-bit", "limited palette", "top down RPG".
Keep it to a single line. If a detail isn't defining, cut it.
Characters
- "a wizard with a purple robe and staff, side view, pixel art"
- "a green slime enemy, front view, 16x16, pixel art"
- "a knight in silver armor, walking pose, side view, 16-bit"
Items & icons
- "a golden coin, top down, pixel art icon"
- "a steel sword with a leather grip, item icon, pixel art"
- "a red health potion, plain background, pixel art"
Tiles & environments
- "a seamless grass tile, top down, pixel art"
- "a cracked stone dungeon floor, tileable, pixel art"
- "a wooden fence, side view, pixel art"
UI
- "a wooden button with a beveled edge, pixel art UI"
- "a health bar frame, pixel art, plain background"
Techniques that help
- State the palette or era ("16-bit", "GameBoy palette") for consistency across a set.
- Name the background ("plain grey background") so removal is clean.
- One perspective per prompt — mixing views confuses the model.
- Iterate one word at a time so you learn what each change does.
What to avoid
Long, flowery descriptions, contradictory details (top-down and side view), and cramming five subjects into one prompt. Generate one clean subject at a time and combine later with the editing tools.