nanobananalisted
Install: claude install-skill Xipher-Labs/walter-os
# Nano Banana — Image Generation & Editing
Google's Nano Banana family lives in the Gemini API. Three tiers as of May 2026:
| Variant | Model ID | Use when |
|---|---|---|
| Nano Banana | `gemini-2.5-flash-image` | Speed, cost (~$0.039/img), high-volume batches, drafts, DevRel iteration |
| Nano Banana 2 | `gemini-3.1-flash-image-preview` | Default for production: better text rendering, hybrid reasoning |
| Nano Banana Pro | `gemini-3-pro-image-preview` | 4K output, complex semantic reasoning, hero/marketing assets, multi-language text in image |
All outputs include an invisible **SynthID watermark**. Decline requests to remove it.
## Setup (once)
```bash
walter ai configure --profile mixed --set image_generation=gemini
pip install google-genai pillow
export GEMINI_API_KEY="..." # https://aistudio.google.com/apikey
```
The helper script checks `~/.config/walter-os/ai-capabilities.yaml` (or
`WALTER_AI_CAPABILITIES_FILE`) before calling Gemini. If `provider_gemini` is
disabled or `route_image_generation` does not include `gemini`, it exits before
loading SDK dependencies.
Store the key in your private overlay or shell secret manager, never in the
repository.
## 1. Text → Image (basic generation)
```python
from google import genai
from PIL import Image
from io import BytesIO
client = genai.Client()
response = client.models.generate_content(
model="gemini-2.5-flash-image",
contents=[
"Hero illustration for a Solana RPC infrastructure blog post. "