gemini-nano-banana-2.1

AliasNano Banana 2.1
by GoogleImage

Nano Banana 2.1 API by Google on TTAPI uses gemini-nano-banana-2.1 for image generation and editing with prompts, references, aspect ratio, and 1K–4K output.

InputPrompttext · references
Models5available
FlowSyncimage URL
Price4 quota/ image
Woman in a green dress on a yellow staircase against a pink motel facadeRetro motel staircaseExample 01
Orange and blue beetle with pink spots on a rain-covered leafRain-speckled jewel beetleExample 02
Labeled isometric cutaway showing Earth's crust, mantle, and coresEarth layers cutawayExample 03
WAVE FORM lettering shaped from fine white lines against blackWave Form typographyExample 04
Examples

Prompt to image, in context

Create a horizontal cinematic still of a two-story retro motel. A mustard-yellow exterior staircase cuts diagonally across a flamingo-pink facade while a woman in an emerald-green dress walks down it. Shoot from street level in warm sunlight, keeping the color blocking vivid and the architecture realistic.

Create a high-contrast 16:9 editorial graphic on a pure black background. Set the words WAVE above FORM as large sculptural lettering made from tightly spaced white parallel lines. Curve the lines like folded ribbons so the type has tactile depth while remaining readable.

Create a low-angle cinematic portrait of a person in a blue pinstripe suit and patterned gold tie, holding a worn brown leather suitcase in a sunlit grand room with tall windows. Use dramatic backlight, warm lens flare, and a nostalgic 1970s film mood.

Make an extreme macro photograph of a tiny beetle resting on a wet burgundy leaf. Give it a textured orange head, a pale blue shell with irregular magenta spots, glossy black eyes, and fine antennae. Show sharply focused water droplets and natural detail against a softly blurred dark background.

Create a 16:9 cinematic wide still of a high alpine snow plateau at sunrise. Place one sharp triangular refuge painted fire-engine red against white snowfields and blue glacial peaks. Keep the building small in the vast landscape, with long warm reflections across the frozen ground.

Create an ethereal portrait seen through vertical translucent glass panels that shift from cream and yellow to orange and deep red. Keep the contemplative subject softly focused behind the panels, with layered depth and warm autumn light.

Design a clean educational isometric cutaway of Earth. Clearly label the Crust, Mantle, Outer Core, and Inner Core, with distinct textures and a subtle glow in the center. Use deep earth colors, molten orange and yellow, and cool blue at the surface on a minimal light background.

A surreal cinematic full-body portrait of a woman with short pale-pink hair standing in a golden wheat field. Her voluminous sheer gown has flowing pastel lime, blush, and yellow layers moving in the breeze. Use soft daylight, distant low mountains, and a calm dreamlike mood.

Render a close-up dreamlike image of translucent glass-like neurons connected by thin fibers, with glowing orange cores and warm golden bokeh behind them. Use a shallow depth of field and crystalline micro-texture for a scientific yet magical mood.

Capabilities

What you can build with gemini-nano-banana-2.1

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
gemini-nano-banana-2.14 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":"A woman in a green dress descends a yellow staircase against a pink motel facade at golden hour","model":"gemini-nano-banana-2.1","aspect_ratio":"16:9","image_size":"2K"}'