Nano Banana API
by Google
Fast conversational image editing from Google.
Generate and edit images with Google's Nano Banana through one unified API. A single REST endpoint, async jobs, and webhooks, with no Google Cloud setup to manage.
- 5 credits
- Flat per image
- ~15s
- Avg. generation
- 5
- Aspect ratios
Image · example Playground
Try Nano Banana right here.
Capabilities
What's new in Nano Banana.
Generation and editing in one model
Built natively into Gemini 2.5 Flash, it both creates images from text and edits existing ones to a state-of-the-art standard.
Conversational, mask-free editing
You make targeted, region-aware changes with plain language and refine across multiple turns, without fussy manual masks.
Multi-image fusion
It blends several reference images into one seamless result, borrowing a subject from one, a texture from another, and a background from a third.
Character and style consistency
It keeps the same character, product, or style across a sequence of images without time-consuming fine-tuning.
Native multimodal world knowledge
Because it draws on Gemini's broader understanding, it grasps how light, objects, and context relate, and renders readable text more reliably than many models.
Fast, affordable, and responsible
As a Flash-tier model it offers low latency and cost-effective generation, with Google's invisible SynthID watermark on outputs.
Showcase
See what Nano Banana can create.
Real outputs generated with Nano Banana on Apiframe, each with the prompt behind it.
Change the wall color in this living room photo to sage green, keeping everything else the same.
Blend this product photo, this fabric texture, and this background into one seamless ad image.
Show this same character in four panels, waking up, commuting, working, and relaxing, consistent look.
A photorealistic product mockup of a cereal box reading 'OAT CRUNCH' on a kitchen counter.
Place me in this scenic mountain background, matching the lighting and perspective.
Turn this daytime street photo into a rainy night scene with neon reflections.
Pricing
Simple per-generation pricing.
5 credits per generation ≈ $0.05
- You only pay for successful generations. Failed jobs are refunded automatically.
- One credit balance across every model on Apiframe, no per-model plans.
- Start with free credits. No subscription required.
- Volume discounts on larger plans.
Specs
At a glance.
Comparison
Nano Banana vs Nano Banana 2 vs GPT Image 2
The original Nano Banana against its successors. Pick a tier per job, same request shape.
| Feature | Nano Banana | Nano Banana 2 | GPT Image 2 |
|---|---|---|---|
| Max resolution | Standard | 4K | High |
| Avg. generation | ~15s | ~12s | ~30s |
| Signature strength | Conversational editing and fusion | Pro quality at Flash speed | Reasoning + batch of 8 per prompt |
| Price per image | 5 credits flat (≈$0.05) | 8–19 credits (≈$0.08–$0.19) | 2–17 credits (≈$0.02–$0.17) |
| Best for | Cheap, fast edit loops | The default for new builds | Instruction-heavy, text-accurate work |
Specs reflect what each model supports on Apiframe today, from the live catalog.
Quickstart
How to call the Nano Banana API.
Send one POST /v2/images/generate request with your API key. The call returns a jobId you can poll, or pass a webhook_url and the result is pushed to you the moment it's ready.
Swap nano-banana for any other model and nothing else changes.
const response = await fetch("https://api.apiframe.ai/v2/images/generate", {
method: "POST",
headers: {
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
"prompt": "a sleek silver sports car on a coastal highway at sunset, hyper-realistic",
"model": "nano-banana",
"nanoBananaParams": {
"image_input": "https://example.com/input.jpg",
"output_format": "jpg",
"google_search": false,
"image_search": false
}
}),
});
const { jobId } = await response.json();
console.log(jobId); Input schema
Every field Nano Banana accepts, with types and defaults. The full reference lives in the docs.
| Field | Type | Description |
|---|---|---|
| prompt required | string | Text description of what to generate. |
| model required | string | The model identifier for this endpoint. Default:"nano-banana" · "nano-banana" |
| nanoBananaParams.image_input | string (URL) | Compose with or edit a reference image. |
| nanoBananaParams.output_format | string | Output format Default:"jpg" · "jpg", "png", "webp" |
| nanoBananaParams.google_search | boolean | Google search grounding Default:false |
| nanoBananaParams.image_search | boolean | Image search grounding Default:false |
Nano Banana versions
Every Nano Banana image model on Apiframe. Switch with one parameter.
Use cases
What teams build with Nano Banana.
Mask-free editing
Describe the change in plain language, "make it night, keep the subject", and Nano Banana edits the image without masks or layers.
Multi-image fusion
Feed several inputs and compose them into one coherent scene: a product into a lifestyle shot, a face onto a character, a style onto a photo.
Consistent characters
Identity holds across edits and regenerations, which makes it a favorite for avatar pipelines and episodic content.
High-volume workflows
A flat 5 credits (≈$0.05) per image with ~15-second turnarounds keeps per-asset costs trivial for apps that edit at scale.
Reviews
9,800+ developers. One API.
Real Apiframe reviews from Trustpilot and G2.
Speeds up our ad creative iteration
The API integrates directly into my existing pipeline, so I can generate and iterate on image variations for Meta ads without jumping between tools. We can go from concept to a testable ad in the same day instead of spreading it across a week.
Fast, reliable, easy to integrate
Image generation requests are processed quickly, and the results are consistently high quality. Customer support has also been responsive whenever I had questions. It has saved me a lot of development time.
Seamless integrations, effortless setup
Generating ad creatives for Facebook and Google ads is more streamlined now since we use APIFRAME to manage the workflow, which used to require a lot of time with official APIs. The initial setup was very easy, just a matter of using curl.
Nano Banana questions
What teams ask before shipping with Nano Banana. Everything else lives in the docs.
What is Nano Banana?
The nickname for Google's Gemini 2.5 Flash Image, a state-of-the-art image generation and editing model released in August 2025.
What can it do?
Text-to-image generation, conversational editing, multi-image fusion, character consistency, and multi-turn refinement.
Do you need masks to edit an image?
No. It makes region-aware edits from natural-language instructions.
Can it keep a character consistent across images?
Yes, across multiple generations without fine-tuning.
Does it watermark generated images?
Yes. Outputs carry Google's invisible SynthID watermark.
Where can you access it?
Through Apiframe, as well as the Gemini app, Google AI Studio, the Gemini API, and Vertex AI.
Related models
All image modelsFlux 2 Max
by Black Forest Labs
Highest-quality Flux 2 tier.
View modelMidjourney
by Midjourney
Iconic stylised, cinematic look.
View modelSeedream 5.0 Pro
by ByteDance
Flagship ByteDance model with sharp 1K/2K output and up to 10 reference images.
View modelIdeogram v4 Quality
by Ideogram
Highest-quality Ideogram v4 tier for production-ready images.
View modelExamples on GitHub · Hugging Face · Postman
9,800+
developers & companies
Official partner of
Power your next AI product with Apiframe.
Instant access to 70+ media models through a single API. Start free and scale when you're ready.