Google/Nano Banana 2

-75%vs official

Google 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.

24-hour availability —Per image $0.02 / imageData privacy

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 docs
Try

What to generate, or how to change the reference images (official contents[].parts[].text).

0 chars

Reference images
Up to 14 images 0/14
No test requests yet. Send your first request.

Output

Perfume on Volcanic Rock
Example output — Perfume on Volcanic Rock · Nano Banana 2. Run the model to generate your own — results appear here.

Availability 24 hours

Hourly success rate of all completed requests to this site.

Loading…

Pricing

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.

SpecBilling itemOur priceCurrent pricefal.aiOfficial priceSavings
1KPer request$0.02/request$0.08/request$0.067/request70% cheaper than official75% cheaper than fal.ai
2KPer request$0.03/request$0.12/request$0.101/request70% cheaper than official75% cheaper than fal.ai
4KPer request$0.045/request$0.16/request$0.151/request70% cheaper than official72% cheaper than fal.ai

Reference prices checked on 2026-12-02: fal.ai · Official pricing

README

Nano Banana 2

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.

Why Choose This?

General-purpose creation and editing
Google describes Gemini 3.1 Flash Image as balancing quality, generation speed, and cost. Build a scene from a brief or start with an existing image and give focused instructions for the subject, background, and framing.
Choose frame and output size
Google documents options from 512-pixel class to 4K. Use drafts to compare subject scale and hierarchy, then check type and important edge details separately for every size you prepare for publication.
Keep recognizable subject details
Google's image guide describes reference inputs for continuity. Define outlines, colors, or marks that should remain recognizable, then vary the environment or point of view one at a time across a collection of related assets.

Parameters

ParameterRequiredDescription
contentsarrayRequiredConversation turns in the Gemini format.
generationConfig.imageConfig.aspectRatioenumOptionalAspect 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.imageSizeenumOptionalOutput size Options: 512, 1K, 2K, 4K. Default: 1K.

How to Use

  1. Try it here first — Sign in and run the model in the playground above to check the output before you write code.
  2. Create an API key — Open Console → API Keys and create a key. The same key works for every model.
  3. Write your prompt — Describe the subject, style, composition and lighting you want.
  4. Set optional parameters — Adjust the optional parameters listed above to control the output.
  5. Send the request — Call POST /v1beta/models/gemini-3.1-flash-image:generateContent with the model ID gemini-3.1-flash-image.
  6. Read the result — The generated output comes back in the response and the request is logged in the console.

Writing Effective Prompts

The model reads a prompt like a creative brief. Name the subject first, then add the details that matter.

1. Subject and action

Who or what is in the image, and what it is doing.

2. Style and medium

Photo, 3D render, watercolor or flat illustration. For photographic looks, name a lens or film stock.

3. Composition

Framing and viewpoint: close-up, wide shot, overhead, centered, rule of thirds.

4. Lighting and color

Golden hour, soft studio light, neon, a pastel palette, high contrast.

5. Text in the image

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
Weaka coffee shop
StrongA 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.

Pricing

Billing itemPriceOfficial price
Per request · 1K$0.02 per request$0.08 / request
Per request · 2K$0.03 per request$0.12 / request
Per request · 4K$0.045 per request$0.16 / request
Per request · 1K$0.02 per request$0.08 / 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

Best Use Cases

  • Adapt one visual to several channelsKeep product shape, palette, and copy consistent while generating square and portrait versions separately. Check the space around the subject and text in each composition, then review the edges of the actual channel crop.
  • Explore a set of article coversSupply three topics and one visual style, with the same subject in a different setting for each cover. Review the focal point at thumbnail size and select the frame that suits the publication channel.
  • Edit an existing product imageUse a clear product photo as the reference and request a new background or a change to one compositional element. Review edges, shadows, and markings to decide whether the result is suitable for the product page.
  • Develop a visual from a sketchCombine a rough sketch, approved copy, and a lighting direction in the brief to get a reviewable concept. Iterate against feedback and preserve the space that will be needed for final typesetting.

Pro Tips

  • Distinguish an edit from a fresh image — For a revision, name the part to update and what to retain, such as the subject position. For a new image, start with purpose and subject, then specify composition and palette priorities.
  • Test the intended framing early — Use the destination aspect ratio during layout reviews and reserve areas that will carry copy or interface controls. Inspect tricky crops individually so important parts of the subject stay visible in every size.
  • Proofread generated lettering — Supply precise wording for short headings, labels, and values and check them in both the source file and display preview. If the final typography will be handled separately, reserve a clean area for it in the generated image.

FAQ

What is Nano Banana 2?

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.

How do I call the Nano Banana 2 API?

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.

How is billing calculated?

Charges are based on the selected model, its billing method, and your actual usage.

Where do I get an API key?

Create one in Console → API Keys. The same key works for every model on the gateway.

Can I use the output commercially?

Yes. You can use what you generate in commercial projects, subject to the model provider’s terms.

About Nano Banana 2 on DreamTo

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.