gemini-3.1-flash-image KI-Bild-API

gemini-3.1-flash-image (Nano Banana 2): Erzeuge Bilder, bearbeite Referenzen und verfeinere Designs über Flatkey. Das Beispiel nutzt Gemini contents/parts, keinen austauschbaren Images-API-Request.

Text zu BildReferenzgesteuertes Bild
Eingabe /M
$0.5/ 1 Mio. Token$0.5/ 1 Mio. Token
Ausgabe /M
$3/ 1 Mio. Token$3/ 1 Mio. Token
Anbieter
Google
Generator-Einstellungen · Playground (vor der Anmeldung bearbeiten)

Eingabe

EingabeaufforderungMehr anzeigen875 / 10000
Schnell-Prompts
Referenzbilder
Generierung starten

Ausgabe

Vorschau
Bildvorschau

Generiert mit Image 2

Anfrageübersicht

Endpunkt
POST /v1beta/models/gemini-3.1-flash-image:generateContent
Modell-ID
gemini-3.1-flash-image
Seitenverhältnis
1:1
Auflösung
1K

Nur Vorschau. Melden Sie sich an, um diese Anfrage an Flatkey zu senden.

Anfragevorschau
{
  "model": "gemini-3.1-flash-image",
  "contents": [
    {
      "role": "user",
      "parts": [
        {
          "text": "Creative direction: Create a two-panel luxury skincare serum advertising poster. Show a frosted dropper bottle against warm ivory and champagne-gold liquid, with fine water droplets, translucent molecule diagrams, and carefully aligned areas for benefits, ingredients, and price. Keep the bottle proportions and reflections identical across both panels, use soft cream-and-gold lighting, and leave the typography zones clean for editorial copy.\n\nComposition, material and finish: Keep panel gutters equal and the bottle silhouette unobstructed. Render frosted glass with soft transmission, gold liquid with restrained specular highlights, and droplets at a believable scale. Treat molecule drawings as sparse graphic accents. Leave benefit and price fields unfilled for post-production; avoid invented efficacy claims, duplicate droppers, incompatible shadows and watermarks."
        }
      ]
    }
  ],
  "generationConfig": {
    "responseModalities": [
      "TEXT",
      "IMAGE"
    ],
    "imageConfig": {
      "aspectRatio": "1:1",
      "imageSize": "1K"
    }
  }
}

API-Leistung

gemini-3.1-flash-image Zuverlässigkeit und Verfügbarkeit der API

Die Live-Telemetrie der Flatkey-Anfragen für gemini-3.1-flash-image erscheint hier, sobald genügend Produktionsverkehr vorliegt.

Durchschn. Anbieter-Verfügbarkeit
94.7%
letzte 30 Tage
Latenz
1.79s
letzte 30 Tage
Anfragen
281
30-Tage-Fenster
Trend erfolgreicher Inferenzen

API-Aktivität

gemini-3.1-flash-image API-Nutzung und Anfrageaktivität

Verfolge Anfragevolumen und erfolgreiche Inferenzaktivität für gemini-3.1-flash-image im aktuellen Berichtszeitraum.

Anfragen
281
30-Tage-Fenster
Latenz
1.79s
letzte 30 Tage
Verfügbarkeit
94.7%
letzte 30 Tage
Trend erfolgreicher InferenzenAktivität

gemini-3.1-flash-image Preise

gemini-3.1-flash-image API-Preise und Abrechnung

Die Karten zeigen aktuelle Flatkey-Tarife für Eingabe- und Ausgabetokens. Ein Tokenpreis ist kein Festpreis pro Bild: Einstellungen, Referenzen und Ausgabe beeinflussen den Verbrauch. Direkte Google-Preise und Freikontingente gelten nicht automatisch.

Flatkey-Preis

Eingabe /M

Live-Katalogmodell
$0.5/ 1 Mio. Token$0.5/ 1 Mio. Token
Eingabe /M
$0.5/ 1 Mio. Token$0.5/ 1 Mio. Token
Ausgabe /M
$3/ 1 Mio. Token$3/ 1 Mio. Token
Bildeingabe /M
$0.06/ 1 Mio. Token$0.06/ 1 Mio. Token
Einen Prompt testen
Gemeinsames Guthaben

Guthaben hinzufügen

Guthaben hinzufügen

Verwenden Sie dasselbe Flatkey-Guthaben und denselben API-Schlüssel für Bild-, Video-, Audio- und Textmodelle.

Modellkatalog
Modelltyp
Text zu Bild
API
/v1beta/models/gemini-3.1-flash-image:generateContent
Abrechnungsgrundlage
1M tokens
Ausgaben
1

gemini-3.1-flash-image KI-Bildgenerator und API: zentrale Funktionen

Die gemini-3.1-flash-image-Route von Google unterstützt Text · Bild. Katalogkategorien: Marketing.

Text zu Bild

Beschreibe Motiv, Komposition, Licht und gewünschten Text. Setze Ausgabesteuerungen als Request-Felder, nicht nur im Prompt.

Referenzbild

Füge Referenzen hinzu und nenne unveränderte sowie zu bearbeitende Teile. Beachte die Grenzen der Parametermatrix.

Ausgaben

Wähle nur die im Playground angebotenen Formate und Größen. Flash, Flash Lite und Pro haben unterschiedliche Ausgabelimits.

API

Behalte die genaue Modell-ID und contents/parts-Struktur bei. Teste vor der Stapelverarbeitung einen kleinen Request.

Vergleichen

gemini-3.1-flash-image API-Vergleich: Funktionen und Zugriff

Vergleiche die Katalogfakten für gemini-3.1-flash-image mit der Referenz der vorherigen Generation, bevor du die Integration änderst.

FähigkeitVorherige Generationgemini-3.1-flash-image
AnbieterIn diesem Katalog-Snapshot nicht verifiziertGoogle
ModalitätenIn diesem Katalog-Snapshot nicht verifiziertText · Bild
KontextIn diesem Katalog-Snapshot nicht verifiziertDas Kontextfenster ist im Katalog nicht aufgeführt
EndpunktIn diesem Katalog-Snapshot nicht verifiziert/v1beta/models/gemini-3.1-flash-image:generateContent
AbrechnungIn diesem Katalog-Snapshot nicht verifiziert$0.5/$3 per 1M tokens

Vor der Integration die richtige Anfrage wählen

Prüfen Sie Workflows, aktuelle Kosten und den exakten Flatkey-Parametervertrag.

Live-Kostenschätzung

Berechnet aus den aktuellen Einstellungen und dem Live-Katalogpreis, sofern ein fester Stückpreis vorliegt.

Aktuelle Einstellung
1×
Live-Preis
$0.06
Geschätzte Anfrage
Nutzungsabhängiger Preis

Die Endabrechnung folgt Anfrage und Kontogruppe; Token- oder Staffelpreise ergeben keinen festen Schätzwert.

Workflows und Model ID

Nur verfügbare Workflows verwenden. Flatkey behält eine öffentliche ID; der Body wählt den Eingang.

Verfügbar

Text zu Bild

Neues Bild aus Text erzeugen.

Modell-ID
gemini-3.1-flash-image
Endpoint
/v1beta/models/gemini-3.1-flash-image:generateContent
Verfügbar

Referenzgeführtes Bild

Referenzen für Bearbeitung und Varianten nutzen.

Modell-ID
gemini-3.1-flash-image
Endpoint
/v1beta/models/gemini-3.1-flash-image:generateContent

Parameterkompatibilität

Werte aus derselben Konfiguration wie im Playground.

aspect_ratioSeitenverhältnis
Akzeptiert

1:1 · 2:3 · 3:2 · 3:4 · 4:3 · 4:5 · 5:4 · 9:16 · 16:9 · 21:9

Standard: 1:1
image_sizeGröße
Akzeptiert

1K · 2K · 4K

Standard: 1K
imageReferenzlimit
Akzeptiert

4 Dateien

Endpoint: /v1beta/models/gemini-3.1-flash-image:generateContent

Vom ersten Test bis Produktion

Nutzen Sie denselben Vertrag in Playground und API und behandeln Sie Validierung, Guthaben, Status und Ergebnis explizit.

Anfragezyklus

  1. 1

    Modell, Prompt, Referenzen und Ausgabe prüfen.

  2. 2

    Bildanfrage senden.

  3. 3

    Ergebnis oder asynchronen Task lesen.

  4. 4

    Datei und Metadaten speichern.

Produktionsprüfungen

Parametervalidierung

Nicht unterstützte Werte und Referenzen vorab blockieren.

Authentifizierung und Guthaben

Schlüssel, Guthaben, Limits und Gruppenpreise getrennt behandeln.

Abgelehnte Eingabe

Zu ersetzenden Prompt oder Inhalt klar benennen.

Fehler oder Timeout

Task-ID behalten, Wiederholungen begrenzen und Timeout nicht als Erfolg werten.

Prompt-Bibliothek

gemini-3.1-flash-image-Promptbeispiele für Bilderzeugung

Beginne mit einem gemini-3.1-flash-image-Prompt für Bilderzeugung und passe anschließend die im Playground angezeigten Anfragefelder an.

Spiel-UI und dynamischer Ausrüstungswechsel
Spiel-UI und dynamischer Ausrüstungswechsel

Generiert mit Image 2

Scene: A 16:9 futuristic game loadout frame shows a helmeted rider beside a black-and-orange motorcycle in a rainy industrial hangar. Blue-and-orange interface controls and a circular part-selection panel sit around the vehicle. Keep the rider, motorcycle geometry, wet floor reflections, lighting direction, and selected-part position fixed for a clean equipment swap. No readable words, logos, invented stats, or watermark. Composition and rendering: Deliver one 16:9 game-interface keyframe. Separate the character, held equipment and HUD into clear depth layers; keep slot spacing and icon scale consistent, with the selected item visually dominant. Preserve the scene-specific game art style. Let material edges catch the existing light without letting interface glow obscure the silhouette. Keep all equipment fully inside the frame. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Ähnliches erstellen
Hochrealistische TV-Sportsendungssimulation
Hochrealistische TV-Sportsendungssimulation

Scene: A poolside sports broadcast catches a swimmer in a blue cap during freestyle, with one arm entering the water and a sharp splash across the lane. Use a low pool-deck camera, blue water, lane markings, and abstract blue lower-third graphics without readable text. Keep swimmer direction, splash shape, and framing consistent; no real athletes, teams, logos, or watermark. Composition and rendering: Deliver one 16:9 broadcast still at the decisive instant. Use coherent perspective for the playing surface and equipment, readable separation between competitors, and a softer crowd behind the action. Keep the principal subject sharp, with directional blur limited to fast extremities and spray. Preserve the specified broadcast angle and reserve overlay areas clear of the action. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Ähnliches erstellen
Marken-TVC und nahtlose E-Commerce-Präsentation
Marken-TVC und nahtlose E-Commerce-Präsentation

Generiert mit Image 2

Scene: A metallic wireless-earbud charging case floats open above a glossy black surface while the two matching earbuds hover above their slots. Purple and cyan rim lights define the rounded metal, black interior, reflections, and empty dark background. Preserve the case, earbuds, hinge, highlights, and three-quarter camera angle. No readable branding, extra products, hands, or watermark. Composition and rendering: Deliver one 16:9 commercial product still. Keep the complete product silhouette inside generous crop-safe margins. Resolve edges, seams and material transitions precisely; shape highlights to describe volume without clipping bright surfaces or crushing dark details. Align reflections with the object and light source. Retain the stated camera angle and existing negative space; add no decorative props. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Ähnliches erstellen
Filmfigur und Storyboard-Regie aus mehreren Perspektiven
Filmfigur und Storyboard-Regie aus mehreren Perspektiven

Generiert mit Image 2

Scene: A cloaked figure crouches on a rain-slick elevated walkway beneath massive futuristic bridges. Cyan fog, magenta tower lights, railings, and wet reflections lead toward the distant city. Hold the figure's silhouette, facing direction, cloak edge, camera height, and neon light placement as a cinematic storyboard keyframe. No readable signs, logos, or watermark. Composition and rendering: Deliver one 16:9 storyboard keyframe, not a collage or an action sequence. Separate foreground, character plane and background through the existing light and atmospheric depth. Keep the stated pose and eyelines readable, and retain environmental landmarks for continuity. Match the described photographic, illustrated or puppet medium; give fabric and surfaces texture appropriate to that medium. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Ähnliches erstellen
Komödienszene und physisches Storytelling
Komödienszene und physisches Storytelling

Generiert mit Image 2

Scene: In a wet green park, a man in a coral-red raincoat and yellow boots struggles with an inverted rainbow umbrella in a gust of wind. His arms brace against the bent canopy while rain streaks through the trees and puddles reflect the bright colors. Keep the umbrella shape, body pose, wind direction, and safe footing clear; no injury, readable text, logos, or watermark. Composition and rendering: Deliver one 16:9 physical-comedy still at the described instant. Make the cause of the gag readable through body balance, grip and object spacing. Separate the reaction from the airborne props; retain believable gravity and contact points. Keep the face and important props sharp, with only restrained directional blur on fast edges. Preserve the stated lighting and room or stage layout. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Ähnliches erstellen
Restaurierung alter Fotos und historische Wiederbelebung
Restaurierung alter Fotos und historische Wiederbelebung

Generiert mit Image 2

Scene: A softly faded historical dock scene shows several workers repairing a large wooden boat at a riverside boatyard. Timber ribs, scaffolding, hand tools, smaller boats, and weathered work clothes fill the wide documentary frame. Restore the wood grain, riverbank structures, faces, and natural color aging without modern objects, readable signs, logos, captions, or watermark. Composition and restoration: Deliver one 16:9 archival-style still. Preserve the original framing, period-specific construction and restrained tonal range; retain monochrome, sepia or faded color as described. Recover modest detail in faces, clothing and architecture without synthetic sharpening. Keep fine grain and authentic aging consistent across the frame; repair damage without replacing historical features. Avoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above.

Ähnliches erstellen

Warum die gemini-3.1-flash-image-API

Warum gemini-3.1-flash-image über Flatkey nutzen?

Nutze ein Gateway für gemini-3.1-flash-image, Kontrollen und den restlichen Modellkatalog.

gemini-3.1-flash-image über eine API

Halte Modell-ID und Endpunkt von gemini-3.1-flash-image explizit und nutze denselben Flatkey-Schlüssel für andere Workloads.

Live-Katalogpreise

Sieh die aktuellen Abrechnungsdimensionen von gemini-3.1-flash-image vor dem Senden und bestätige die Endschätzung im Konto.

Praktische Modellübergabe

Teste einen gemini-3.1-flash-image-Prompt im öffentlichen Playground und übernimm dieselben Einstellungen in eine authentifizierte Integration.

Nutzungs- und Routingkontrollen

Zentralisiere Schlüssel, Kontingente und Routing für gemini-3.1-flash-image, ohne den providerseitigen Anwendungsablauf zu ändern.

API

gemini-3.1-flash-image API

Vier Wege mit demselben Schlüssel und Katalog. Wählen Sie einen ausführbaren Beispielweg.

Rufe Modelle über eine OpenAI-kompatible API auf. Kopiere ein ausführbares Beispiel für dein Modell und deine Sprache.
Nutzen Sie das vertraute OpenAI SDK mit Flatkey als Gateway.
Erstellen Sie Bilder und Videos direkt im Terminal. Ihr KI-Assistent steuert den Workflow.
Verbinden Sie Ihren Coding-Agenten mit einem Befehl und nutzen Sie Flatkey in Ihren bestehenden Projekten.
curl https://router.flatkey.ai/v1beta/models/gemini-3.1-flash-image:generateContent \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-***" \
  -d '{"model":"gemini-3.1-flash-image","contents":[{"role":"user","parts":[{"text":"Erstelle mit gemini-3.1-flash-image ein hochwertiges Produktbild: klare Komposition, präzises Licht, starker Motivfokus und realistische Details."}]}],"generationConfig":{"responseModalities":["TEXT","IMAGE"],"imageConfig":{"aspectRatio":"1:1","imageSize":"1K"}}}'
Dokumentation

Häufige Fragen

gemini-3.1-flash-image API
Fragen zu Preisen, Funktionen und Nutzung

Antworten zu Preisen, Funktionen, Endpunkten und Kataloglimits von gemini-3.1-flash-image.

Wofür wird gemini-3.1-flash-image verwendet?
gemini-3.1-flash-image (Nano Banana 2): Erzeuge Bilder, bearbeite Referenzen und verfeinere Designs über Flatkey. Das Beispiel nutzt Gemini contents/parts, keinen austauschbaren Images-API-Request.
Wie wird gemini-3.1-flash-image abgerechnet?
Eingabe /M: $0.5; Ausgabe /M: $3; Bildeingabe /M: $0.06. Die Karten zeigen aktuelle Flatkey-Tarife für Eingabe- und Ausgabetokens. Ein Tokenpreis ist kein Festpreis pro Bild: Einstellungen, Referenzen und Ausgabe beeinflussen den Verbrauch. Direkte Google-Preise und Freikontingente gelten nicht automatisch.
Welcher API-Endpunkt ruft gemini-3.1-flash-image auf?
POST /v1beta/models/gemini-3.1-flash-image:generateContent · gemini-3.1-flash-image
Bietet Flatkey alle in Googles Dokumentation genannten Funktionen?
Nein. Googles Modellspezifikation und der Flatkey-Routenvertrag haben unterschiedliche Geltungsbereiche. Nutze die hier unterstützten Felder; der Modellname garantiert weder Suche noch Anbieter-Tools oder alle offiziellen Eingabetypen.