ImageNewsNano Banana 2.1 image API

Nano Banana 2.1 API: examples, price, request

Nano Banana 2.1 API is now on TTAPI as gemini-nano-banana-2.1. See its 4-quota image price, request fields, and matched Google showcase examples.

TTAPI3 min read
Woman in a green dress on a yellow staircase against a pink motel facadeNano Banana 2.1 · Gemini Image
IN THIS NOTE

What you will take away

  • Identify the new TTAPI model ID and price
  • Inspect matched Google showcase images and adapted prompts
  • Send a Nano Banana 2.1 image request through TTAPI
THE TAKEAWAY

TTAPI added gemini-nano-banana-2.1 to its synchronous Gemini image generation endpoint at 4 quota per image. Google positions Nano Banana 2.1 as an updated, efficient image generation and editing model. Start with a prompt and a documented aspect ratio and image size, then inspect the returned image before using it in a product.

Nano Banana 2.1 arrives on TTAPI

TTAPI added gemini-nano-banana-2.1 to the existing Nano Banana image generation endpoint on October 9, 2026. The model is listed as Nano Banana 2.1 and costs 4 quota per generated image. It uses the same POST /gemini/image/generate path as the other Gemini image models, with TT-API-KEY and a JSON body.

Google describes Nano Banana 2.1 as an update to Nano Banana 2 with improvements in visual quality, prompt adherence, character consistency, and text rendering. Those are Google product claims. TTAPI documents the model ID and request fields; it does not publish an independent image-quality benchmark.

What the official image examples show

The Google DeepMind showcase includes a vivid motel staircase, a rain-covered macro beetle, an alpine refuge, a labeled Earth diagram, sculptural lettering, and a pastel fashion scene. These examples cover photography, information layout, and type handling without using the same visual brief six times.

The gallery on the TTAPI model page pairs each official showcase image with a concise prompt adapted from Google's published description. Treat those prompts as starting points for your own tests: output can change with the exact prompt, reference images, aspect ratio, and image size.

Woman in a green dress on a yellow staircase against a pink motel facade
Google DeepMind showcase · retro motel staircase (adapted prompt)
PROMPT

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.

Test text and diagrams at the intended size

The Earth cutaway is a useful example for checking whether a generated diagram preserves the requested labels and visual hierarchy. Google's model documentation highlights stronger text and infographic rendering, but the model card still notes that small type and long passages may be imperfect, particularly at lower resolution.

When a generated image carries facts or copy, inspect every label and number before publishing it. For a product screen or campaign, generate at the size you will actually ship, then review a full-resolution export rather than relying on a thumbnail.

Labeled isometric cutaway showing Earth's crust, mantle, and cores
Google DeepMind showcase · labeled Earth cutaway (adapted prompt)
PROMPT

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.

Make one TTAPI request and check the result

Use the exact model value gemini-nano-banana-2.1. The TTAPI request below sends a text prompt with a 16:9 aspect ratio and 2K image size to the documented synchronous generation endpoint. Reference image URLs can be added through refer_images for an edit or guided generation; verify the current reference limits before using several images.

TTAPI lists Nano Banana 2.1 at 4 quota per image, approximately $0.04. Keep the API key on your server, handle request timeouts, and record the returned image URL and quota value. The sample is an integration template, not a recorded TTAPI generation.

Generate a Nano Banana 2.1 image
cURL
curl --request POST \
  --url 'https://api.ttapi.org/gemini/image/generate' \
  --header "TT-API-KEY: $TTAPI_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "gemini-nano-banana-2.1",
  "prompt": "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.",
  "aspect_ratio": "16:9",
  "image_size": "2K"
}'
  • Set TTAPI_KEY on the server and send it in TT-API-KEY.
  • Use gemini-nano-banana-2.1 as the model ID.
  • Review the returned image and its text before publishing.
  • Confirm the current quota price when budgeting repeated generations.
KEEP BUILDING

Open the Nano Banana 2.1 API.

Continue from the model page, then follow the current image API documentation.