Gemini 2.5 Flash Image (Nano Banana)
Approved Data Classifications
This model is only approved for Open Data. When leveraging NaviGator AI’s suite offerings, please ensure you are selecting models that meet the compliance requirements in accordance with UF’s Data Classifications, grant awards or project specifications, and state and federal law.
Description
Gemini 2.5 Flash Image is optimized for image understanding and generation with a balance of price and performance. It uses the speed and cost-effectiveness of Gemini 2.5 Flash to enable fast image generation and editing, and is also known as Nano Banana.
Capabilities
| Model | Release Date | Input | Output | Context Length | Cost (per 1 million tokens / per image) |
|---|---|---|---|---|---|
| gemini-2.5-flash-image | Aug 26 2025 | Text, Image | Text, Image | 32,768 | $0.30/1M input (text/image) $2.50 per image (1024x1024) |
info
1Mrepresents 1 Million Tokens- Image outputs up to 1024x1024 use 1290 output tokens (about $0.039 per image)
Availability
Cloud Provider
Usage
- curl
- python
- javascript
curl -X POST https://api.ai.it.ufl.edu/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_TOKEN>" \
-d '{
"model": "gemini-2.5-flash-image",
"prompt": "A cheerful alligator mascot in UF colors, poster style.",
"size": "1024x1024"
}'
from openai import OpenAI
client = OpenAI(
api_key="your_api_key",
base_url="https://api.ai.it.ufl.edu/v1"
)
response = client.images.generate(
model="gemini-2.5-flash-image",
prompt="A cheerful alligator mascot in UF colors, poster style.",
size="1024x1024",
response_format="url"
)
image_url = response.data[0].url
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: 'your_api_key',
baseURL: 'https://api.ai.it.ufl.edu/v1'
});
const completion = await openai.images.generate({
model: "gemini-2.5-flash-image",
prompt: "A cheerful alligator mascot in UF colors, poster style.",
size: "1024x1024",
response_format: "url",
});
image_url = completion.data[0].url;
When to Use
- Fast, cost-efficient image generation at scale
- Iterative image edits and quick concepting
- Multimodal workflows that mix text and images
- High-volume creative production
References
- Gemini 2.5 Flash Image (Vertex AI)
https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/2-5-flash-image- Gemini API Pricing
https://ai.google.dev/gemini-api/docs/pricing- Nano Banana announcement (Google Cloud Blog)
https://cloud.google.com/blog/products/ai-machine-learning/nano-banana-2-and-nano-banana-pro-are-generally-available