October 8th, 2026

How to Fix and Recolor Pixel Art With an AI Agent

Fix broken outlines, recolor sprites, retexture tilesets and clean up animations by describing the change. Every pixel you didn't ask about stays put.

A pixel art grass tileset turning from water to lava, an owl turning from brown to blue, and a duck turning from yellow to blue

Edit with Agent is a pixel editor you talk to. You describe a change in plain words, and an AI model called GPT-6 Astra makes it by editing your sprite's pixels directly.

How it works

Image models like Nano Banana or GPT Image make a new picture every time you ask for something. Ask one for a small fix and it redraws the whole sprite. The outline shifts, the palette drifts, and the frame you were happy with is gone.

Astra is not an image generation model. It reads your sprite, writes code that changes only the pixels your request is about, and checks the result against the original before you get it back. Everything you didn't ask about stays exactly as it was, down to the last pixel.

That makes it the tool for fixing and polishing art you already like. Cleaning up outlines, recoloring, retexturing tiles, tweaking animation frames.

Pixel art grass tileset before and after an AI edit, the water turned into veined lava while the grass stayed the same

This one was "Turn the water into lava." on a 128px tileset. 97 credits, about a minute and a half, and none of the grass pixels changed.

Open it from any sprite

Open a pixel art sprite in the fullscreen viewer and pick Edit with Agent under Edit & adjust.

Fullscreen asset viewer with a pixel art owl and the Edit with Agent option in the Edit and adjust menu

The first time you open it, it shows what it's good at and what it isn't.

Edit with Agent intro: great for fixing a broken outline, turning water into lava and recoloring part of a sprite, not for giving a character golden armour

Describe the change, check the plan

Type what you want in plain words. Before anything gets drawn, the agent writes back what it's going to change and what it'll leave alone. If that's not what you meant, say so and it'll adjust the plan. Talking it through doesn't cost credits.

Edit with Agent proposal to recolor an owl's brown feathers blue, with an Apply edit button capped at 250 credits and the budget picker open

When the plan looks right, hit Apply edit. Each edit costs credits based on how much work the agent does, and the button shows the most it can cost. That cap is your budget. It's 250 by default, and under Change budget you can pick 100, 500 or your own number. Whatever the edit doesn't use goes back to your balance.

Here's how that owl came out. 94 credits.

Pixel art owl before and after an AI recolor, brown feathers turned blue while the eyes, beak and belly kept their colors

Watch it work, or stop it

While it draws, you can see the credits used so far. You can close the viewer and come back later, the edit keeps running.

An AI pixel art edit in progress showing 41 credits used so far and a Stop button

Changed your mind? Hit Stop. You pay for what it used up to that point, and if it already had a drawing that passed its checks, you keep that as a draft.

Every result is saved as a new version. Pick any version in the strip at the bottom to compare or keep editing from it, and the original is always one click away.

Edit with Agent showing the lava tileset result, its cost of 97 credits, and a versions strip with the original water tileset

What it's good at

Anything that can be worked out from the pixels that are already there. A few things I ran through it:

Broken outlines and stray pixels. This ranger had gaps in his outline and a few stray pixels around him. "Close the gaps in the outline and remove stray pixels" fixed most of it for 149 credits. It doesn't always catch every last stray pixel, so check small edits at 1:1 before you ship them.

Pixel art park ranger with gaps in his dark outline, then the same sprite with the outline closed by the AI agent

Animations. It edits every frame of an animation in one go, up to 24 frames. "Make the duck blue in every frame" cost 150 credits and kept the beak, feet and eye the same in all 8.

Pixel art duck animation playing before and after an AI recolor from yellow to blue across all eight frames

It can also fix how a loop plays. If your loop stutters because the last frame repeats the first, ask it to drop the last frame and it'll remove it without touching the others.

Canvas size. Crop to an exact size, pad with transparent space, or scale up by a whole number like 2x. Pixels stay hard-edged.

Tilesets work too. Edit one at the same size and it stays a tileset, with its tile size and layout kept. If you need a tileset in the first place, the top-down tileset guide covers that.

What it won't do

New stuff. Armor, a hat, a sword, a new pose, a different angle. Those need imagination, and an agent that only works with existing pixels can't draw them well. When you ask, it tells you so and offers the part it can do, and the question doesn't cost anything.

Edit with Agent replying that golden armour needs new shapes it can't derive from the sprite, and offering a gold recolor of his clothing instead

For those, use Edit with this image in the same viewer. That sends your sprite to an image model with a prompt. If you then want the result back on your exact palette or outline, that's a job for Edit with Agent again.

Good to know

  • Edit with Agent is part of the Starter plan and up. See pricing.
  • It works on pixel art. Stills can be up to 256px on a side.
  • Most edits I ran landed between 50 and 235 credits and took anywhere from under a minute to about four minutes.
  • One clear change per message works best. "Make the cape red" beats "make the cape red, fix his boots and add a shadow".

Try it

Open any pixel sprite in My Assets and pick Edit with Agent. Not sure what to ask? The in-app assistant can point you to the right tool. And if it makes something weird, I'd like to see it in the SpriteCook Discord.