Back to model hub
gemini-2.5-flash-image

gemini-2.5-flash-image

Gemini/gemini-2.5-flash-image
ImageGemini1Kgemini-2.5-flash-image

Balanced Gemini 2.5 image model for everyday generation workloads with reliable latency.

gemini-2.5-flash-image — Groups & pricing

Access groups for this site model, same-day runtime metrics, and per-resolution per-call prices from the console.

官Key-Tier 1

普速 RPM ≈ 5~10,满足普通并发需求

1K / call
¥0.07
官Key-Tier 2

快速 RPM ≈ 50~100,满足大量并发需求

1K / call
¥0.08
官Key-Tier 3

高速 RPM ≈ 500,满足超高并发需求

1K / call
¥0.11
官Key-Tier 3 Ultra

全量 RPM > 1000,自动扩容,速率与稳定的极致追求

1K / call
¥0.20

Example code & API

Call OpenAI-compatible routes below. Replace the model field with this model’s routing code and paste an API key from the console into the Authorization header.

Traffic is proxied through the unified gateway; each model type maps to a different endpoint (chat, embeddings, images, rerank, speech, etc.), and the snippets switch automatically for the current type.

In production, set sensible timeouts and retries, and keep request identifiers from responses for debugging.

curl -X POST "https://api.bananarouter.com/v1beta/models/gemini-2.5-flash-image:generateContent" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [
      {
        "parts": [
          { "text": "Generate a futuristic cyberpunk city at night with cinematic lighting and ultra-high detail." }
        ]
      }
    ],
    "generationConfig": {
      "responseModalities": ["IMAGE"],
      "imageConfig": {
        "aspectRatio": "16:9"
      }
    }
  }'