Short answer. Decide first whether you need a sheet of different things (items, poses, characters) or a sheet of animation frames. For different things, generate every sprite in one locked style with the same character reference, cut them out, size them to one grid and pack them; your engine slices the sheet by grid. For smooth animation frames, a pixel-native tool such as PixelLab or an animation tool such as Ludo.ai is the better pick; general image models, Keystyle (our product) included, make still sprites, and frames from an animated clip need cleanup.
We make Keystyle, so read this with that in mind. Competitor features below are from each tool's own site, checked November 10, 2026, and this post says where another tool is the better pick.
A sprite sheet is one image holding many sprites on a grid, so the game loads one texture and shows one cell at a time. The hard part with AI isn't the sheet. It's getting every cell to look like it came from the same game: same style, same character, same size, same camera.
Two kinds of sprite sheet
Decide which one you need before you prompt. The workflow is different.
| Sheet of different sprites | Sheet of animation frames | |
|---|---|---|
| Examples | Items, pickups, enemies, a character's poses or emotes | Walk cycle, run, attack, idle |
| What matters | Same style, same scale, readable silhouettes | Each frame moves a little from the last, on the same spot |
| What AI does well | Very well: one style, many subjects | Mixed: still image models can't keep frames in step |
| Best tool | Any image model with a locked style and character reference | A pixel-native or animation tool (PixelLab, Ludo.ai) |
If you need both, mix tools: make the character and its key poses in one style, then animate the poses where animation is the tool's strength.
Step 1: Lock the style and the character
A sheet falls apart when one sprite has a thick outline and the next has none. Two things keep it together:
- One style for every sprite. Show the model 6–16 images in the look you want, or describe it. In Keystyle that's a saved style: it builds a style sheet and a written style guide, tests them and fixes what doesn't match, in about a minute, with no training.
- One character reference for every pose. A text description isn't enough to keep a face and outfit the same. In Keystyle you save a character once and call it with
@in any line, so each pose gets the same reference image. (The free plan holds up to 2 saved characters; paid plans have no limit.)
Put the sheet's rules in the style too, so you don't repeat them in every line:
| Rule | Example |
|---|---|
| Camera | Side view, facing right, full body |
| Framing | Character fills about 80% of the height, feet at the same line |
| Background | Plain flat background (or transparent) |
| Lighting | Light from the top left, no cast shadow |
| Detail | Chunky shapes that read at 64 px |
Step 2: One line per sprite
Write the sprites as a list, one per line. Each line becomes one image in the same style:
@Juno idle, standing, arms at her sides
@Juno walking, mid-stride, left foot forward
@Juno jumping, knees tucked
@Juno crouching behind her umbrella
@Juno hurt, leaning back
@Juno waving
For items, drop the character and keep the list tight on one theme: "a cracked health potion", "a brass key with a gem in the bow", "a coin pouch". Say the pose and facing in every character line; "side view, facing right" in the style plus the pose in the line keeps the roster lined up.
Cost in Keystyle: GPT Image 2.5 at medium quality is about 6 credits a sprite (3 in batch mode, OpenAI models only), and every run shows its price first. Nano Banana Pro, for the most detailed sprites, is about 38 credits. One credit is $0.01; packs start at $5 for 500 credits.
The cheaper route for items: one sheet, sliced
For 50 pickups where cost matters more than control, ask for many items on one image, then cut it apart. Keystyle's Icon pack from one sheet workflow draws up to 16 subjects on one transparent sheet, slices it into separate images (free, runs locally) and upscales each one, for roughly 1–2 credits a sprite. The trade-off: less control over each sprite, and items that touch on the sheet need cleaning up. It's a poor fit for character poses, which need the same size and baseline in every cell.
Step 3: Clean up each sprite
- Transparent background: GPT Image 2.5 can return transparency directly. For other models, cut out with the background remover, or add a Remove background step to a workflow to clear the whole batch.
- Same size for every cell: trim each sprite, then fit it into a fixed square with even padding, feet on the same line for characters. Uneven cells make sprites jump when frames change.
- Pixel art: AI models don't draw on a real pixel grid, even when asked. Snap each sprite to your grid and a shared palette with Pixelate (free, in the browser), using the same pixel count and palette size for every sprite.
- Check at real size: shrink the sheet to the size players see. If a sprite turns to mush at 32 or 64 px, regenerate just that line with "simpler, bigger shapes".
Step 4: Pack the sheet
Lay the cleaned sprites out on a grid: every cell the same size, in the order your animation or code expects (row by row). You can do this in any image editor, a packing tool such as TexturePacker (which exports data files for Unity, Godot and 40-odd other engines), or skip the sheet entirely and let the engine pack separate PNGs into an atlas.
Keystyle doesn't pack sprites into a game sheet for you today. It makes the sprites and exports them as a zip of PNGs named after the line you typed (juno-walking-mid-stride.png), which most packers and engines take as is.
Step 5: Load it in your engine
Unity (from Unity's Sprite Editor documentation):
- Select the texture and set Texture Type to Sprite (2D and UI) and Sprite Mode to Multiple.
- Open the Sprite Editor and use the Slice menu: Grid By Cell Size or Grid By Cell Count for an even grid, Automatic for sprites separated by transparency.
- Select Slice, then Apply. Each cell becomes its own sprite asset.
For pixel art, also set Filter Mode to Point and turn compression off.
Godot (from Godot's 2D sprite animation tutorial):
- AnimatedSprite2D: give it a new SpriteFrames, open the SpriteFrames panel, choose Add frames from a Sprite Sheet, set the horizontal and vertical counts to match your grid, select the frames and add them.
- Sprite2D: set Hframes and Vframes to your columns and rows, then animate the Frame property with an AnimationPlayer.
For pixel art, set the texture filter to Nearest.
Animation: animate a clip, or draw each frame?
| Approach | How it works | Good for | Weak at |
|---|---|---|---|
| Draw each frame as its own image | One line per frame ("walk, frame 1 of 6…") | Key poses, emotes, 2–3 frame idles | Smooth cycles: limbs and proportions drift between frames |
| Animate a still into a clip, then take frames | Image-to-video, then export frames at a fixed rate | Effects, idles, trailers and store page loops | Game-ready frames: the camera and lighting move, edges blur, cleanup is needed |
| A sprite animation tool | Built to animate a sprite in place | Walk, run, attack cycles in 4 or 8 directions | Non-pixel styles, depending on the tool |
Where other tools are the better pick: for real animation cycles, use a tool made for them. PixelLab animates pixel characters (walk, run, idle, attack) in 4 or 8 directions and exports sprite sheets or individual frames. Ludo.ai has Animate Sprite, Edit Spritesheet and New View Spritesheet tools on every paid plan (Indie $15, Pro $35, Studio $300 a month, billed yearly). Our sprite generator comparison covers more options.
If you take frames from a clip: in Keystyle, animate a still with Wan 3.0 (5 or 10 seconds; $0.05 a second, about 63 credits for 5 seconds), then pull frames out with a video tool. With FFmpeg, ffmpeg -i clip.mp4 -vf fps=12 frame_%03d.png writes 12 frames a second as PNGs. Expect to cut out, re-centre and pixelate every frame, and to drop frames where the camera drifts. It works best for effects and short loops, not for walk cycles.
Common problems
- Sprites at different scales: add the framing rule to the style ("fills 80% of the height, feet on the bottom line") and fit every sprite into the same cell after cutout.
- The character changes between poses: use a saved character reference on every line, not a description, and regenerate only the line that drifted.
- Different facing: put "facing right" in the style and the line; mirror sprites in the engine rather than generating both directions.
- Halo around edges after cutout: generate on a plain background that contrasts with the character, or use a model with native transparency.
- Blurry pixel art in the engine: the filter is wrong. Point (Unity) or Nearest (Godot), and scale only by whole numbers.
Sources
Checked November 10, 2026: PixelLab and its llms.txt (animation directions and export formats), Ludo.ai pricing, TexturePacker, Unity Sprite Editor, Godot 2D sprite animation. Keystyle prices from the app's model catalogue and pricing.
Questions
Can AI make a whole sprite sheet in one image?
Yes, but the sprites drift in size and spacing and often touch. It works for items and icons if you slice the sheet afterwards. For characters and animation frames, one image per sprite gives more control and cleaner edges.
Can AI generate walk cycles and other animation frames?
Pixel-native and animation tools can: PixelLab animates characters (walk, run, idle, attack) in 4 or 8 directions and exports sprite sheets, and Ludo.ai has Animate Sprite and spritesheet tools. General image models make one still at a time, so frames drawn separately rarely line up.
How do I keep the same character in every sprite?
Send the same character reference with every image, plus the same style. In Keystyle that is a saved character called with @ in each line, inside a saved style. Also fix the camera, facing and framing in the style so every pose sits the same way in its cell.
What size should sprite sheet frames be?
Pick one cell size for the whole sheet: 16, 32 or 64 px for pixel art, larger (128–256 px) for painted sprites. Generate large, then downscale or snap to the grid. See the game asset sizes guide for details.
How do I import a sprite sheet into Unity or Godot?
Unity: set Sprite Mode to Multiple, open the Sprite Editor and slice with Grid By Cell Size or Grid By Cell Count (or Automatic for sprites separated by transparency). Godot: use Add frames from a Sprite Sheet in an AnimatedSprite2D's SpriteFrames panel, or set Hframes and Vframes on a Sprite2D.
More from the blog

