Nano Banana Pro API

Nano Banana Pro API · Generate and edit

Choose 1K, 2K or 4K for detailed compositions and reference-led image editing. Review fine text and identity details before publishing.

Product photographEditorial coverInterior conceptTravel postcardPackaging conceptStory illustrationFood still lifeCampaign background
Input
Resolution
Aspect ratio
Count
Enable the final fallback tier after ordinary channels fail. Its price applies only if that tier succeeds.
The Playground always screens prompts and input images. To disable screening via the API, set nsfw_check to false.
Output
Example asset · 1:1
/ Features

Nano Banana Pro API features

Complex composition

Describe where subjects and props belong and how they relate. Gemini 3 Pro can interpret detailed briefs for scenes, layouts and product mockups.

Multilingual text in images

Render headlines, labels and short copy in multiple languages. Check spelling and typography before publishing.

1K to 4K output

Draft at 1K, then use 2K or 4K for artwork where textures and small details matter.

Multi-reference composition

Combine people, products and settings from separate images. The API accepts up to 14 reference images for an edit.

Consistent characters and branding

Reuse approved portraits or product photos to keep recognizable features and a consistent look across related assets.

Precise edits with prompts

Ask for changes to a particular object, color or area while naming the details you want to keep.

Diagrams and infographics

Turn supplied notes or steps into a labeled visual. Use a clear structure and verify the facts and labels in the result.

Camera and lighting direction

Describe viewpoint, depth of field and lighting in the prompt to guide the look of a finished scene.

/ Use cases

Nano Banana Pro API · Use cases

Product photograph

For ecommerce teams, explore product lighting and camera placement before commissioning a finished campaign.

Editorial cover

For editors, sketch a cover composition with deliberate space for typography added during layout.

Interior concept

For interior designers, compare materials and lighting in a reading-room concept before selecting furnishings.

Travel postcard

For travel publishers, develop an illustrated destination concept and check geographic details before use.

Packaging concept

For packaging designers, explore surface patterns and colorways; add final labels in production artwork.

Story illustration

For illustrators, develop a scene and use approved references when revisiting the same character.

Food still life

For food brands, compare tabletop styling and framing while checking that ingredients remain recognizable.

Campaign background

For campaign designers, prepare an uncluttered background for compositing approved brand text and logos.

/ Examples

Nano Banana Pro API · Examples

The first card shows an image generated using the displayed prompt. The remaining cards offer prompts to try.

Architectural model of a contemporary museum
Architectural model of a contemporary museum
Architectural model of a contemporary museum
Image1:1

Architectural model of a contemporary museum

Finely detailed architectural scale model of a contemporary museum with sculptural ivory roofs, warm illuminated glass galleries, tiny visitors and trees on a dark stone display base, photographed at blue hour from an elevated three-quarter angle, no text.

256 chars
Image4:5

Editorial cover

Editorial cover illustration of an orange bicycle beside a quiet canal, generous empty space above, clean geometric composition, no lettering.

142 chars
Image16:9

Interior concept

A small reading room with walnut bookshelves, a linen armchair and warm morning light, realistic materials, eye-level interior photograph.

138 chars
Image3:2

Travel postcard

A watercolor postcard illustration of a mountain village in autumn, red roofs, winding footpath, muted gold foliage, no text.

125 chars
Image1:1

Packaging concept

A minimalist cylindrical tea tin in sage green on a warm grey studio background, subtle embossed leaf pattern, front three-quarter view, no logos.

146 chars
Image3:4

Story illustration

A small fox carrying a lantern across a snowy bridge at dusk, hand-painted storybook style, warm amber light and cool blue shadows.

131 chars
Image1:1

Food still life

Top-down food photograph of three figs on a cream ceramic plate, wrinkled linen napkin, soft side lighting, simple balanced composition.

136 chars
Image9:16

Campaign background

Abstract paper-cut landscape with layered coral and indigo hills, small golden sun, open central space for later typography, crisp edges.

137 chars

Nano Banana Pro API · Pricing

Output prices compare one 1:1 image at the same resolution with zero reference images. Prices are in USD.

+10%
Top up $1,500+ and get 10% bonus credits.
View top-up options
ResolutionAPIstable standardFinal fallbackWaveSpeedfal
1KWith bonus ≈ $0.023 / imageRegular $0.025 / image5 credits / imageWith bonus ≈ $0.150 / imageRegular $0.165 / image33 credits / image$0.14 / image516% more than APIstable$0.15 / image560% more than APIstable
2KWith bonus ≈ $0.023 / imageRegular $0.025 / image5 credits / imageWith bonus ≈ $0.150 / imageRegular $0.165 / image33 credits / image$0.14 / image516% more than APIstable$0.15 / image560% more than APIstable
4KWith bonus ≈ $0.034 / imageRegular $0.0375 / image7.5 credits / imageWith bonus ≈ $0.300 / imageRegular $0.33 / image66 credits / image$0.24 / image604% more than APIstable$0.30 / image780% more than APIstable
  • Final fallback is opt-in. We reserve the highest authorized amount and charge only successful outputs at the tier used. Unused credits are released, and existing tasks keep their saved prices.
/ API

Nano Banana Pro API · API integration

The request follows the form. The website uses your session; API clients use your API key. See the docs for parameters, task creation and task queries.

  1. Prepare input

    Write a prompt and optionally add references.

  2. Review the quote

    Choose resolution, output count and optional fallback. Review the account quote before submitting.

  3. Retrieve images

    Query the returned task ID or receive a signed callback. Save result images within 14 days.

Parameter
Description
modelnano-banana-pro
inputImage generation parameters.
input.promptDescribe the image or edit. Limits depend on the model; see the schema.
input.resolution1K / 2K / 4K
input.aspect_ratioAuto / 1:1 / 4:3 / 3:4 / 16:9 / 9:16 / 3:2 / 2:3 / 21:9 / 4:5 / 5:4
{
  "model": "nano-banana-pro",
  "input": {
    "prompt": "Finely detailed architectural scale model of a contemporary museum with sculptural ivory roofs, warm illuminated glass galleries, tiny visitors and trees on a dark stone display base, photographed at blue hour from an elevated three-quarter angle, no text.",
    "resolution": "1K",
    "aspect_ratio": "auto",
    "image_urls": [],
    "output_count": 1,
    "official_fallback": false,
    "nsfw_check": true
  }
}

The request follows the form. The website uses your session; API clients use your API key. See the docs for parameters, task creation and task queries.

/ Compare

Find the Nano Banana model for your workflow

Compare five models by what you want to create, how you edit and the output size you need. All five support text prompts and reference images through APIstable.

ModelStrengths and best usesOutput size
Nano BananaKeeps familiar subjects recognizable through prompt-based edits and combines elements from several photos. Suits 1K product mockups, style experiments and simple retouching.1K
Nano Banana ProYou’re hereHandles complex layouts, multilingual typography and detailed visual briefs. Suits finished posters, infographics and production assets that benefit from 4K.1K / 2K / 4K
Nano Banana 2Balances rapid iteration with subject consistency and detailed output. Use 0.5K for early drafts and up to 4K for campaign visuals or storyboards.0.5K / 1K / 2K / 4K
Nano Banana 2 LiteOptimized for fast 1K drafts and lightweight reference edits. Suits reviewing variations of product scenes, thumbnails and social posts.1K
Nano Banana 2.1Emphasizes targeted edits, character and product consistency, and multilingual layout. Suits refining product imagery, adapting campaign graphics and editing across several references.1K / 2K / 4K
/ FAQ

Nano Banana Pro API FAQ

Find answers about pricing, generation results, and API access.

What can I create?

Choose 1K, 2K or 4K for detailed compositions and reference-led image editing. Review fine text and identity details before publishing.

Which resolutions are available?

1K, 2K, 4K. Choose the resolution before submitting.

How do reference edits work?

Add public HTTPS URLs in image_urls and explain what to change and preserve. Outputs are not guaranteed to preserve every pixel.

Can I request several images?

Yes, output_count supports 1–4 independent items. Only successful items are charged.

How is the price calculated?

Each resolution has a fixed standard and fallback price. Credits round up to 0.1 per successful image.

Is fallback automatic?

Only if fallback is explicitly enabled and the preceding channel definitely fails. Unknown acceptance does not trigger another generation.

Why is a completed image still processing?

Result storage may still be recovering. Keep polling the original task instead of creating a duplicate. Supplier billing is reconciled separately.

Can I choose a seed or output format?

The API accepts prompt, resolution, aspect ratio, reference images, output count and fallback.

What if generation fails?

Failed items release their reserved credits. Daily cleanup fails unfinished items older than 24 hours at 00:00 Asia/Shanghai.

Will text and identities always be exact?

No. Check spelling, small details and likeness before use. Describe targeted edits and review each result.

How long are results retained?

Generated results are retained for 14 days. Download or copy them to your own storage.

Are these gallery prompts verified outputs?

These are editable prompt recipes, not verified model outputs. The model cover is concept artwork.

CREATE IMAGES

Try Nano Banana Pro now

Write a prompt or add references to generate an image.