Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Nano Banana 2.1 (Gemini Nano Banana 2.1)

google/gemini-nano-banana-2.1

Nano Banana 2.1 (Gemini Nano Banana 2.1) is Google's Flash-tier image generation and editing model, succeeding Nano Banana 2 and producing images alongside text through the native Gemini generateContent API. It improves prompt adherence, text rendering, product recontextualization and multi-turn editing consistency, supports extreme aspect ratios and 1K to 4K output, and can ground generation with Google web and image search. Pick Nano Banana Pro instead for the most demanding professional design work.

Eingabepreis
$1.50USD / 1 Mio. Tokens
Ausgabepreis
$7.50USD / 1 Mio. Tokens
Cache-Lesen
$1.50USD / 1 Mio. Tokens
Kontextfenster
65.5K
Maximale Ausgabe
32.8K
Produktionsroute

Modell testen

Gemini-native API

Dieses Modell erzeugt Bilder über die Gemini generateContent API und ist weder in Chat Completions noch im Playground verfügbar. Verwenden Sie das folgende Anfragebeispiel mit Ihrem SandBase API-Schlüssel.

Modellkarte

Spezifikationen

Preisgestaltung

Eingabe
$1.50 / 1 Mio. Tokens
Ausgabe
$7.50 / 1 Mio. Tokens
Cache-Lesen
$1.50 / 1 Mio. Tokens

Kontext & Modalitäten

Kontextfenster
65.536 Tokens
Maximale Ausgabe
32.768 Tokens
Eingabe
Text, Bild
Ausgabe
Text

Funktionen

Chat
Unterstützt
Vision
Unterstützt
Reasoning
Unterstützt
Strukturierte Ausgabe
Nicht unterstützt
Function Calling
Nicht unterstützt
Audioeingabe
Nicht unterstützt

Zugriff

Anbieter
Google
Modell-ID
google/gemini-nano-banana-2.1
Ausführung
sync
Basis-URL
https://api.sandbase.ai
API
Gemini generateContent API
Endpunkt
/v1beta/models/google/gemini-nano-banana-2.1:generateContent

Jetzt loslegen

Senden Sie Ihre erste Anfrage

Gemini-nativer Endpunkt mit SandBase API-Schlüssel-Authentifizierung und Nutzungsnachverfolgung.

Produktions-API
Gemini generateContent API-Endpunkt
https://api.sandbase.ai/v1beta/models/google/gemini-nano-banana-2.1:generateContent
Modell-ID
google/gemini-nano-banana-2.1
curl -X POST "https://api.sandbase.ai/v1beta/models/google/gemini-nano-banana-2.1:generateContent" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "contents": [
    {
      "role": "user",
      "parts": [
        {
          "text": "A watercolor illustration of a fox in a snowy forest"
        }
      ]
    }
  ],
  "generationConfig": {
    "responseModalities": [
      "TEXT",
      "IMAGE"
    ]
  }
}'
01

Eingabeschema

10 Parameter · 1 erforderlich · 9 optional

ParameterTypErforderlichBeschreibung
messagesobject[]ErforderlichConversation so far, as an ordered list of messages with a role (system, user or assistant) and content.
seedintegerOptionalBest-effort deterministic sampling: repeated requests with the same seed and parameters should return similar results.
stopstring[]OptionalSequences where the model stops generating. The stop sequence is not included in the output.
toolsarrayOptionalFunctions the model may call. Each tool declares a name, description and JSON Schema parameters.
top_pnumberOptionalNucleus sampling: only tokens within this cumulative probability are considered. · Min.: 0 · Max.: 1
streambooleanOptionalStream the response as server-sent events instead of returning it in one piece. · Standard: false
max_tokensintegerOptionalMaximum number of tokens to generate in the response. · Max.: 32768
temperaturenumberOptionalSampling temperature. Higher values make output more random; lower values make it more focused. · Min.: 0 · Max.: 2 · Standard: 1
tool_choicestringOptionalControls tool use: "auto", "none", "required", or a specific function.
response_formatobjectOptionalOutput format, for example { "type": "json_object" } or a JSON Schema for structured output.
02

Ausgabeschema

FeldTypBeschreibung
idstringEindeutige Kennung für die Completion
objectstringObjekttyp, z. B. "chat.completion"
modelstringVerwendetes Modell für die Completion
choicesarrayListe der Completion-Optionen
choices[].message.contentstringGenerierter Textinhalt
choices[].finish_reasonstringGrund, warum die Generierung gestoppt wurde
usage.prompt_tokensintegerAnzahl der Tokens im Prompt
usage.completion_tokensintegerAnzahl der Tokens in der Completion
usage.total_tokensintegerInsgesamt verwendete Tokens

Wählen Sie Ihr Modell

Modelle vergleichen

Alle Sprachmodelle
ModellKontextInput / 1MOutput / 1MVeröffentlicht
Google64K$1.50$7.508. Okt. 2026
Google1M$3.00$15.0018. Nov. 2026
Google1M$1.50$7.5012. Nov. 2026
Google1M$4.00$20.0010. Nov. 2026
Google1M$4.00$20.0013. Okt. 2026
Google1M$1.50$7.502. Sept. 2026

Fragen

FAQ

Wie rufe ich Google Nano Banana 2.1 (Gemini Nano Banana 2.1) über SandBase auf?

Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "google/gemini-nano-banana-2.1" an Gemini generateContent API (/v1beta/models/google/gemini-nano-banana-2.1:generateContent) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.

Was kostet Google Nano Banana 2.1 (Gemini Nano Banana 2.1)?

$1.50 pro 1 Mio. Input-Tokens und $7.50 pro 1 Mio. Output-Tokens, pro Anfrage von Ihrem SandBase-Guthaben abgerechnet. Rabatte werden, falls verfügbar, in den Preisen auf dieser Seite angezeigt.

Wie groß ist das Kontextfenster von Google Nano Banana 2.1 (Gemini Nano Banana 2.1)?

65.5K Tokens Kontext, mit bis zu 32.8K Output-Tokens pro Antwort.

Welche Funktionen unterstützt Google Nano Banana 2.1 (Gemini Nano Banana 2.1)?

Google Nano Banana 2.1 (Gemini Nano Banana 2.1) unterstützt Vision (Bildeingabe), Reasoning. Die vollständige Liste finden Sie oben unter „Spezifikationen“.

Benötige ich ein separates Google-Konto?

Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf Google Nano Banana 2.1 (Gemini Nano Banana 2.1) und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei Google registrieren.