New API
  • Home
  • Docs
  • Console
  • AgentAgentHotHot
  • Partners
Sign in
Model/Details
Loading…
Home / Pricing / Models / gemini-nano-banana-2.1

gemini-nano-banana-2.1 API Pricing & Access

An update to Nano Banana 2 (Gemini 3.1 Flash Image), built for high-efficiency image generation and conversational editing with improved visual quality, multi-turn character consistency, accurate text rendering, and search-grounded generation across 1K, 2K, and 4K resolutions.

Pricing by group

See the live price table above for how this model is billed and the price in each group.

Capabilities

Provider
Google
Features
Painting
API formats
Gemini generateContent · OpenAI Chat Completions

Quick start

Base URL: https://api.openlux.ai/v1. Create an API key in the console and replace YOUR_API_KEY in the examples.

curl · /v1/chat/completions
curl https://api.openlux.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-nano-banana-2.1",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(base_url="https://api.openlux.ai/v1", api_key="YOUR_API_KEY")
resp = client.chat.completions.create(
    model="gemini-nano-banana-2.1",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Full parameters in the API docs

FAQ

How do I call the gemini-nano-banana-2.1 API?

Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and use gemini-nano-banana-2.1 as the model name.

How is the gemini-nano-banana-2.1 API billed?

The billing method and price depend on the group. See the live price table on this page. Top-ups start at $1.

Is there a Batch API?

Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.

Which API formats does gemini-nano-banana-2.1 support?

Gemini generateContent, OpenAI Chat Completions.

More

More Google models

  • gemini-3-flash-preview
  • gemini-3.5-flash-lite
  • gemini-3.5-flash
  • gemini-3.1-pro-preview
  • gemini-3.8-flash
  • gemini-3.7-flash
  • gemini-3.6-flash
  • gemini-3.1-flash-image-preview
  • gemini-3-pro-image-preview
  • gemini-4-hydrogen
  • gemini-3.1-flash-lite
  • gemini-3-pro-image
  • Model directory
  • All model pricing
  • Sign up and get an API key

Other languages: 中文 · 日本語 · 한국어

New API

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Legal

  • Terms
  • Privacy
  • Usage
  • Disclaimer
  • Refunds
  • DPA
  • Compliance
  • Imprint

Docs

  • API
  • AI News
  • Announcements

More

  • Agent

One API for mainstream AI models

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

New API

One API for mainstream AI models

Models

  • Text
  • Image
  • Media
  • Retrieval

Company

  • About
  • Partners
  • PersonalHot

Docs

  • API
  • AI News
  • Announcements

More

  • Agent

OpenLux©2026COGNIS AI PTE. LTD. All rights reserved

Privacy | Terms | Usage | Disclaimer | Refunds | DPA | Compliance | Imprint |