Skip to content
Nano Banana

How to Create Pixel Art with Nano Banana 2 (Gemini Flash Image)

Learn to generate clean pixel art sprites, tiles, and character sheets with Nano Banana 2 — 8 copy-paste prompts and pro tips included.

9 min read
How to Create Pixel Art with Nano Banana 2 (Gemini Flash Image)

Pixel art is one of those styles that looks dead simple but breaks AI image generators constantly. Ask most models for “pixel art” and you get a blurry watercolor with a vague retro vibe and absolutely zero actual pixels. Nano Banana 2 — the community nickname for Google’s Gemini 3.1 Flash Image generator — handles it differently, partly because of how precisely you can specify style parameters, and partly because its text-to-image engine responds well to technical, structured prompting. The results aren’t perfect out of the box, but with the right prompt architecture, you can get clean 16×16 sprites, isometric scenes, and full RPG-style character sheets that actually look like pixel art.

This tutorial walks through the complete workflow: where to access Nano Banana 2, how to structure pixel art prompts, which parameters matter, and how to iterate. All prompts below are copy-paste ready. Some produce sprites, some produce environment art, some produce UI assets — because pixel art covers a lot of ground and “make a pixel art character” is not a useful prompt.

What You’ll Get Out of This

By the end of this tutorial you’ll be able to generate clean pixel art sprites, isometric tiles, retro game scenes, and character sheets using Nano Banana 2. You’ll also know which prompt elements control sprite resolution feel, color palette, and style fidelity — so you can iterate fast instead of guessing.

Where to Access Nano Banana 2

Nano Banana 2 runs on Gemini 3.1 Flash Image, which is available through four different surfaces. The Gemini app (gemini.google.com) is the easiest starting point — no setup, just type and generate. Google AI Studio (aistudio.google.com) gives you more control with system prompts and parameter tuning, which matters a lot for pixel art consistency. The Gemini API lets you pipe prompts programmatically, useful if you’re building a sprite pipeline. Vertex AI is the enterprise route — same model, more infrastructure control. For this tutorial, AI Studio is the recommended starting point because you can see prompt/output pairs side by side and iterate quickly.

Pro tip ✅

In AI Studio, set the model to Gemini Flash and use the image generation endpoint. The system prompt field is your secret weapon — use it to lock in global style constraints like “all outputs must use a 16-color palette” so you don’t have to repeat it in every prompt.

How Pixel Art Prompting Actually Works Here

The core issue with AI pixel art is that most models interpolate — they produce smooth gradients and anti-aliased edges, which is the literal opposite of pixel art. To counteract this in Nano Banana 2, your prompt needs to do three things simultaneously: specify the resolution feel (32×32, 64×64, 16×16 sprite scale), lock in the color constraint (limited palette, no gradients, no dithering unless you want it), and name the aesthetic reference clearly (NES, Game Boy, SNES, CPS2, DOS game). Vague prompts get vague results. Specific prompts get specific results.

The other thing that helps: Nano Banana 2’s subject consistency feature supports up to five characters in a single prompt, which means you can generate a full character roster for a game and maintain visual coherence across sprites. Specify all characters in one prompt, describe the shared palette, and let the model maintain consistency across the set. This is genuinely useful for indie game dev workflows.

Pro tip ✅

Always include the pixel density descriptor AND a color count in your pixel art prompts. “32×32 pixel sprite, 8-color palette” gives the model concrete constraints to work within. “Pixel art style” alone is almost useless — it’s too broad.

Core Prompts: Sprites

Start with character sprites, since they’re the most common pixel art use case. The following prompt generates a classic RPG hero sprite with proper front-facing idle pose:

32x32 pixel art character sprite, RPG hero, male, green tunic, brown boots, sword on back, front-facing idle pose, NES color palette, 8 colors maximum, pure pixel art, no anti-aliasing, no gradients, transparent background, game asset style

The “transparent background” instruction is important if you’re planning to use this as an actual game asset — it tells the model you want a sprite, not a scene. “NES color palette” constrains the color range dramatically. You can swap this for “Game Boy palette” (four greens), “CPS2 arcade palette,” or “SNES 16-color palette” depending on the era you’re targeting.

16x16 pixel art sprite sheet, four walking poses, side view, fantasy warrior female, red armor, blonde hair, 4-color palette, pure pixels, no blur, flat colors, retro game style, white background grid

This one requests a sprite sheet layout — four frames of a walk cycle. The model won’t always nail animation-ready frame-perfect consistency, but it gives you a strong starting point for manual cleanup. The “white background grid” instruction helps keep frames visually separated so you can extract them.

Warning ⚠️

Don’t ask for sprite sheets with more than six frames in one prompt. Beyond that, the model tends to compress frames, making them too small to be usable. Generate fewer frames and iterate.

Environment and Tile Art

Pixel art backgrounds and tiles require a different prompt structure. Here the color palette and perspective matter more than the character detail.

Isometric pixel art, dungeon tile set, stone floor, brick walls, torches on wall, treasure chest, 64x64 tile scale, 16-color palette, SNES RPG style, top-down isometric perspective, clean pixel edges, no dithering, game asset

The isometric constraint is one of the more reliable style locks in Nano Banana 2 — “isometric pixel art” tends to produce recognizably isometric output more consistently than other perspective requests. For top-down Zelda-style environments, replace “isometric” with “top-down orthographic” and specify tile boundaries.

Pixel art background scene, fantasy forest, pixel trees, pixel grass, pixel river, 8-bit style, horizontal scroll game background, three-layer parallax design, night setting, moon visible, 320x200 resolution feel, limited color palette, no gradients

The “horizontal scroll game background” instruction orients the model toward a wide panoramic composition rather than a portrait or square image. “Three-layer parallax design” sometimes gets respected — it encourages visual depth separation between foreground, midground, and sky.

Note 💡

For tileable assets, add “seamlessly tileable, no visible seams” to your prompt. The model doesn’t always nail perfect tiling, but it does produce more edge-friendly compositions that require less manual cleanup.

Character Sheets and Multi-Character Prompts

This is where Nano Banana 2’s subject consistency feature earns its keep. You can describe up to five characters in a single prompt and get a coherent visual style across all of them — same pixel scale, same palette treatment, same line weight feel.

Pixel art character roster sheet, five characters, RPG party: 1) human warrior male blue armor, 2) elf archer female green cloak, 3) dwarf mage male red robes, 4) halfling rogue female brown leather, 5) orc paladin male gold armor. All 48x48 pixel sprites, front-facing idle, SNES color style, 16 colors maximum, consistent pixel scale across all five characters, white background

This is a high-complexity prompt and results will vary — sometimes one character breaks the style, sometimes the scale drifts. When that happens, pull out the inconsistent character, describe it in isolation referencing “same style as previous output,” and replace manually. The point is that Nano Banana 2 gets you 80% of the way there in one shot, which saves significant time compared to generating each character separately with no shared context.

Pixel art enemy sprite sheet, three enemy types: 1) skeleton warrior, 2) goblin archer, 3) slime monster. Each shown in idle and attack pose, 32x32 pixels each, NES 8-color palette, transparent background, side-view, retro game asset style, labeled grid layout

Pro tip ✅

When generating multi-character sheets, list each character with a number. “1) warrior, 2) mage, 3) rogue” gives the model clearer structure than a comma-separated description. It mirrors how concept sheets are actually organized, and the model responds to that structure.

Text and UI Elements in Pixel Art Style

Nano Banana 2 handles text rendering better than most generators, which opens up UI asset generation as a real use case. Pixel font labels, retro HUD elements, and dialogue boxes are all achievable.

Pixel art UI elements, retro RPG HUD: health bar with heart icons, mana bar with crystal icons, gold coin counter, dialogue box with pixel border, 8-bit font, NES color scheme, dark navy background, clean pixel edges, game asset layout on dark background
Pixel art logo text reading "DRAGON QUEST", large block letters, pixel font, fantasy RPG style, 8-bit aesthetic, gold color letters with dark outline, glowing effect in pixel style, 64-pixel letter height, retro game title card

The text rendering reliability varies — simpler, shorter words render cleaner than long phrases. If text is rendering incorrectly, try breaking it into a separate prompt focused only on the text element, then composite manually.

Avoid 🚫

Don’t ask Nano Banana 2 to generate complete UI layouts with multiple text labels in one image. The model struggles with spatial text placement when there are more than two or three distinct text elements. Generate UI components separately and assemble them in your tool of choice.

Editing and Iteration Workflow

Nano Banana 2 supports conversational editing — you can follow up a generation with instructions like “make the palette warmer” or “change the character’s armor to blue” and get an edited version without regenerating from scratch. For pixel art, this is most useful for palette swaps, pose adjustments, and background changes. It’s less reliable for structural changes like “flip the character to face right” — for that, you’re usually better off with a fresh prompt or manual editing in Aseprite or Photoshop.

The SynthID watermark that Nano Banana 2 embeds in outputs is invisible to the naked eye — it won’t affect your pixel art visually or interfere with game engine imports. Worth knowing it’s there, though, particularly if you’re working on commercial projects where provenance matters.

Pro tip ✅

After generating a sprite you like, follow up with: “Generate the same character from the side view, same palette, same pixel scale.” The model’s subject consistency holds reasonably well across view angle changes, saving you significant prompt reconstruction time.

Actually Getting Good Results: The Honest Assessment

Nano Banana 2 is not a replacement for Aseprite and three hours of manual pixel pushing. What it is, genuinely, is a fast concept generator and palette explorer. The best workflow treats it as a first-pass tool: generate a sprite, export it, bring it into Aseprite, clean up the edges, fix the anti-aliasing artifacts that inevitably sneak in, and finalize. Even a 70% accurate generation saves you the blank-canvas problem and gives you something concrete to react to.

Compare it to Midjourney V7, which consistently over-renders pixel art into something that looks more like a painted miniature than a sprite — Nano Banana 2’s constraint-following is genuinely stronger here, particularly when you get specific about pixel scale and color count. Grok Imagine produces similar results but with less palette discipline. For pixel art specifically, Nano Banana 2 is currently the AI generator most worth your time, with the caveat that “most worth your time” still means “requires cleanup.”

The 4K resolution output means that even when you’re generating at a “32×32 feel,” you’re getting a high-resolution image that you can downscale to true pixel dimensions with nearest-neighbor interpolation in any image editor. That’s the right workflow — generate big, downscale sharp, clean edges.

Your Pixel Art Stack, Now

Access Nano Banana 2 through AI Studio, use the system prompt field to lock global style constraints, then run through the prompts in this guide as starting points. The sprite prompts get you characters, the environment prompts get you backgrounds, the multi-character prompts get you consistent rosters. Bring everything into Aseprite for final cleanup. If you’re building a pipeline, the Gemini API endpoint lets you automate prompt batches — useful if you need dozens of enemy variants or tile combinations. The model isn’t magic, but for pixel art specifically, it’s the best AI starting point available right now.

author avatar
promptyze

promptyze

ADMINISTRATOR