Home / Model Explorer / Gemini Nano Banana 2.1

Gemini Nano Banana 2.1 API

GoogleImage

Suitable for creative ideation, content illustrations, and everyday design

  • Model ID: gemini-nano-banana-2.1
  • Example endpoint: POST https://api.yomiapi.com/v1beta/models/gemini-nano-banana-2.1:generateContent
  • View public route prices

Overview

About this model

Nano Banana 2.1 An image generation model suitable for creative ideation, content illustrations, and everyday design. Supports 1K / 2K / 4K, with a uniform unit price across all three resolution tiers.

Capabilities

Capability matrix

Text—
Vision—
Audio—
Tools—
JSON—
Reasoning—

Pricing and groups

Routes and pricing

Dedicated group for image generationBase priceCollecting data

Using agent allows you to view and configure skill in the help documentation

Per request

$0.017 / request

Recent availabilityPast 24 hours · Active probes—
24h ago16h ago8h agoNow

Per-request prices are marked “/ request”; other rates are in USD per million tokens. This page shows a public price snapshot. Before sending a request, check the Model Explorer for current prices. The console shows account-specific routes and charges.

How to compare prices · How to interpret performance metrics

Snapshot: . Availability reflects active probes over the past 24 hours; performance reflects actual calls.

API

Integration example

Use a Yomi API key that can access this model and route. Check the endpoint and request parameters when switching models or protocols.

Set the environment variable YOMI_API_KEY.

Quick start · Pricing and billing · Protocol reference · Gemini image generation

curl · Gemini
curl 'https://api.yomiapi.com/v1beta/models/gemini-nano-banana-2.1:generateContent' \
  -H "x-goog-api-key: $YOMI_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{
  "contents": [
    {
      "role": "user",
      "parts": [
        {
          "text": "A small ceramic cup near a window"
        }
      ]
    }
  ],
  "generationConfig": {
    "responseModalities": [
      "TEXT",
      "IMAGE"
    ]
  }
}'

Connect to Gemini Nano Banana 2.1 now

Create an API key in the console and select an available route.

Get an API key