🎁 New Sign up free, 10 calls on us. Up to $1, no card needed.

gemini-2.5-flash-image Released 2025-08-26

Google image
Input$0.3/M
Output$30/M
Knowledge cutoff2025-06

Provider list prices: no platform markup, pay-as-you-go. These are official list prices. Logged-in customers may see effective prices including workspace discounts on /console/pricing.

Use gemini-2.5-flash-image in 30 seconds

OpenAI-compatible: swap the base_url, keep your SDK. POST /v1/images/generations

from openai import OpenAI

client = OpenAI(
    base_url="https://synthorai.io/v1",
    api_key="sk-syn-...",
)

resp = client.images.generate(
    model="gemini-2.5-flash-image",
    prompt="a watercolor lighthouse at dawn",
    size="1024x1024",
)
print(resp.data[0].b64_json[:80])

About gemini-2.5-flash-image

Best engine for high-velocity visual creation
Conversational image editing at low latency
State-of-the-art speed and efficiency

Gemini 2.5 Flash Image, known as Nano Banana, is Google's image generation and editing model that the official page calls its best engine for high-velocity visual creation, with state-of-the-art speed and efficiency.

  • It is designed for high-volume scenarios, conversational image editing, and low-latency workflows, combining native multimodal understanding of image and text input with image-and-text output.
  • Token limits are 65,536 for input and 32,768 for output, and structured outputs, caching, and batch processing are supported.
  • Synthorai serves it behind the same OpenAI-compatible endpoint as its chat models.

Specs & limits

Max output (vendor spec)32,768
Modalitiestext + image → image + text
Featuresvision · structured_output · batch · caching
Image capabilitiesNative multimodal image generation with conversational image editing, optimized for high-volume, low-latency creative workflows; image+text in, image+text out
NotableUnusually for an image model, publishes a knowledge cutoff (June 2025); function calling and thinking not supported.

per Google official docs ↗

FAQ

Is the gemini-2.5-flash-image API free to try?

Yes: new accounts get 10 trial calls and up to $1 in free credit, no card required. That's enough to try gemini-2.5-flash-image against your real workload before adding a payment method.

What is gemini-2.5-flash-image best at?

Best engine for high-velocity visual creation, plus conversational image editing at low latency and state-of-the-art speed and efficiency. See the About section for the full picture from the vendor's own release notes.

How much does gemini-2.5-flash-image cost?

gemini-2.5-flash-image costs $0.3 per million input tokens and $30 per million output tokens on Synthorai. That is the provider's list price, with no platform markup.

How do I generate images with the gemini-2.5-flash-image API?

POST to /v1/images/generations on Synthorai with model="gemini-2.5-flash-image". It follows the OpenAI images API shape, so no vendor SDK is needed.

How do I get access to gemini-2.5-flash-image?

Point your existing OpenAI SDK at base_url="https://synthorai.io/v1", set model="gemini-2.5-flash-image", and you're done. One API key covers every model on the gateway.

Related models

Get your free API key Compare your cost →