Skip to main content
gemini-nano-banana-2.1 (Nano Banana 2.1) is Google’s latest high-efficiency model for image generation and conversational editing, an update to Gemini 3.1 Flash Image (Nano Banana 2). It keeps Flash-tier speed and cost while improving visual quality and realism at every resolution, fixes tiling artifacts on wide and panoramic aspect ratios (1:4, 4:1, 1:8, 8:1) at 2K / 4K, and renders text and infographic layouts more accurately. It covers text-to-image, conversational multi-turn editing and blending of up to 14 reference images (consistency for up to 4 characters and 10 objects) at 1K / 2K / 4K. Google positions it as the more efficient counterpart to Gemini 3 Pro Image (Nano Banana Pro).

Setup

Endpoints

Parameters

Official parameters not supported yet

They return 400; the model is not called and nothing is charged.

Pricing

Billed at the model price shown in the console. Invalid requests and failed generations are not charged.

Quick start

$DREAMTO_API_KEY is your API Key.

Notes

  • This page covers generateContent only; the Batch API and files/... references from Files API uploads are not supported yet.
  • Send reference images as Base64 in inlineData, or as a public https link in fileData.fileUri.
  • Errors use the DreamTo error envelope (see the error examples) rather than Google’s status envelope.