Generating Game Items & Icons
Create clean, readable item sprites and UI icons — potions, weapons, coins and more — that pop in an inventory.
Items and icons are some of the most-used art in any game — inventories, shops, HUDs. They need to read instantly at small sizes. Here's how to generate a clean set.
Aim for instant readability
An item icon is seen tiny and often, so silhouette and one or two colors do all the work. Before detail, ask: could a player identify this at a glance in a cluttered inventory? If not, simplify the shape.
Prompt formula for items
[item] + [defining feature] + "item icon" + [style] + "plain background":
- "a red health potion, cork stopper, item icon, pixel art, plain background"
- "a golden coin, item icon, pixel art, plain background"
- "a steel sword with a leather grip, item icon, pixel art"
Adding "item icon" nudges the model toward a centered, isolated object rather than a scene.
Pick the right size
Icons usually live at 16×16 or 32×32. Smaller = more retro and more readable; larger = more detail. Match your inventory slot size so icons drop in without rescaling.
Keep a set consistent
For a whole item set:
- Reuse the same style suffix and palette on every prompt.
- Keep a consistent light direction (e.g. top-left) so the set feels unified.
- Use similar framing/scale so items sit uniformly in slots.
Clean up for the inventory
- Remove the background for a crisp cutout (the "plain background" prompt makes this easy).
- Nudge any stray pixels in the editor.
- Add a subtle outline if your UI style uses one — it improves readability on busy backgrounds.
Batch smartly
Generate variations of a base item for tiers (wooden → iron → gold sword) by changing one descriptor at a time. Consistent framing plus a swapped material gives you a whole progression that looks intentional.