Skip to main content
gemini-3.1-flash-lite-image (Nano Banana 2 Lite) is Google’s fastest, most cost-efficient Gemini image model, built for rapid ideation and high-throughput, low-latency pipelines while keeping prompt adherence, character consistency and legible in-image text. It suits high-volume text-to-image and simple local edits (colors, backgrounds, stickers) and outputs 1K images only; Google notes it is not optimized for multiple reference images or multi-turn sequential editing, for which Gemini 3.1 Flash Image is the better choice.

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.