← DotTrim

How to prompt AI for clean pixel art

DotTrim snaps blurry dots onto a grid and paints each dot one colour. Problems baked into the picture itself can't be fixed at that stage, so use the rules and prompts below to get pictures that clean up well from the start.

Rules

  1. A strong solid background that isn't in the picture — pick a colour far from the subject: magenta (#FF00FF) for a warm-coloured character, green (#00FF00) for a red object. A white background behind a character with white eyes takes the eyes away with the background.
  2. No shadows, glow or gradients — a see-through blur between the subject and the background stays on the outline as a smudge once the background is removed.
  3. A margin all round — a subject that touches the edge keeps the background from being found.
  4. One subject per picture, straight on — several subjects in one picture, or a tilted one, make the grid hard to find.
  5. Size numbers needn't be exact — words like 64x64 pixel art are rarely followed exactly, but they still make the dots thick and even.
  6. Don't draw backgrounds and effects for Fit to asset as pixel art — pixel art already has its dot size fixed, so it can't be re-cut to your character's dot size. Make backgrounds and effects for Fit to asset as sharp, non-pixel pictures. The character you fit them to can be pixel art.

Prompts

Replace the part in [ ] with what you want.

Game character
Pixel art sprite of [a knight] character, full body, front view, standing pose,
16-bit retro game style, chunky pixels, limited color palette, flat shading,
centered with margin around the character,
full frame edge-to-edge solid magenta background (#FF00FF), no drop shadow, no outer glow, no gradient
In DotTrim: Characters tab
Item icon
Pixel art of [a red potion bottle], single centered object, low resolution,
flat colors, limited palette, full frame edge-to-edge solid bright green background (#00FF00),
chroma key background fills entire canvas, completely green from edge to edge,
no borders, no margins, no frame, no white background, no shadow, no reflection
In DotTrim: Characters tab · if the object isn't red, change the background to a colour far from it
Scene / background
Pixel art background illustration for an 8-bit retro JRPG, NES style, [wide grassland with distant mountains under a clear morning sky], scenery only, no characters, no creatures, no objects, no buildings, no items, ultra low-res 64x64 pixel art scaled up, extremely chunky visible square pixels, simple composition, strict limited 8-color palette, strict retro pixel grid, sharp square edges, hard dithering, absolutely no anti-aliasing, no smooth gradients, no blur, no text, no UI, no frame
In DotTrim: Scenes tab · the key is few elements and big dots