Nano Banana 2
Google's Gemini 3.1 Flash Image Preview model for fast, high-volume image generation and editing.
Generation Modes
Text-to-image + editing
No `image_urls` means text-to-image
Reference Images
Up to 14
With `image_urls`, the request becomes image editing
Resolution Pricing
0.5K / 1K / 2K / 4K
Priced per generated image
Input
$0.45$0.5000
10% off1M tokens
Output
$54$60.0000
10% off1M tokens
nanobanana-2Playground
nanobanana-2Click or drag
Resolution (sent to backend)
Aspect Ratio (sent to backend)
No output yet
Pricing
| Plan | Context Window | Max Output | Input | Output | Cache Write | Cache Read |
|---|---|---|---|---|---|---|
gemini-3.1-flash-image | - | - | $0.45$0.500010% off 1M tokens | $54$60.000010% off 1M tokens | - | - |
Pricing checked on 2026-04-21 from the internal Gemini image pricing memo.
Reference pricing also lists optional web search and image search surcharges at +$0.014 per image each; those add-ons are not included in the base prices shown here.
README
- Nano Banana 2 corresponds to Google's Gemini 3.1 Flash Image Preview model (`gemini-3.1-flash-image-preview`).
- Google positions it as the high-efficiency counterpart to Gemini 3 Pro Image, built for speed and high-volume developer use cases.
- On ReachAPI, it is exposed as an asynchronous image task model for text-to-image, image editing, and search-enhanced generation, with up to 14 reference images and `0.5k`, `1k`, `2k`, and `4k` resolution options.
API
Google's Gemini 3.1 Flash Image Preview model for fast, high-volume image generation and editing.
Model Code
nanobanana-2
API
Endpoint
POST /v1/images/createAuthentication
Authorization: Bearer YOUR_REACH_API_KEY Content-Type: application/json
Example
curl -X POST "https://direct.reachapi.ai/v1/images/create" \
-H "Authorization: Bearer YOUR_REACH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nanobanana-2",
"input": {
"prompt": "A futuristic city at sunset, cinematic lighting, highly detailed",
"aspect_ratio": "16:9",
"resolution": "2k",
"output_format": "png"
}
}'