ModelsPricingDocs
Sign inPlatform

Product

  • Models
  • Pricing
  • Docs
  • Platform

Company

  • About
  • Contact

Legal

  • Terms
  • Privacy
  • Refund Policy

Community

© 2026 DEEPQUEST PTE. LTD. · UEN 202625539W · Singapore

Models
Google

Gemini Nano Banana 2.1

Official

google/gemini-nano-banana-2.1

Google's image generation and editing model, generally available since October 6, 2026, and the successor to Nano Banana 2, with better image quality, prompt adherence, text rendering, and character consistency across turns. On OneHop it uses the OpenAI-compatible /v1/images/generations and /v1/images/edits endpoints: pick the 1K, 2K, or 4K tier with size (or pass "2K" / "4K" directly), set the frame with aspect_ratio (14 ratios, including 1:8 and 8:1), and send up to 10 reference images for editing. Each request returns one image, billed per image regardless of prompt length; the image comes back synchronously as base64.

Current Gemini image model: 1K / 2K / 4K, billed per image
This model is available to accounts that have topped up. Top up and you can call it right away. Go to billing

New to OneHop? Join our Telegram group to claim $1 in credit

Join the OneHop Telegram group and contact the group owner to claim $1 in new-user credit.

Join group to claim
Image generationImage editing

Pricing

2K $0.05 / image4K $0.09 / image
InputDisplay price
—/ M tokens
OutputDisplay price
—/ M tokens

Protocols

  • OpenAI Chat CompletionsStatus: Not supported—
  • OpenAI ResponsesStatus: Not supported—
  • Anthropic MessagesStatus: Not supported—
  • Google Vertex AIStatus: Not supported—
  • OpenAI ImagesStatus: Availablehttps://api.onehop.ai/v1
  • OpenAI SoraStatus: Not supported—
  • OpenAI EmbeddingsStatus: Not supported—
  • OpenAI Audio Speech (TTS)Status: Not supported—
  • OpenAI Audio Transcription (STT)Status: Not supported—

Try it in the chat playground

Call IDs

Use either ID to call this model via the API.

OneHop namegoogle/gemini-nano-banana-2.1

Usable Model IDs

You can use these names directly in the request model field.

gemini-3.1-flash-lite-imagegemini-3.1-flash-lite-image-previewgoogle/gemini-3.1-flash-lite-imagegoogle/nano-banana-2.1models/gemini-3.1-flash-lite-imagemodels/gemini-3.1-flash-lite-image-previewmodels/gemini-nano-banana-2.1nano-banana-2-1nano-banana-2.1nanobanana-2.1

Try it

Replace the ONEHOP_KEY placeholder with your API key. Create one →

from openai import OpenAI

client = OpenAI(
    base_url="https://api.onehop.ai/v1",
    api_key="<ONEHOP_KEY>",
)

response = client.images.generate(
    model="google/gemini-nano-banana-2.1",
    prompt="A red panda coding under the moonlight",
    n=1,
)
print(response.data[0].url)
base_url: https://api.onehop.ai/v1

Other variants in this family

GoogleGemini 3 Pro Image (Nano Banana Pro)

Gemini 3 Pro Image (Nano Banana Pro) — Google's flagship model for image generation and editing, with 1K / 2K / 4K output, billed per image.

— · —