- Nano Banana 2
- Edit
Endpoint:
POST https://fal.run/fal-ai/nano-banana-2
Endpoint ID: fal-ai/nano-banana-2Try it in the Playground
Run this model interactively with your own prompts.
Quick Start
Input Schema
The text prompt to generate an image from.
The number of images to generate. Default value:
1Range: 1 to 4The seed for the random number generator.
The aspect ratio of the generated image. Supports extreme ratios: 4:1, 1:4, 8:1, 1:8. Use “auto” to let the model decide based on the prompt. Default value:
autoPossible values: auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16, 4:1, 1:4, 8:1, 1:8The format of the generated image. Default value:
"png"Possible values: jpeg, png, webpThe safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict. Default value:
"4"Possible values: 1, 2, 3, 4, 5, 6If
True, the media will be returned as a data URI and the output data won’t be available in the request history.The resolution of the image to generate. Default value:
"1K"Possible values: 0.5K, 1K, 2K, 4KExperimental parameter to limit the number of generations from each round of prompting to 1. Set to
True to to disregard any instructions in the prompt regarding the number of images to generate and ignore any intermediate images generated by the model. This may affect generation quality. Default value: trueEnable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.
When set, enables model thinking with the given level (‘minimal’ or ‘high’) and includes thoughts in the generation. Omit to disable.Possible values:
minimal, highOutput Schema
The generated images.
The description of the generated images.
Input Example
Output Example
Nano Banana 2 [text-to-image]
Google’s Gemini 3.1 Flash Image architecture generates vibrant, high-fidelity visuals at speed, combining the reasoning capabilities of a multimodal foundation model with the efficiency of Flash-optimized inference. It understands creative intent holistically rather than matching keywords, producing images with accurate text rendering, character consistency, and coherent spatial composition in seconds. Built for: Marketing campaigns and social media assets | Product photography and visualization | Designs requiring accurate in-image typography | Storyboarding with consistent characters across framesReasoning-Guided, Flash-Fast
Built on Google’s Gemini 3.1 Flash Image foundation, Nano Banana 2 reasons about composition, lighting, and spatial relationships before rendering. Unlike traditional diffusion models that treat prompts as weighted tokens, this architecture interprets creative direction as a multimodal language model would, capturing nuance and context that single-modality systems miss, then executes at Flash-tier speed. What this means for you:- Vibrant output: Rich color, punchy contrast, and visual coherence out of the box without post-processing
- Accurate text rendering: Character-by-character validated typography in multiple languages, directly in generated images
- Character consistency: Maintain identity for up to 5 people across generations for storyboarding and campaign work
- Natural language control: Describe mood, style, and context conversationally without mastering prompt engineering syntax
- Web-grounded generation: Optionally ground outputs in real-time web information for factually current visuals
Technical Specifications
| Spec | Details |
|---|---|
| Architecture | Gemini 3.1 Flash Image (Nano Banana 2) |
| Input | Text prompts (natural language); up to 14 reference images for editing |
| Output Formats | PNG, JPEG, WebP |
| Resolution | 1K (default), 2K (1.5x rate), 4K (2x rate), 512x512 (0.75x rate) |
| Aspect Ratios | auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 |
| Batch | 1-4 images per request |
| Character Consistency | Up to 5 people across generations |
| Watermarking | SynthID digital watermarking on all outputs |
| Web Search | Optional grounding via enable_web_search or enable_google_search |
| License | Commercial use enabled through fal.ai |
How It Stacks Up
vs. Nano Banana Pro (Gemini 3 Pro Image): Nano Banana 2 prioritizes speed and vibrant output on the Flash architecture, generating in seconds where Pro optimizes for maximum reasoning depth at $0.15/image. Choose Nano Banana 2 for fast iteration and production volume, Pro for maximum compositional complexity. vs. FLUX.2 [dev]: Nano Banana 2 delivers semantic-aware generation with native text rendering and character consistency through Gemini’s multimodal reasoning. FLUX.2 [dev] prioritizes resolution control and fine detail preservation for technical illustration workflows. vs. Original Nano Banana (Gemini 2.5 Flash Image): Nano Banana 2 adds reasoning-guided generation, dramatically improved text rendering, native multi-resolution output (1K/2K/4K), character consistency, multi-image compositing, and web search grounding. A generational leap in quality while maintaining Flash-tier speed.Related
- Nano Banana 2 — Image Generation
Limitations
num_imagesrange: 1 to 4output_formatrestricted to:jpeg,png,webpsafety_tolerancerestricted to:1,2,3,4,5,6resolutionrestricted to:0.5K,1K,2K,4Kthinking_levelrestricted to:minimal,high
