Nano Banana

by GoogleImage

Gemini-powered generation and text-instructed image editing at a low cost.

InputPrompttext
Models5available
FlowAsyncresult URL
Price2 quotaper image
Blank cosmetic bottles arranged on stone — crop 1Product imageCrop 1
Blank cosmetic bottles arranged on stone — crop 2Product imageCrop 2
Blank cosmetic bottles arranged on stone — crop 3Product imageCrop 3
Blank cosmetic bottles arranged on stone — crop 4Product imageCrop 4
Examples

Prompt to image, in context

Example inputNano Banana
Prompt

minimal blank cosmetic bottles arranged on textured stone

Aspect
16:9
Size
2K
Example resultExample output

Product image

A clean packaging still life with blank bottles, stone texture, and warm neutral light.

Capabilities

What you can build with Nano Banana

Prompt driven generation

Submit a concise prompt and get production-ready image output through one TTAPI job.

Core controls only

Keep integration simple with prompt, model, output settings, and callback handling.

Async result flow

Use polling or webhook callbacks so long-running generations do not block your UI.

Ready for product UI

Return Nano Banana results that can be displayed, stored, or passed into downstream workflows.

Pricing

Per-action, in quota

Usage is metered in quota by model, action, and output settings.

Image generationOfficial pricing
ModelPriceUnit
Nano Banana2 quota/ image
Nano Banana Preview2 quota/ image
Nano Banana Pro6 quota/ image
Nano Banana 24 quota/ image
Nano Banana 2 Lite2 quota/ image
API request

Headers and submit parameters

Use the endpoint below with your TTAPI key and the request fields shown.

POSThttps://api.ttapi.org/gemini/image/generate

Headers

TT-API-KEYstringrequired

Your TTAPI API key.

Content-Typestringrequired

Use application/json.

Body

promptstringrequired

Text instruction for generation or editing.

modelstringrequired

Supported Gemini image model identifier.

aspect_ratioenumoptional

Requested output aspect ratio.

image_sizeenumoptional

Requested 1K, 2K, or supported output size.

refer_imagesstring[]optional

Reference image URLs for guided generation or edits.

Open the official TTAPI documentation
Integrate

From key to first result

Copy the resolved endpoint, authentication headers, and request body for this model.

curl --request POST \
  --url https://api.ttapi.org/gemini/image/generate \
  --header 'TT-API-KEY: $TTAPI_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"prompt":"minimal blank cosmetic bottles arranged on textured stone","model":"gemini-3-pro-image-preview","aspect_ratio":"16:9","image_size":"2K"}'