Google

Google: Gemini 3.1 Flash Image

google/gemini-3.1-flash-image
Context

128K

Input

text, image

Output

text, image

Tool calling

Supported

About this model

Gemini 3.1 Flash Image, also known as Nano Banana 2, is Google's high-efficiency native image generation and conversational editing model. It is optimized for low-latency, high-volume image workloads and supports high-quality image generation, editing, improved text rendering, multiple aspect ratios, search-informed generation, and resolutions up to 4K.

Input modalities

text

Accepted as model input

image

Accepted as model input

Providers

Available routing options for this model through OneInfer.

Available

Image generation

$0.035 / image

Routing

OneInfer optimized

Pricing

Current OneInfer pricing for this model.

UsagePrice
Image generationstandard · auto$0.035 / image

Performance & Benchmarks

Independent evaluations and live cluster operational metrics

We haven’t measured this model yet.

API Guide

API docs
  1. 1

    Generate your access token

    Use your API key to generate the JWT access token required by the Models API.

  2. 2

    Add the JWT token

    Copy the generated JWT token and replace JWT_TOKEN in the example below.

  3. 3

    Check your credits

    If your balance is too low, before calling the model.

  4. 4

    Run the API example

    Choose your preferred language, copy the example, and send your first model request.

    curl -X POST https://api.oneinfer.ai/v1/ula/generate-image \
      -H "Authorization: Bearer YOUR_JWT_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
      "provider": "google",
      "model": "google/gemini-3.1-flash-image",
      "messages": [
        {
          "role": "user",
          "content": "A futuristic city skyline at dusk"
        }
      ],
      "number": 1,
      "size": "auto",
      "quality": "standard"
    }'

Community Model Reviews & Ratings

Verified visitor & developer evaluations on Google: Gemini 3.1 Flash Image's real-world intelligence, code accuracy, and speed

4.8
Community consensus rating
Top Community Consensus Tags:
Be the first to rate and tag this model's coding and reasoning strengths!

No community reviews yet

Be the first to share developer feedback on Google: Gemini 3.1 Flash Image's latency, code accuracy, and reliability in production.