Nano Banana Pro API: Google's image model for generation & editing
Nano Banana Pro via the ApexApi gateway
Nano Banana Pro is Google's image generation and editing model with strong instruction-following for both creating and editing images from natural-language prompts. Available through ApexApi's unified API.
Nano Banana Pro is served through ApexApi's unified, OpenAI-compatible API. One key, one format, with smart routing and automatic failover. Provider: fal.ai.
Why Nano Banana Pro
Generate & edit
Create new images or edit existing ones from prompts.
Instruction-following
Follows detailed natural-language edits faithfully.
One-key access
Use it alongside every other image model on ApexApi.
Specifications
- Modality
- image
- Context window
- —
- Max output
- —
- Streaming
- —
- Tool / function calling
- —
- Vision input
- —
Nano Banana Pro pricing
- For lighter work, Gemini 2.5 Flash Image from the same maker costs 3.8× less — one string apart on the same key.
Getting started with Nano Banana Pro
OpenAI-compatible. Point your client at ApexApi, swap your key, and call it. No new SDK to learn.
import requests
resp = requests.post(
"https://api.apexapi.dev/v1/images/generations",
headers={"Authorization": "Bearer <YOUR_APEXAPI_KEY>"},
json={"model": "google/nano-banana-pro", "prompt": "A serene mountain lake at golden hour"},
)
print(resp.json())Nano Banana Pro use cases
What teams build with Nano Banana Pro on ApexApi.
Image editing
Natural-language edits to existing assets.
Creative generation
Concepts and variations from text prompts.
In-app features
User-facing generate-and-edit experiences.
Nano Banana Pro vs other models
How it compares, and on ApexApi you can switch between any of them with a single string change, same key, same endpoint.
Nano Banana Pro vs FLUX.2 Pro
FLUX.2 Pro is a fidelity-first generator; Nano Banana Pro shines at instruction-following and editing.
Learn more about FLUX.2 Pro API →Nano Banana Pro vs Imagen 4 Ultra
Imagen 4 Ultra leans photorealistic; Nano Banana Pro is editing-friendly. Compare on ApexApi.
Learn more about Imagen 4 Ultra API →Nano Banana Pro API: FAQ
How do I use the Nano Banana Pro API?
Create an ApexApi key, then point your client at https://api.apexapi.dev/v1 and use the model slug. POST to /v1/images/generations with the model slug and a prompt.
Is the Nano Banana Pro API OpenAI-compatible?
Yes. ApexApi exposes Nano Banana Pro through the same OpenAI-compatible interface used across the whole catalog. Swap the base URL and API key and keep your existing code.
How much does Nano Banana Pro cost on ApexApi?
Pay-per-use. See the live price in the Pricing section above. There's no subscription or minimum; you buy credits and pay only for what you call.
Can I switch from Nano Banana Pro to another model later?
Yes. Change a single string (the model slug) to call any other model in the catalog through the same endpoint and key. No re-integration.
Ready to build with Nano Banana Pro?
One API key. Every major AI model. Pay only for what you use.
Get your API key, free to start