Ask an image model for "a fantasy sword icon", then "a fantasy potion icon", and you get two good images that look like they came from different games. One has a thick black outline, the other none. One is lit from the left, the other from above. On an inventory screen, that mismatch is the first thing players notice.
Most icon-set guides stop at a list of prompts. This one goes through the whole workflow with a real set (you can follow along in the game icon generator): the 12 space pirate items below, made in one run.
Why icons don't match
Each image is generated on its own. The model has no idea what the last icon looked like, so everything that makes a set read as a set drifts:
- outline weight and colour
- light direction and highlight style
- palette and saturation
- level of detail (one icon simple, the next busy)
- camera angle (front-on vs three-quarter)
- framing (how much of the square the object fills)
Fix those six and the set holds together.
Step 1: Write the spec before you prompt
Decide the rules first. It takes five minutes and saves an afternoon of rerolls.
| Rule | Example for a mobile RPG |
|---|---|
| Canvas | Square, object fills about 80%, even margin |
| Angle | Slight three-quarter view, tilted 15° |
| Outline | Thick dark outline, heavier on the bottom edge |
| Light | From the top left, one bright highlight |
| Palette | Saturated, max 5 hues per icon, gold accents |
| Detail | Chunky shapes, readable at 32 px |
| Background | Transparent, no ground shadow |
Pick a style that survives small sizes
Some looks fall apart at inventory size, and it's cheaper to find out before you make 50 icons:
- Survive: thick outlines, two or three shading tones, chunky silhouettes, a strong single highlight, saturated colour.
- Struggle: thin linework, soft painterly gradients, textures like wood grain or fabric, small engraved details, photoreal rendering.
If your game needs a painterly look, keep it for large shop art and use a simplified version for slot icons.
Step 2: Lock the style from a few references
Prompts alone can't hold a look across 50 icons. Show the model what you mean instead. Collect 6–16 images in the style you want: your own concept art, earlier icons, or images you've generated and liked. Make sure you own them or have licensed them.
In Keystyle this is a saved style. Upload the references and it builds a style sheet, writes a style guide (outline, shading, palette, angle, the rules from your spec), draws test images and checks them against your references. That takes about a minute and roughly 37 credits. From then on, every icon in that style gets the sheet and the guide, not just your one-line prompt.
Step 3: List the subjects, one per line
Write the icons you need as a plain list. Give each one a little character, because "a sword" gets you the most generic sword possible:
a holographic treasure map
a laser cutlass
a ray-gun flintlock pistol
a gold doubloon stamped with a ringed planet
a bottle of glowing nebula rum
a pirate captain hat with a radio antenna
Keep the theme tight. A set reads as a set when the subjects come from one world too, not only one style.
Subject lines that work
The subject line decides how interesting each icon is. The style decides how it looks. Some patterns:
| Weak | Better | Why |
|---|---|---|
| a sword | a laser cutlass with a cracked blue blade | A specific object gives the model something to design |
| health potion | a heart-shaped bottle of red potion with a cork | Shape and silhouette read at small sizes |
| key | a golden key with a gem in the bow | One accent detail, not five |
| armour | an iron chest plate with a dented shoulder | Wear and story make sets feel lived in |
Rarity tiers work the same way: write the same object three times with escalating detail ("a wooden shield", "an iron shield with rivets", "a glowing crystal shield with gold trim"). The style keeps all three in one family.
Step 4: Generate the batch
Pick the style, paste the list and run it. Each line becomes one icon. The prompt writer turns each subject into a full prompt using the style guide, so you don't have to repeat the rules yourself. Our 12 icons took one run with GPT Image 2.5 at medium quality.
Step 5: Check them at real size
An icon that looks great at 1024 px can be mush in a 32 px inventory slot. Shrink the set to the sizes players see before you call it done:
If an icon fails at 32 px, regenerate just that one with "simpler shape, fewer details". The style keeps it matching the rest.
Fixing the odd one out
Even with a locked style, one or two icons in a batch usually need another go. The common cases:
- Too detailed: regenerate with "simpler, fewer details, bigger shapes" added to that one line.
- Different angle: add "three-quarter view, tilted like the others" to the line.
- Colour clash with the rest: name the palette in the line ("gold and teal") so it matches the set.
- Cropped edges: the object fills the whole square. Add "small, centred, with margin".
- Background not transparent: cut it out with the background remover rather than regenerating.
Regenerate the misses, not the batch. Each line runs on its own, and the style keeps the redo matching.
Step 6: Transparent backgrounds and export
- Transparency: GPT Image 2.5 can output transparent PNGs directly. For other models, use the background remover, or add a Remove background step to a workflow to clear the whole batch at once.
- Pixel-perfect sizes: use the upscaler or the fit-to-canvas step to get exact 256 or 512 squares with even padding.
- Names your engine can use: download the set as a zip. Files are named after the subject you typed (
a-laser-cutlass.png), notimage (37).png.
Which model to use
| Model | Credits per icon | Use it for |
|---|---|---|
| GPT Image 2.5 (medium) | about 6 | Most icon sets: follows the style closely and can output transparency |
| GPT Image 2.5 (low) | about 4 | Drafts and quick tests |
| Nano Banana Pro | about 38 | Hero items, text on icons, very detailed shop art |
| Batch mode (OpenAI models) | half price | Big sets where you can wait a little longer |
Prices are shown before every run, so you can try a few lines on two models and pick before running the whole list.
The cheap route: one sheet, sliced
If you need 100 icons and cost matters more than control, generate several icons on one sheet, slice the sheet into separate transparent images and upscale them. It works out to roughly 1–2 credits an icon. Keystyle has a ready-made workflow template for it, Icon pack from one sheet. The trade-off: less control over each icon, and more cleanup when two icons touch on the sheet. For every model's price per image and how to budget a whole set, see how much AI image generation costs.
Getting icons into your engine
- Unity: drop the PNGs into your project and set Texture Type to Sprite (2D and UI). For crisp pixel-style icons, set Filter Mode to Point and turn compression off.
- Godot: PNGs import as textures automatically. For pixel art, set the texture filter to Nearest (per node, or as the project default) so icons don't blur when scaled.
- Web and UI kits: export WebP or PNG at twice the display size for sharp icons on high-density screens, so 128 px files for a 64 px slot.
- Atlases: if your engine packs sprites into an atlas, keep the even padding from the fit step so neighbours don't bleed into each other.
Keep the master files at full size. You'll want them later for store pages, trailers and merch.
Making more later
The real test of an icon set is month three, when the designer asks for 20 more. With a saved style you add lines to the list and run it again, and the new icons match the old ones. Without one, you're back to rerolling prompts and comparing screenshots.
Questions
Why do AI icons never match each other?
Each image is generated on its own, so line weight, lighting angle, palette and level of detail drift between icons. You need the same style instructions and the same visual reference on every single icon, not just a similar prompt.
What size should game icons be?
Design at 512 or 1024 pixels, then check how they read at the sizes players actually see: usually 64 and 32 pixels for inventory slots and 128 or more for shops and tooltips.
Can AI make icons with a transparent background?
Yes. Generate on a plain background and cut out, or use a model that outputs transparency directly (GPT Image 2.5 can). Keystyle's background remover can run over a whole batch in a workflow.
How much does an AI icon set cost?
Our 12-icon set below cost about 91 credits (about $0.91 at retail) with GPT Image 2.5 and a saved style. The cheapest route, one sheet of icons sliced and upscaled, comes to roughly 1–2 credits per icon.
Can I make more icons later that still match?
Yes, that's the point of saving the style. Months later, new subjects in the same style come out matching the first batch.
More from the blog


