AI / Google Antigravity Gemini Fundamentals Interview Questions
What are the Nano Banana image generation models and how do they replace Imagen?
Nano Banana is Google's branding for the Gemini native image generation models. They replace the older Imagen models (deprecated, shut down by June 30, 2026) and are natively integrated into the Gemini model family rather than being a separate product.
| Model | Also known as | Strength |
|---|---|---|
| Gemini 3 Pro Image | Nano Banana Pro | Highest quality; reasoning-enhanced composition; legible text; complex multi-turn editing; up to 14 reference inputs |
| Gemini 3.1 Flash Image | Nano Banana 2 | High-efficiency, high-volume; multi-image fusion; character consistency |
| Gemini 3.1 Flash-Lite Image | Nano Banana 2 Lite | Ultra-low latency; cost-effective; for high-volume and latency-sensitive workloads |
from google import genai client = genai.Client() # Generate an image with Nano Banana 2 (Gemini 3.1 Flash Image) interaction = client.interactions.create( model="gemini-3.1-flash-image-preview", # Nano Banana 2 input="A photorealistic image of a Python snake debugging code on a glowing terminal.", ) # Access the generated image: for step in interaction.steps: if step.type == "model_output": for part in step.content: if part.type == "image": with open("output.png", "wb") as f: f.write(part.data) # image bytes # Multi-turn editing (conversational editing): edit = client.interactions.create( model="gemini-3.1-flash-image-preview", input="Now make the snake wearing a debugging hat and smiling.", previous_interaction_id=interaction.id, # maintains image context ) # Or via generateContent with Gen Media endpoint: response = client.models.generate_images( model="gemini-3-pro-image-preview", # Nano Banana Pro prompt="Studio quality portrait of an AI robot", )
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
