# Nano Banana API: use Nano Banana in your own app

> The Nano Banana API lets developers call Nano Banana image models from code. NanoBanana itself is a no-code web app; for API access the same models are available through Aiduct (aiduct.ai) as nano-banana-2 at $0.108 and nano-banana-pro at $0.24 per image, with one API key and a /v1/images/generations endpoint.

NanoBanana is a web app. If you need Nano Banana inside your own product, use an image API; here is what to know before you start.

## At a glance

- **Model IDs:** nano-banana-2 and nano-banana-pro
- **API price:** $0.108 and $0.24 per image on Aiduct
- **Endpoint:** POST /v1/images/generations with a bearer API key
- **No-code option:** The NanoBanana web app, 20 or 45 credits per image

- Model IDs
- Price per image
- API or web app

[Try the models first](https://getnanobanana.app/create)

## What the Nano Banana API is good for

- **Product features**: Add image generation or photo editing to your own app.
- **Batch jobs**: Create catalog images, variants or thumbnails at scale.
- **Automations**: Connect image generation to your CMS, store or workflow tools.

## How to start with the Nano Banana API

1. **Create an API key**: Sign up at aiduct.ai and create a key in the console.
2. **Call the images endpoint**: Send the prompt, the model ID and any reference images to /v1/images/generations.
3. **Store the result**: Save the returned image in your app or storage.

## API or web app?

Choose the API when images must be created inside your own software, in batches or automatically. Choose the NanoBanana web app when a person creates the images: there is nothing to build, you can refine results by hand, you pay in credits, and the first images are free.


## Nano Banana API pricing

API usage is billed per image: $0.108 for Nano Banana 2 and $0.24 for Nano Banana Pro on Aiduct at the time of writing. Check the provider's current price list before you build, and prototype prompts in the web app first to avoid paying for experiments in code.


## Before you build

- [Nano Banana 2 vs Pro](https://getnanobanana.app/nano-banana-2-vs-pro): Pick the right model.
- [How to use Nano Banana](https://getnanobanana.app/how-to-use-nano-banana): Prompting guide.
- [Pricing](https://getnanobanana.app/pricing): Web app plans and packs.

## Nano Banana pricing: plans and credit packs

- Starter: $9.99 / month, 1,000 credits
- Pro: $24.99 / month, 2,800 credits
- Studio: $59.99 / month, 7,000 credits
- Mini: $4.99, 400 credits
- Standard: $14.99, 1,300 credits
- Mega: $39.99, 3,600 credits

## Nano Banana API FAQ

### Is there an official Nano Banana API?

Google offers its Gemini image models to developers on its own platforms. Aiduct serves them as nano-banana-2 and nano-banana-pro behind one API key with per-image pricing.

### Does NanoBanana have an API?

No. NanoBanana is a web app for creating and editing images in the browser. For programmatic access, use Aiduct, which serves the same models.

### How much does the Nano Banana API cost?

On Aiduct, Nano Banana 2 costs $0.108 and Nano Banana Pro $0.24 per image at the time of writing, billed from a prepaid balance.

### Can I test the models without code first?

Yes. Create a NanoBanana account and try both models in the browser with 40 free credits before you integrate the API.

## Try the models before you build

Test Nano Banana 2 and Pro in the browser with free credits.

_Last updated 2026-09-28_
