Gemini

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

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

Gemini 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:OpenAIopenaiGeminigemini
Verfügbare Anbieter:GoogleCloudVertex
Fähigkeiten:VisionWebsuche

Preise

TypPreis
Eingabe-Tokens$0.5/M
Ausgabe-Tokens$3/M
Ausgabe Bild$60/M
Websuche$0.014/R

Code-Beispiele

from google import genai
client = 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)

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.

Discord

Treten Sie unserem Discord-Server bei

Discord