Google: Nano Banana (Gemini 2.5 Flash Image)
Image Generationgoogle/gemini-2.5-flash-imageGemini 2.5 Flash Image, a.k.a. "Nano Banana," is now generally available. It is a state of the art image generation model with contextual understanding. It is capable of image generation, edits, and multi-turn conversations.
32K context window
32K max output tokens
Released: 2025-10-02
Supported Protocols:openaigemini
Available Providers:Vertex
Capabilities:Vision
Pricing
| Type | Price |
|---|---|
| Input Tokens | $0.3/M |
| Output Tokens | $2.5/M |
| Output Image | $30/M |
Code Examples
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "url": "https://api.ofox.ai/gemini"},)response = client.models.generate_content(model="google/gemini-2.5-flash-image",contents="Generate an image of a beautiful sunset over mountains",)print(response.text)
Related Models
Frequently Asked Questions
Google: Nano Banana (Gemini 2.5 Flash Image) on Ofox.ai costs $0.3/M per million input tokens and $2.5/M per million output tokens. Pay-as-you-go, no monthly fees.
Google: Nano Banana (Gemini 2.5 Flash Image) supports a context window of 32K tokens with max output of 32K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.ai/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
Google: Nano Banana (Gemini 2.5 Flash Image) supports the following capabilities: Vision. Access all features through the Ofox.ai unified API.