G
Nano Banana 2.1
Nano Banana 2.1, an image model from Google.
imageModelOverride: { model: "gemini-nano-banana-2.1" }
Google·Released October 2026Pricing
- List price
- $0.0336-$0.113/image
- Per generation
- $0.034
- Per generation
- $0.050
- Per generation
- $0.11
- Input
- $1.50 / 1M
- Input
- $7.50 / 1M
Specifications
- Context window
- 131,072 tokens
- Max output
- 32,768 tokens
- Aspect ratios
- 10
- Released
- October 2026
Parameters
Model options, passed in
imageModelOverride.config.| Parameter | Type | Default | Range / options |
|---|---|---|---|
source_imagesImages to edit or draw from: up to 10 of objects and 4 of characters. | Image URLs | — | — |
aspect_ratio | Select | 16:9 | 1:116:99:163:44:32:3+4 |
imageSize | Select | 2K | 1K2K4K |
Use this model
await mindstudio.generateImage({ prompt: "...", imageModelOverride: { model: "gemini-nano-banana-2.1", config: { aspect_ratio: "16:9", imageSize: "2K", }, }, });