Gemini 2.5 Flash Image API
Gemini 2.5 Flash Image — the original Nano Banana — from $0.09 per image via one REST call.
The original Nano Banana image model. Google's Gemini 2.5 Flash Image generates and edits images fast across ten aspect ratios — from $0.09 per image.
No credit card required. Takes 30 seconds.
Gemini 2.5 Flash Image API pricing
Pay per request from your YepAPI balance — no subscription, no monthly minimum. Prices updated October 23, 2026.
| Billing | Price |
|---|---|
| Rate | $0.09/image |
| What it costs | Per job |
|---|---|
| 1 imagefrom default size | $0.09 |
| 100 imagesa product catalog batch | $9.00 |
| 1,000 imagesa month of app traffic | $90.00 |
2,400+
Developers
1.2M+
API calls served
100+
Endpoints
$0.01
Per call
Yep, that's it.
Try it live
Enter a prompt and generate an image with Gemini 2.5 Flash Image.
Drop image or click to upload
For image-to-image editing
Gemini 2.5 Flash Image specs
| Provider | |
|---|---|
| Model ID | google/gemini-2.5-flash-image |
| Endpoint | /v1/media/queue |
| Type | Image Generation |
| Aspect ratios | 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 |
| Image input | Yes |
How to get a Gemini 2.5 Flash Image API key
- 1
Create a free account
Sign up at yepapi.com with Google or email. It takes about 30 seconds and needs no card.
- 2
Create an API key
Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.
- 3
Call Gemini 2.5 Flash Image
Send a request to /v1/media/queue with the x-api-key header and model "google/gemini-2.5-flash-image".
- 4
Pay as you go
Usage is billed per request from your balance. Top up any amount; there is no subscription.
Strengths
Gemini 2.5 Flash Image is the model that made 'Nano Banana' famous for conversational image editing.
Especially good at instruction-driven edits to an uploaded image — change one element, keep the rest intact.
Around $0.09 an image with quick turnaround, suited to interactive editing tools.
From 21:9 through 9:16, covering cinematic, web, and social framing.
Quick start
Copy this snippet and start making calls with Gemini 2.5 Flash Image.
// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "google/gemini-2.5-flash-image",
"prompt": "A corner bakery at opening time, steam on the window, trays of golden pastries just set out, warm interior light spilling onto a wet sidewalk",
"options": {
"aspectRatio": "1:1"
}
}),
});
const { data } = await res.json();
const jobId = data.jobId;
// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }Gemini 2.5 Flash Image vs similar models
Every model below runs on the same API key — switch by changing the model ID.
| Model | Provider | Price |
|---|---|---|
| Gemini 2.5 Flash Image | from $0.09/image | |
| Gemini 3.1 Flash Lite Image | from $0.08/image | |
| Nano Banana 3.1 Flash | $1.00/1M input, $120.00/1M output (~$0.19 est.) | |
| Nano Banana 3 Pro | $4.00/1M input, $240.00/1M output (~$0.32 est.) | |
| FLUX 3 Image Klein | Black Forest Labs | from $0.02/image |
| GPT Image 2 | OpenAI | from $0.02/image |
| GPT Image 1 Mini | OpenAI | from $0.02/image |
| GPT-5.4 Image 2 | OpenAI | from $0.02/image |
Why use Gemini 2.5 Flash Image through YepAPI?
Gemini 2.5 Flash Image API — the original Nano Banana
Gemini 2.5 Flash Image is Google's image generation and editing model better known by its codename, Nano Banana. Its signature strength is instruction-driven editing: describe the change and the rest of the image stays put.
On YepAPI it is available on `/v1/media/queue` at roughly $0.09 per image, alongside the newer Nano Banana 3 tiers on the same key.
Start generating in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
The original Nano Banana image model. Google's Gemini 2.5 Flash Image generates and edits images fast across ten aspect ratios — from $0.09 per image.
Gemini 2.5 Flash Image costs from $0.09/image through YepAPI, billed per request with no monthly fee. For example, a 1 image (from default size) costs about $0.09.
Sign up at yepapi.com (Google or email, about 30 seconds), open the dashboard and create an API key. The same key works for Gemini 2.5 Flash Image and every other model — no separate Google account or waitlist.
New YepAPI accounts in most countries get free signup credit, enough to test Gemini 2.5 Flash Image without a card. After that you pay per request at the rates above — there is no subscription.
Use "google/gemini-2.5-flash-image" as the model on /v1/media/queue. The short alias "gemini-flash-image" also works.
Ready to use Gemini 2.5 Flash Image?
$5 free credit on signup. No credit card required. Pay per call.
Explore more models
Nano Banana 3 Pro
GoogleNano Banana API for AI image generation. Generate photorealistic images from text prompts — an AI image generator API and Midjourney alternative via simple REST API.
Gemini 3.1 Flash Lite Image
GoogleGemini 3.1 Flash Lite Image from $0.08 — fast Google image generation with 14 aspect ratios.
Nano Banana 3.1 Flash
GoogleFast AI image generation via Nano Banana 3.1 Flash. Generate and edit images up to 4K resolution.
FLUX.2 Pro
Black Forest LabsGenerate photorealistic images with FLUX.2 Pro from $0.07 per image — one REST call, no GPU to rent.
Qwen Image 3 Pro
QwenQwen Image 3 Pro from $0.16 per image — precise text rendering and editing on the Pro tier.
Seedream 5.0 Lite
ByteDanceSeedream 5.0 Lite from $0.07 per image — retrieval-aware ByteDance image generation through one API key.
More Image Generation models
- Recraft V3 API · Recraft
- Recraft V4 API · Recraft
- Recraft V4.1 Vector API · Recraft
- Riverflow 2 Pro API · Sourceful
- Seedream 4.5 API · ByteDance
- Krea 2 Medium Turbo API · Krea
- Recraft V4 Styles API · Recraft
- Seedream 4.0 API · ByteDance
- Recraft V4.1 Utility API · Recraft
- Riverflow 2.5 Pro API · Sourceful
- GPT Image 2.5 Sunburst API · OpenAI
- Recraft V4 Styles Pro API · Recraft