← All models

google

Google: Nano Banana 2 (Gemini 3.1 Flash Image)

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

imagetext

Try in Playground ↗

Provider-supported parameters

These are upstream capabilities. Jevrouter supports the subset described in the API contract; chat input is currently text only.

nresolutionaspect_ratioinput_references

Capabilities are imported from OpenRouter’s catalog. This does not mean every model has been independently tested by Jevrouter.

Catalog updated: 2026-09-22T08:51:50.371Z · Price version: cmub118ts00fhr82g7i3lillr:1

Image prices & options

Prices use each provider’s billing unit. We reserve a conservative amount and settle from the usage receipt, releasing unused balance.

Google AI Studio
UsageUnitUSDVariant
output imagetoken$0.00006Default
{
  "n": {
    "type": "range",
    "min": 1,
    "max": 1
  },
  "resolution": {
    "type": "enum",
    "values": [
      "512",
      "1K",
      "2K",
      "4K"
    ]
  },
  "aspect_ratio": {
    "type": "enum",
    "values": [
      "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"
    ]
  },
  "input_references": {
    "type": "range",
    "min": 0,
    "max": 14
  }
}
Google Vertex
UsageUnitUSDVariant
output imagetoken$0.00006Default
{
  "n": {
    "type": "range",
    "min": 1,
    "max": 1
  },
  "resolution": {
    "type": "enum",
    "values": [
      "512",
      "1K",
      "2K",
      "4K"
    ]
  },
  "aspect_ratio": {
    "type": "enum",
    "values": [
      "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"
    ]
  },
  "input_references": {
    "type": "range",
    "min": 0,
    "max": 14
  }
}

Make a request

Some models require reference images. Check the input_references range above. Images return base64 data and a usage receipt.

curl --no-buffer https://api.jevrouter.io/v1/images \
  -H "Authorization: Bearer $JEVROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d @- <<'JSON'
{
  "model": "google/gemini-3.1-flash-image",
  "prompt": "A quiet mountain cabin at sunrise, watercolor illustration",
  "n": 1,
  "stream": true
}
JSON

Plan your integration

Source: OpenRouter model catalog. Imported descriptions and capabilities are provider declarations, not independent benchmark results. Jevrouter currently uses OpenRouter as its managed upstream.