← Back to Blog
New model

Nano Banana 2 API: Google's Gemini 3.1 Flash Image on FastMetal

FastMetal

Google's image model Nano Banana 2 (google-nano-banana-2) is available on FastMetal. It is built on Gemini 3.1 Flash Image and aims for fast generation at high quality. You call it with the same API key and the same balance you use for text models.

What it does well

  • Text inside images. Google highlights sharp, readable lettering in many languages, which matters for logos, banners and posters.
  • Edits from reference images. You can combine several images with a text instruction to swap a background or composite elements. FastMetal serves these edits on /v1/images/edits with up to 14 input images.
  • Consistent subjects. It is designed to keep the same person or object recognizable across a series of images.
  • Billing per image. Each image has a fixed price at its resolution tier (1K, 2K or 4K), so you can estimate cost by counting images instead of tokens. An edit adds a charge for each input image. The rates are on the model page.

Calling it

Use the images endpoint with your usual API key:

curl https://api.fastmetal.ai/v1/images/generations \
  -H "Authorization: Bearer $FASTMETAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google-nano-banana-2",
    "prompt": "A poster with a washi paper texture, Tokyo Tower at dusk in the background",
    "size": "1024x1024"
  }'

In the web app, the same model is in Studio.

Picking an image model

FastMetal serves image models built for different jobs:

ModelModel ID
Nano Banana 2google-nano-banana-2
Seedream 4.5bytedance-seedream-4.5
Z-Image Turboz-image-turbo

All of them bill per image, and each model page lists its rate. A common split is a lower-cost model for drafts and a stronger one for the final image. Since they share one key, comparing them takes a change to the model field.

How we add image models

Before an image model goes into the catalog, we run real generations and check that the amount billed matches the image we got back. The prices in the catalog come from those measurements.

Current rates and the full model list are in the model catalog, and the pricing page explains how billing works.

Try Nano Banana 2 right now

Nano Banana 2 is available on FastMetal through one API key. Start in the browser, or call it from the OpenAI SDK.