Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)
Image Generationgoogle/gemini-3.1-flash-image-previewGemini 3.1 Flash Image Preview, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines advanced contextual understanding with fast, cost-efficient inference, making complex image generation and iterative edits significantly more accessible.
64K kontextfenster
64K max. ausgabe-tokens
Veröffentlicht: 2026-03-03
Unterstützte Protokolle:openaigemini
Verfügbare Anbieter:Vertex
Fähigkeiten:VisionWebsuche
Preise
| Typ | Preis |
|---|---|
| Eingabe-Tokens | $0.5/M |
| Ausgabe-Tokens | $3/M |
| Ausgabe Bild | $60/M |
| Websuche | $0.014/R |
Code-Beispiele
from google import genaiclient = genai.Client(api_key="YOUR_OFOX_API_KEY",http_options={"api_version": "v1beta", "url": "https://api.ofox.ai/gemini"},)response = client.models.generate_content(model="google/gemini-3.1-flash-image-preview",contents="Generate an image of a beautiful sunset over mountains",)print(response.text)
Verwandte Modelle
Häufig gestellte Fragen
Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) auf Ofox.ai kostet $0.5/M pro Million Eingabe-Tokens und $3/M pro Million Ausgabe-Tokens. Pay-as-you-go, keine monatlichen Gebühren.
Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) unterstützt ein Kontextfenster von 64K Tokens mit max. Ausgabe von 64K Tokens, was die Verarbeitung großer Dokumente und lange Konversationen ermöglicht.
Einfach Ihre Base-URL auf https://api.ofox.ai/v1 setzen und Ihren Ofox API Key verwenden. Die API ist OpenAI-kompatibel — einfach Base-URL und API Key in Ihrem bestehenden Code ändern.
Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) unterstützt folgende Fähigkeiten: Vision, Websuche. Zugriff auf alle Features über die einheitliche Ofox.ai API.