Inputlive schema
Generate images from a text description, or upload reference images and say in the prompt what "reference image 1" and "reference image 2" are for, to edit, replace backgrounds or compose several images.
View docsGoogle Nano Banana 2 (Gemini 3.1 Flash Image) brings the core of Nano Banana Pro at Flash speed: real-world knowledge for infographics, Search and Image Search grounding, legible in-image text with translation, and multi-character consistency, from 512 px to 4K.
Generate images from a text description, or upload reference images and say in the prompt what "reference image 1" and "reference image 2" are for, to edit, replace backgrounds or compose several images.
View docs
Choose an example to fill the prompt and reference materials.
Hourly success rate of all completed requests to this site.
This model is priced by the usage dimensions listed here. Compare all pricing.
Prices are shown in USD. Charges depend on the model and your actual usage.
| Spec | Billing item | Our priceCurrent price | fal.ai | Official price | Savings |
|---|---|---|---|---|---|
| 1K | Per request | $0.02/request | $0.08/request | $0.067/request | 70% cheaper than official75% cheaper than fal.ai |
| 2K | Per request | $0.03/request | $0.12/request | $0.101/request | 70% cheaper than official75% cheaper than fal.ai |
| 4K | Per request | $0.045/request | $0.16/request | $0.151/request | 70% cheaper than official72% cheaper than fal.ai |
Reference prices checked on 2026-12-02: fal.ai · Official pricing
README
Gemini 3.1 Flash Image is the Flash-tier Nano Banana model: low-latency generation and conversational editing, and the only one in the family with a 512-pixel size. Google now recommends 2.1 for new projects. On DreamTo: text-to-image and image-to-image, 14 references, 512 to 4K output.
| Parameter | Required | Description |
|---|---|---|
contentsarray | Required | Conversation turns in the Gemini format. |
generationConfig.imageConfig.aspectRatioenum | Optional | Aspect ratio Options: 1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9. |
generationConfig.imageConfig.imageSizeenum | Optional | Output size Options: 512, 1K, 2K, 4K. Default: 1K. |
The model reads a prompt like a creative brief. Name the subject first, then add the details that matter.
Who or what is in the image, and what it is doing.
Photo, 3D render, watercolor or flat illustration. For photographic looks, name a lens or film stock.
Framing and viewpoint: close-up, wide shot, overhead, centered, rule of thirds.
Golden hour, soft studio light, neon, a pastel palette, high contrast.
Put the exact words in quotes and say where they go.
A poster with the headline "OPEN LATE" in bold white letters across the top.
| Prompt | |
|---|---|
| Weak | a coffee shop |
| Strong | A cozy corner coffee shop on a rainy evening, seen through the front window. Warm tungsten light inside, a barista pouring latte art, condensation on the glass, street reflections. 35mm photo, shallow depth of field, muted teal and amber palette. |
| Billing item | Price | Official price |
|---|---|---|
| Per request · 1K | $0.02 per request | |
| Per request · 2K | $0.03 per request | |
| Per request · 4K | $0.045 per request | |
| Per request · 1K | $0.02 per request |
That is 74% below the official list price.
Example: 10 runs at Per request cost $0.20.
Prices are shown in USD. Charges depend on the model and your actual usage. Compare all pricing
Gemini 3.1 Flash Image is the Flash-tier Nano Banana model: low-latency generation and conversational editing, and the only one in the family with a 512-pixel size. Google now recommends 2.1 for new projects. On DreamTo: text-to-image and image-to-image, 14 references, 512 to 4K output.
Send POST /v1beta/models/gemini-3.1-flash-image:generateContent with the model ID gemini-3.1-flash-image and your API key. Ready-to-run samples are in the API section above.
Charges are based on the selected model, its billing method, and your actual usage.
Create one in Console → API Keys. The same key works for every model on the gateway.
Yes. You can use what you generate in commercial projects, subject to the model provider’s terms.
Gemini 3.1 Flash Image is the Flash-tier Nano Banana model: low-latency generation and conversational editing, and the only one in the family with a 512-pixel size. Google now recommends 2.1 for new projects. On DreamTo: text-to-image and image-to-image, 14 references, 512 to 4K output.