Google Nano Banana 2 (Gemini 3.1 Flash Image) delivers Pro-quality image generation at Flash speed with 512px to 4K resolution support. Features include improved text rendering, character consistency for up to 5 characters, and real-world knowledge integration. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Ожидание

$0.07за запуск·~14 / $1

Nano Banana 2 Text-to-Image (Gemini 3.1 Flash Image) is Google’s lightweight yet powerful AI image generation model, built for creators who need fast, high-quality visuals from simple text prompts. It transforms words into expressive, realistic images with remarkable clarity, composition, and style diversity — all within seconds.
Fast generation Optimized for speed while maintaining high visual quality.
Multi-resolution support Output in 1K, 2K, or 4K resolution based on your needs.
Flexible aspect ratios Multiple options including 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, and 8:1.
Cinematic quality Excels at photorealistic scenes with atmospheric lighting and anamorphic lens effects.
Prompt Enhancer Built-in tool to automatically improve your descriptions.
Format choice Export in PNG or JPEG format.
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired image |
| aspect_ratio | No | Aspect ratio: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1 |
| resolution | No | Output resolution: 0.5k, 1k (default), 2k, 4k |
| enable_web_search | No | Enable web search to enhance generation with real-time info (default: false) |
| enable_image_search | No | Enable image search to enhance generation with real-time info (default: false) |
| output_format | No | Output format: png (default), jpeg |
| Resolution | Cost |
|---|---|
| 0.5k | $0.045 |
| 1k | $0.07 |
| 2k | $0.105 |
| 4k | $0.14 |
| Web search | +$0.014 |
| Image search | +$0.014 |