Agent may make mistakes. Verify all outputs.
Gemini 3.1 Flash-Lite Image (Nano Banana 2 Lite) is Google's fastest image generation model enabling rapid creation and iteration.
import { generateText } from 'ai'
const result = await generateText({ model: 'google/gemini-3.1-flash-lite-image', prompt: 'Render a picture of a red balloon.',});Try out Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) by Google. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Your generated image will appear here
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|
| Model |
|---|