↓ Skip to main content

README · nano-banana Reference

Nano Banana References & Model Cards #

This directory contains technical model cards, capability specifications, resolution matrices, and guidance for using reference anchors in multimodal and 2D game asset pipelines.

Model Cards & Technical References #


Reference Images & 2-Step Game Sprite Consistency Anchors #

Pass reusable reference images (Step 1 character turnaround sheets, style targets, or tileset templates) to uv run skills/nano-banana/scripts/banana.py or gemini-api image using repeatable -i (--input-image / --input) flags.

In agy-game-studio, pair nano-banana with sprite-design by generating a Step 1 character reference sheet first, then passing -i character_sheet.png to lock character identity, proportions, and color ramps across Step 2 4x4 chroma-key sprite grids:

bash
# Using uv run skills/nano-banana/scripts/banana.py (supports Vertex AI ADC and GEMINI_API_KEY)
uv run skills/nano-banana/scripts/banana.py \
  -p "Keep the exact character identity and 4-step color swatches from the reference image: generate a uniform 4x4 sprite sheet grid on a flat unlit #00FF00 background with at least 15% empty #00FF00 margin inside every cell, no grid lines, and no labels." \
  -i "character_sheet.png" \
  -f "raw_grid_part1.png" \
  -m "nano-banana-2.1" \
  -r "2K" \
  -a "1:1" \
  --thinking-level "high"

# Or using gemini-api image
gemini-api image "Keep the exact character identity and 4-step color swatches from the reference image: generate a uniform 4x4 sprite sheet grid on a flat unlit #00FF00 background with at least 15% empty #00FF00 margin inside every cell, no grid lines, and no labels." \
  -m gemini-nano-banana-2.1 \
  -i character_sheet.png \
  --image-size 2K \
  --aspect-ratio 1:1 \
  --body '{"generation_config":{"thinking_level":"high"}}' \
  --out raw_grid_part1.png