Nano Banana 2
nano-banana-2Google Nano Banana 2 (Gemini 3.1 Flash Image) for fast text-to-image and image edits in one model, with up to 4K output and flexible aspect ratios.
- Image editing
- Generation
Pricing
Includes our margin. Charged per request from your balance.
Per image
- 1K
- $0.088
- 2K
- $0.13
- 4K
- $0.18
Details
- Provider
- Added
- Feb 26, 2026
Options
Parameters this model accepts.
- Resolutions
- 1k
- 2k
- 4k
- Aspect ratios
- auto
- 1:1
- 3:2
- 2:3
- 3:4
- 4:3
- 4:5
- 5:4
- 9:16
- 16:9
- 21:9
- Images per request
- Up to 4
- Input images
- Up to 14
- Input image formats
- PNG, JPEG, WEBP
- Max input image size
- 30 MB
Use it from the API
Replace $HIDE_API_KEY with a key from the Developers page. Base URL https://hide.st/api/v1.
curl https://hide.st/api/v1/images/generations \
-H "Authorization: Bearer $HIDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-2",
"prompt": "A lighthouse on a rocky coast at dusk, oil painting",
"n": 1
}'