Nano Banana Pro API Pricing
Choose the right resolution tier for your Nano Banana Pro image generation workloads.
Nano Banana Pro API
$0.105-$0.18/img
Developer-ready API access
Why Choose Gemini 3 Pro Image API?
Experience Google's advanced Gemini technology for production-grade AI image generation and editing.
SOTA Performance
Powered by Google Gemini 3 Pro, Nano Banana Pro achieves state-of-the-art results in the GenAI-Bench benchmark, outperforming other top models in overall preference and visual quality.
Precise Control and Fidelity
Nano Banana Pro API offers fine-grained control over composition and style, delivering production-ready output for professional creative, product, and marketing workflows.
Multilingual Text Rendering
Our Google Nano Banana Pro API generates crisp text across multiple languages, with accurate textures, fonts, and calligraphy, and improved localization compared to Nano Banana.
Real World Knowledge
Integrated with Google Search, your generations are grounded in real-world information and current context, ideal for diagrams, infographics, and other data-driven visuals.
Versatile Creative Workflows
Google Nano Banana Pro is perfect for product prototyping, educational infographics, and turning handwritten notes into clean, structured diagrams ready for sharing or production.
High Resolution Output
Generates up to 4K resolution images while also supporting 1K and 2K outputs, covering rapid previews and high-end production assets.
Subject Consistency
Google Nano Banana Pro supports up to 14 image references while maintaining consistent appearance for up to 5 characters in complex scenes.
Safe Outputs
Extensive filtering and data labeling pipelines help minimize harmful or unsafe content in your AI image generation, aligning with Google's responsible AI practices.
Extended Configurability
Nano Banana Pro API provides flexible aspect ratios and formats for different platforms, channels, and layout requirements.
Get started
Create your API key
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Top up credits
Add credits on the billing page when you are ready to scale beyond the free tier.
Call the API
POST your first task following the API docs, then poll the task until the result is ready.
Iterate in the playground
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "gemini",
"task_type": "nano-banana-pro",
"input": {
"prompt": "A polished product image with studio lighting and precise typography.",
"resolution": "2K"
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"image_url": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run nano-banana-pro \ prompt="A polished product image with studio lighting and precise typography." \ resolution=2K ✓ Task completed! https://img.theapi.app/ephemeral/…
Want to find out more about Nano Banana Pro API?
What is Gemini 2.5 Flash Image API?
Gemini 2.5 Flash is Google's latest AI image generation model, optimized for speed and quality. Our API provides easy access to this technology, allowing you to generate high-quality images from text prompts in seconds.
How much does it cost to generate images?
Our pricing is simple and transparent: it starts at $0.105 per image for 1K and 2K outputs, with no subscription fees or hidden costs.
What image formats are supported?
We support both JPEG and PNG output formats. You can specify your preferred format in the API request.
How fast is the image generation?
Most images are generated in under 10 seconds, making Nano Banana a strong fit for real-time applications and user-facing products.
Can I use generated images commercially?
Yes. All images generated through our API come with commercial usage rights for products, marketing, websites, and other business use cases.
What is the no-code workspace?
Our no-code workspace at piapi.ai/workspace/nano-banana allows you to test the API without writing code. You can enter prompts, adjust settings, and generate images directly in your browser.
Do you support webhooks?
Yes, we provide webhook support for asynchronous processing. You can specify a webhook endpoint and receive a notification when your images are ready.
How do I integrate the API into my application?
Integration is straightforward with our REST API. We provide request details and examples in our API docs .
What kind of prompts work best?
Detailed, descriptive prompts work best. Include information about style, composition, lighting, colors, and mood for stronger results.
Is there a limit on image generation?
There are no hard limits on total image generation, but you can generate up to 4 images per API request.
How can I get in touch with your team?
Please email us at support@piapi.ai and we would be happy to help.
More questions? See the API docs.
Our blog
Nano Banana Pro API



