Nano Banana 2

Nano Banana 2 (officially known as Gemini 3.1 Flash Image) is Google’s upgraded AI image generation and editing model that brings advanced visual creation capabilities to a broad audience. It generates detailed, expressive images from text and image prompts with sharp details, richer lighting, and improved adherence to complex instructions. Nano Banana 2 also supports multi-object and multi-character consistency, accurate text rendering within images, and flexible resolution control up to 4K. It is now integrated across Google’s AI platforms including the Gemini app, Search AI Mode, and other Gemini-powered services.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
Step-by-step tutorials for advanced use cases
Keeping characters and products consistent How to use Nano Banana 2 reference images to keep the same character or product identical across new scenes and styles.
Grounded generation with web and image search How to generate images from real-time information with Nano Banana 2 using web and image search grounding via providerSettings.google.
Combining multiple images into one composition How to merge several reference images, a product, a subject, a backdrop, or a style, into a single coherent image with Nano Banana 2.
Prompting Nano Banana 2 How to write prompts for Nano Banana 2: detailed scene descriptions, structured layering, legible text rendering, and thinking-level control.