google/nano-banana

nano-banana
Docs
Schema

[Core Function] Nano Banana is the original fast creative image model. [Strengths] Very fast creative generation. [Best For] Quick sketches and ideas. [Limitations] Superseded by Nano Banana 2 for general speed tasks. [Routing] Default to Nano Banana 2 unless specifically requested.

$0.0390/img$0.0351/img
text-to-image

Input

Image description text
Image aspect ratio

Result

No results yet

Run the model to preview the output here.

Next:

README

Attributes

Series

Parameters

Name Description Type Required Enums
prompt Image description text string Yes -
aspectRatio Image aspect ratio string No 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9

Pricing

Unit: $/img

Pricing
$0.0351/img
  • google/nano-banana-2: [Core Function] Nano Banana 2 (Gemini 3.1 Flash Image) is an extremely fast text-to-image model. [Strengths] It is optimized for high-speed, high-volume visual generation, creative prompting, and rapid stylistic experimentation. [Best For] Highly recommended for: rapid creative iteration, generating large batches of images quickly, and artistic/stylized graphics. [Limitations] Do NOT use this model if you require strict, high-end photorealism; prefer Nano Banana Pro for higher-fidelity creative output. [Routing] Route to this model for ‘fast’, ‘creative’, or ‘stylized’ high-volume requests. For Nano Banana 2.1, use google/nano-banana-2.1.
  • google/nano-banana-pro: [Core Function] Nano Banana Pro (Gemini 3 Pro Image) is a high-capability creative image model. [Strengths] It balances the creative flexibility and speed of the Nano series with higher fidelity output. [Best For] Highly recommended for: high-quality stylized art and complex creative compositions. [Limitations] Do NOT use this model when you need the absolute highest photorealism or detail; step up within the Nano Banana family (Nano Banana 2 or Nano Banana Pro Edit workflows) as needed. [Routing] Use this model for high-quality, creative, non-photorealistic requests.
  • google/nano-banana-2-edit: [Core Function] Nano Banana 2 Edit is a high-speed image editing model. [Strengths] It rapidly modifies existing images or extracts image frames from videos based on text prompts. [Best For] Highly recommended for: rapid style transfer, quick image modifications, and fast creative edits. [Limitations] Do NOT use this model for meticulous photorealistic retouching. [Routing] Use this model by default for fast, creative image editing tasks. For Nano Banana 2.1 editing, use google/nano-banana-2.1-edit.
  • google/nano-banana-edit: [Core Function] Nano Banana Edit is the original fast image editing model. [Strengths] Fast basic edits. [Limitations] Superseded by Nano Banana 2 Edit. [Routing] Default to Nano Banana 2 Edit unless specifically requested.
  • google/nano-banana-pro-edit: [Core Function] Nano Banana Pro Edit is a high-capability creative image editing model. [Strengths] It provides high-quality creative edits, background replacements, and style transformations. [Best For] Highly recommended for: detailed creative modifications and complex style transfers. [Limitations] Do NOT use for strict photorealistic restoration. [Routing] Use this model for detailed, high-quality creative edits.
  • google/nano-banana-2-lite: [Core Function] Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) is the lightweight, cost-efficient text-to-image model of the Nano Banana 2 family. [Strengths] It generates images even faster and more cheaply than Nano Banana 2, well suited to high-volume creative and stylized output at lower cost. [Best For] Highly recommended for: high-volume batch generation, quick drafts and thumbnails, and cost-sensitive creative iteration. [Limitations] Do NOT use this model when you need maximum detail, high-end photorealism, or the richest quality; use Nano Banana 2 or Nano Banana Pro instead. [Routing] Choose the Lite variant when cost and throughput matter more than peak quality; step up to Nano Banana 2 for richer results.
  • google/nano-banana-2-lite-edit: [Core Function] Nano Banana 2 Lite Edit (Gemini 3.1 Flash Lite Image) is the lightweight, cost-efficient image editing model of the Nano Banana 2 family; it transforms one or more input images per a text instruction. [Strengths] It performs fast, low-cost instruction-based editing across up to 14 input images. [Best For] Highly recommended for: high-volume edits, quick style transforms, and batch background or attribute changes where cost and throughput matter. [Limitations] Do NOT use this model when you need the highest edit fidelity or richest detail; use Nano Banana 2 Edit or Nano Banana Pro Edit instead. [Routing] Choose the Lite variant for cost- and throughput-sensitive edits; step up to Nano Banana 2 Edit for higher quality.
  • google/nano-banana-2.1: [Core Function] Nano Banana 2.1 is Google’s fast text-to-image model on Gemini 3.6 Flash, exposed as google/nano-banana-2.1. [Strengths] It keeps Flash-level speed at 1K, 2K, and 4K, with stronger visual quality, text rendering, and real-world knowledge than Nano Banana 2. thinkingLevel trades latency for quality and defaults to medium. Optional systemInstruction is omitted when blank. enableWebSearch turns on Google Search grounding (web and image search) only when true. [Best For] High-volume image production, posters and diagrams with readable text, localized text, and rapid iteration on new text-to-image work. [Limitations] Do NOT use this model for image or video editing, 512-pixel output, audio input, or reference images. This endpoint accepts a prompt only. seed, temperature, topP, topK, and logprobs are rejected. [Routing] Use google/nano-banana-2.1 for new text-to-image work. Use google/nano-banana-2 when the caller needs the 512 resolution of Gemini 3.1 Flash Image. Use google/nano-banana-2.1-edit when the user supplies images or a video. Use google/nano-banana-pro when the user wants the highest-end professional stills.
  • google/nano-banana-2.1-edit: [Core Function] Nano Banana 2.1 Edit is Google’s fast image-editing and video-to-image model, exposed as google/nano-banana-2.1-edit. [Strengths] It edits up to 14 reference images, or one HTTPS video plus up to 10 images, at 1K, 2K, or 4K, with improved character and multi-reference consistency. thinkingLevel defaults to medium. Optional systemInstruction is omitted when blank. enableWebSearch turns on Google Search grounding (web and image search) only when true. [Best For] Prompted restyling, multi-image product and character edits, and turning a video into a still. [Limitations] Do NOT use this model for text-only generation, 512-pixel output, or audio generation. At least one of image or video is required. seed, temperature, topP, topK, and logprobs are rejected. [Routing] Use this endpoint when the user provides images or a video and wants Nano Banana 2.1. Use google/nano-banana-2-edit for the previous Gemini 3.1 Flash Image editor, including 512 output. Use google/nano-banana-2.1 when there is no visual input. Use google/nano-banana-pro-edit for the highest-fidelity still edits that do not need video input.

Related Resources