Gemini

Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)

Image Generation
google/gemini-3.1-flash-lite-image

Gemini 3.1 Flash Lite Image is Google's most cost-efficient image generation and editing model, supporting text-to-image, image editing, and multi-image composition. Outputs generated at 1K resolution across 14 aspect ratios, at the lowest price point in the Nano Banana family.

Fenêtre de contexte
66K
Tokens de sortie max
64K
Publié
2026-06-30
Capacités
Vision
Fournisseurs disponibles
GoogleCloudVertex
Protocoles supportés
OpenAIopenaiGeminigemini

Providers

GoogleCloudVertex
Tokens d'entrée
$0.25/M
Tokens de sortie
$1.5/M
Image sortie
$30/M
Protocols
OpenAIopenai/v1/chat/completions/v1/images/generations
Geminigemini

Exemples de code

from google import genai
client = genai.Client(
api_key="YOUR_OFOX_API_KEY",
http_options={"api_version": "v1beta", "base_url": "https://api.ofox.io/gemini"},
)
response = client.models.generate_content(
model="google/gemini-3.1-flash-lite-image",
contents="Generate an image of a beautiful sunset over mountains",
)
print(response.text)

Questions fréquentes

Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) sur Ofox.ai coûte $0.25/M par million de tokens d'entrée et $1.5/M par million de tokens de sortie. Paiement à l'usage, sans frais mensuels.