googleVision
Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)
Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) is Google's fastest, most cost-efficient Gemini image model, built for high-velocity developer pipelines and rapid-fire visual exploration. It delivers text-to-image generation...
Context
66k tokens
Input / 1M tokens
$0.25
Output / 1M tokens
$1.50
Benchmark
—
Pricing
Input tokens$0.25 per 1M tokens
Output tokens$1.50 per 1M tokens
Technical details
Model IDgoogle/gemini-3.1-flash-lite-image
Context window66k tokens
Input modalitiesimage, text
Output modalitiesimage, text
TokenizerGemini
Max output tokens66,000
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'google/gemini-3.1-flash-lite-image',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)?
Get an API key and start making requests in minutes.
Get an API key