Models/google

gemini-3.1-flash-image· Released Jun 18, 2026

google/gemini-3.1-flash-image

Gemini 3.1 Flash Image, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines advanced...

Input
From$0.44/M
Output
From$2.64/M
Context
Up to 131K
Max output
Up to 33K
Modalities
ImageTextImageText

Input and output show the lowest price across upstreams, for reference. Your actual prices are listed per upstream below.

Upstreams & pricing
UpstreamContextMax outputInput $/1MOutput $/1M
Zenlayer AI Gateway-openai_compat (Global)From price
131K33K
$0.44
$2.64

Routed in real time — you pay the listed price of whichever upstream serves your call.

How to call
curlrequest.sh
curl https://api.tkex.ai/v1/chat/completions \
  -H "Authorization: Bearer $TX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-flash-image",
    "messages": [
      {"role": "user", "content": "Say hello in five words."}
    ]
  }'