PL Log inCreate account
Launching in October 2026. Accounts, model catalog, calculator and docs are live. Studio is available in preview; generation is awaiting activation.

Image Google · 2026-02

Nano Banana 2 API

Gemini 3.1 Flash Image: 0.5K to 4K, up to 4 images per call, ratios up to 8:1

0.5K$0.07per image
1K$0.07per image
2K$0.0927per image
4K$0.138per image

Failed generations are not charged. Prices exclude taxes. Billed from your prepaid USD balance.

Exact cost for your settings →

Examples

What Nano Banana 2 can do

Nano Banana 2 (Gemini 3.1 Flash Image). Prompt: "This aerial shot captures a dramatic, misty landscape, likely a valley or glen, characterized by rolling, verdant hills and a winding river or loch. The photography style leans towards a moody and atmospheric aesthetic, emphasizing the grandeur and isolation of nature. The camera angle is high, looking down into the valley, providing a sweeping panoramic view that highlights the immense scale of the surroundings..."
Nano Banana 2 (Gemini 3.1 Flash Image). Prompt: "This aerial shot captures a dramatic, misty landscape, likely a…
Nano Banana 2 (Gemini 3.1 Flash Image). Prompt: "This is a close-up, dreamlike photograph of what appears to be a neural network, bathed in a warm, golden light. The main subjects are translucent, glass-like structures resembling neurons, interconnected by thin, stretching filaments. Inside each of these neuron-like spheres is a bright, glowing core of orange light, casting a radiant glow. The depth of field is very shallow, causing the foreground elements to be in sharp focus while the background dissolves into a soft, blurry bokeh of warm orange and cool blue-white lights..."
Nano Banana 2 (Gemini 3.1 Flash Image). Prompt: "This is a close-up, dreamlike photograph of what appears to be a…
My test: illustration: hedgehog barista (result from promptowy.com)
My test: illustration: hedgehog barista (result from promptowy.com)

Official examples from the model vendor: Google DeepMind. Frames labelled "My test" are my own generations from tests published on promptowy.com.

Nano Banana 2 is Google's Gemini 3.1 Flash Image, released in February 2026. It covers text-to-image and image-to-image with up to 14 reference images and returns up to 4 images per request. Resolution runs from 0.5K for quick drafts to 4K, and the 14 aspect ratios include strips such as 1:4, 4:1, 1:8 and 8:1. Google also offers web and image search grounding for this model, but Jantaris does not expose it yet. A 1K image typically finishes in 10-30 seconds.

Best for

  • Fast concept rounds with 4 variations per call
  • Long web banners and vertical strips at 4:1, 8:1 or 1:8
  • Several sizes of one visual, from a 0.5K draft to a 4K final
  • Keeping a character consistent across a series with reference photos

Prompting tips

  • The recommended reference mix is up to 10 object images plus up to 4 character images.
  • Use 0.5k for layout drafts, then re-render the chosen prompt at 2k or 4k.
  • For extreme ratios, describe the composition along the long axis: "left to right: logo, headline, product".
  • Set num_images to 4 to compare interpretations of one prompt in a single call.

FAQ

How much does the Nano Banana 2 API cost?

The rate is from $0.07 per image, taken from your prepaid Jantaris balance. Failed generations are not charged.

How fast is Nano Banana 2?

A 1K image typically completes in 10-30 seconds. For short jobs you can call /v1/generate?wait=60 and get the finished image in the same response; see /docs/generate.

Does Nano Banana 2 support 4K?

Yes, 4K is the top of its four tiers (0.5K, 1K, 2K, 4K). For heavier multi-reference compositing, compare it with Nano Banana Pro.

How to call Nano Banana 2 via API

curl https://jantaris.com/v1/generate?wait=60 \
  -H "Authorization: Bearer $JANTARIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "nano-banana-2",
  "input": {
    "prompt": "Product photo of a matte black ceramic coffee cup on a travertine table, soft window light, 50mm",
    "aspect_ratio": "1:1",
    "resolution": "1k"
  }
}'

Parameters

ParameterTypeAllowedDefault
prompt *string≤ 32000 chars
aspect_ratiostring1:1 2:3 3:2 3:4 4:3 4:5 5:4 9:16 16:9 21:9 1:4 4:1 1:8 8:11:1
resolutionstring0.5k 1k 2k 4k1k
num_imagesinteger1-41
image_urlsarraymax 14

The same schema is available from GET /v1/models/nano-banana-2.