Nano Banana Pro API
Google's highest-fidelity image model: the sharpest detail, accurate text in the picture, and edits from up to 6 reference pictures.
| Item | Price |
|---|---|
| One image, any aspect ratio | $0.16 |
- Charged once, and only when the image succeeds. A failed job costs $0.00: its hold is released in full.
- The exact price is known before the run: the Studio shows it before you click Generate, and the API returns it as
reserved_usdwhen it accepts the job. - A request makes 1 to 4 images, each charged at this price.
Charged once per image, only on success.
Request
POST https://frameport.ai/v1/images/generations
# 1. Submit: the price is held on your balance (reserved_usd)
curl https://frameport.ai/v1/images/generations \
-H "Authorization: Bearer $FRAMEPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-pro",
"prompt": "A glass bottle of olive oil on a stone counter with a handwritten label reading \"Harvest\", soft daylight",
"n": 1,
"aspect_ratio": "16:9"
}'
# 2. Poll with the id it returns, until "succeeded" or "failed"
curl https://frameport.ai/v1/images/generations/$GENERATION_ID \
-H "Authorization: Bearer $FRAMEPORT_API_KEY"
# 3. Download outputs[0].url once it has succeeded (a signed link, no key needed)
curl -L "$OUTPUT_URL" -o out.png Set FRAMEPORT_API_KEY to your key. Full reference in the image docs.
Options
- Tasks
- Text to image
- Image to image
- Aspect ratios
- 1:1
- 3:4
- 4:3
- 9:16
- 16:9
- Images per request
- 1 to 4
- Reference pictures
- Up to 6, edits by instruction
- Prompt
- Up to 2,400 characters
- Output
- Image files, signed links valid about an hour
- Billing unit
- Per image
- Model id
nano-banana-pro
Nano Banana Pro API parameters
| Field | Values | Notes |
|---|---|---|
model | "nano-banana-pro" | Required. |
prompt | text, up to 2,400 characters | Required: the subject, the setting, the light and the style. |
n | 1 to 4 | 1 when left out. Each image is charged. |
aspect_ratio | 1:1, 3:4, 4:3, 9:16, 16:9 | 1:1 when left out. The same price at every ratio. |
reference_images | up to 6 pictures | Pictures to edit or to keep: faces, products, places. An https URL or a base64 data URI each. |
Nano Banana Pro request bodies, one per mode
Send each body to POST https://frameport.ai/v1/images/generations with Authorization: Bearer $FRAMEPORT_API_KEY, then poll GET /v1/images/generations/{id}. Pictures are https URLs or base64 data URIs. Each card shows the price that body holds.
{
"model": "nano-banana-pro",
"prompt": "A glass bottle of olive oil on a stone counter with a handwritten label reading \"Harvest\", soft daylight",
"n": 1,
"aspect_ratio": "16:9"
}{
"model": "nano-banana-pro",
"prompt": "Put the mug from the first picture on the desk from the second picture, morning light",
"n": 1,
"aspect_ratio": "16:9",
"reference_images": [
"https://example.com/mug.jpg",
"https://example.com/desk.jpg"
]
}What Nano Banana Pro is good at
- Hero images where quality is the point: campaigns, covers and final deliverables.
- In-image text: signage, packaging and titles that must read cleanly.
- Edits: send pictures and write the change, up to 6 pictures per request.
When another model fits better
- Nano Banana 2.1 — A lower price per image: from $0.085 / image.
How to prompt Nano Banana Pro
- 01Be specific and layered: subject, wardrobe, setting, light, lens and mood.
- 02Quote any text that must appear in the frame, and keep it brief.
- 03Iterate on a cheaper model, then render the keeper here.
Sample prompt
“A glass bottle of olive oil on a stone counter with a handwritten label reading "Harvest", soft daylight”
Nano Banana Pro vs Nano Banana 2.1
| Model | Model id | Per image | Reference pictures | Edits |
|---|---|---|---|---|
| Nano Banana 2.1 | nano-banana-2-1 | $0.085 | — | No |
| Nano Banana Pro | nano-banana-pro | $0.16 | 6 | Yes |
About the Nano Banana Pro API
How much does the Nano Banana Pro API cost?
Nano Banana Pro costs $0.16 per image. A request makes 1 to 4 images and each one is charged, once, only when it succeeds.
How do I call Nano Banana Pro from code?
Send POST /v1/images/generations with "model": "nano-banana-pro" and a prompt, your API key as a Bearer token. The answer is a generation with an id: poll GET /v1/images/generations/{id} until its status is succeeded, then download each outputs[].url.
What happens if a Nano Banana Pro generation fails?
Nothing is charged. The price is held on your balance when the job starts and released in full if it fails: cost_usd stays at 0.
Can Nano Banana Pro work from reference pictures?
Yes: send up to 6 pictures in reference_images, as https URLs or base64 data URIs, and say in the prompt what each one is for. To edit a picture, send it and write the change.
Which aspect ratios does Nano Banana Pro support?
1:1, 3:4, 4:3, 9:16 and 16:9, at the same price.
Do I need a subscription?
No. You top up a prepaid balance in dollars, from $10, and it never expires. Every model runs on the same balance and the same API key.
Compare with similar models
For agents: this page in Markdown at /models/nano-banana-pro.md, every model in /models.json, and the site in /llms.txt.
Call Nano Banana Pro with one key.
Your API key is free. Top up from $10 when you are ready.