Nano Banana 2 Preview · edenai
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...
Eingabe, $/1M $0.50
Ausgabe, $/1M $60.00
Kontext 65 536
Akzeptiert Bilder, Text
Zuletzt geprüft 04.11.2026 12:00:14 UTC
Quelle Seite des Anbieters
Preisalarme
API
OpenAI-kompatible API: Die offiziellen OpenAI-SDKs funktionieren mit dieser Basis-URL. Ersetzen Sie YOUR_API_KEY durch Ihren Schlüssel vom Anbieter.
| API-Basis-URL | |
|---|---|
| Endpunkt | |
| Modell-ID | |
curl
curl https://api.edenai.run/v3/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/gemini-3.1-flash-image-preview", "prompt": "a lighthouse at sunset", "n": 1, "size": "1024x1024"}'Python
import requests
r = requests.post(
"https://api.edenai.run/v3/images/generations",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "google/gemini-3.1-flash-image-preview",
"prompt": "a lighthouse at sunset",
"n": 1,
"size": "1024x1024"
},
)
print(r.json())JavaScript
const r = await fetch("https://api.edenai.run/v3/images/generations", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "google/gemini-3.1-flash-image-preview",
"prompt": "a lighthouse at sunset",
"n": 1,
"size": "1024x1024"
}),
});
console.log(await r.json());Anfrage (JSON)
{
"model": "google/gemini-3.1-flash-image-preview",
"prompt": "a lighthouse at sunset",
"n": 1,
"size": "1024x1024"
}Antwort (JSON)
{
"created": 1760000000,
"data": [
{
"url": "https://...",
"b64_json": null
}
]
}Die Adresse stammt aus der Modellliste des Anbieters; bitte mit seiner Dokumentation abgleichen.
Source: AI Rate Card, https://airatecard.com/de/c/offer%3Aedenai%7Cgoogle/gemini-3.1-flash-image-preview, prices checked 2026-11-04; seller's page: https://edenai.co
Technische Details
ID: offer:edenai|google/gemini-3.1-flash-image-preview