gemini-2.5-flash-image KI-Bild-API

Google stellt gemini-2.5-flash-image für Bilderzeugung bereit. Flatkey routet das Modell über /v1/images/generations. $0.24/$2 per 1M tokens.

Text zu BildReferenzgesteuertes Bild
Eingabe /M
$0.24/ 1 Mio. Token-20%$0.3/ 1 Mio. Token
Cache /M
$0.06/ 1 Mio. Token-20%$0.075/ 1 Mio. Token
Ausgabe /M
$2/ 1 Mio. Token-20%$2.5/ 1 Mio. Token
Anbieter
Google
Generator-Einstellungen · Playground (vor der Anmeldung bearbeiten)

Eingabe

EingabeaufforderungMehr anzeigen1003 / 10000
Schnell-Prompts
Referenzbilder
Generierung starten

Ausgabe

Vorschau
Bildvorschau

Generiert mit Image 2

Anfrageübersicht

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

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

Anfragevorschau
{
  "model": "gemini-2.5-flash-image",
  "contents": [
    {
      "role": "user",
      "parts": [
        {
          "text": "Scene: A restored black-and-white market street shows period vendors beside baskets of fruit and folded fabric, with stone buildings and mountains behind them. Preserve the era-appropriate clothing, stalls, architecture, film grain, and stable documentary composition while repairing scratches and contrast. Do not add modern objects, readable signs, logos, identifiable public figures, or watermark.\n\nComposition 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.\n\nAvoid: warped perspective, malformed anatomy, merged objects, inconsistent shadows, excessive sharpening and watermarks. Follow the scene-specific text and branding restrictions above."
        }
      ]
    }
  ],
  "generationConfig": {
    "responseModalities": [
      "TEXT",
      "IMAGE"
    ],
    "imageConfig": {
      "aspectRatio": "16:9"
    }
  }
}

API-Leistung

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

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

Durchschn. Anbieter-Verfügbarkeit
94.5%
letzte 30 Tage
Latenz
753ms
letzte 30 Tage
Anfragen
255
30-Tage-Fenster
Trend erfolgreicher Inferenzen

API-Aktivität

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

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

Anfragen
255
30-Tage-Fenster
Latenz
753ms
letzte 30 Tage
Verfügbarkeit
94.5%
letzte 30 Tage
Trend erfolgreicher InferenzenAktivität

gemini-2.5-flash-image Preise

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

Die Preise unten werden aus den Flatkey-Preisdaten für dieses Modell und den sichtbaren Gruppen berechnet, die unsere Pricing API zurückgibt.

Flatkey-Preis

Eingabe /M

Live-Katalogmodell
$0.24/ 1 Mio. Token$0.3/ 1 Mio. Token
Eingabe /M
$0.24/ 1 Mio. Token$0.3/ 1 Mio. Token
Cache /M
$0.06/ 1 Mio. Token$0.075/ 1 Mio. Token
Ausgabe /M
$2/ 1 Mio. Token$2.5/ 1 Mio. Token
Bildeingabe /M
$0.024/ 1 Mio. Token$0.03/ 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-2.5-flash-image:generateContent
Abrechnungsgrundlage
1M tokens
Ausgaben
1

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

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

gemini-2.5-flash-image für Bilderzeugung

Wandle ein schriftliches Briefing über /v1/images/generations in Ergebnisse für Bilderzeugung um.

Referenz-Workflows für gemini-2.5-flash-image

Nutze eine vorhandene Referenz, wenn die gemini-2.5-flash-image-Route Referenzmedien oder Kontext akzeptiert.

Kanalvarianten von gemini-2.5-flash-image

Passe ein Konzept an die Varianten für Shop, Kampagne oder Content-Pipeline an.

Produktionsübergabe von gemini-2.5-flash-image

Überführe ein freigegebenes Ergebnis aus der Prompt-Erkundung in einen wiederholbaren Flatkey-Workflow.

Vergleichen

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

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

FähigkeitVorherige Generationgemini-2.5-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/v1/images/generations
AbrechnungIn diesem Katalog-Snapshot nicht verifiziert$0.24/$2 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.024
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-2.5-flash-image
Endpoint
/v1beta/models/gemini-2.5-flash-image:generateContent
Verfügbar

Referenzgeführtes Bild

Referenzen für Bearbeitung und Varianten nutzen.

Modell-ID
gemini-2.5-flash-image
Endpoint
/v1beta/models/gemini-2.5-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
imageReferenzlimit
Akzeptiert

4 Dateien

Endpoint: /v1beta/models/gemini-2.5-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-2.5-flash-image-Promptbeispiele für Bilderzeugung

Beginne mit einem gemini-2.5-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 fantasy game loadout screen in mossy forest ruins. A hooded green archer stands centered with a bow; a circular equipment wheel sits around the character and alternate equipment silhouettes occupy the right panel. Keep the green-and-gold HUD, pose, ruins, and prop geometry fixed for an exact equipment-switch frame. 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

Generiert mit Image 2

Scene: A live basketball broadcast frame catches a blue-uniform player airborne for a dunk in a packed arena. Show the hoop, backboard, court lights, crowd depth, and an abstract blue-and-gold lower-third without readable text. Keep the camera angle, ball position, jersey colors, and contact-free action consistent; no real teams, athletes, 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 gray-and-black running shoe hangs at a three-quarter angle above a wet track. Its orange sole glows against a dark background while orange light trails echo the tread and the surface holds a restrained reflection. Preserve the shoe shape, lace pattern, sole, lighting, and empty copy space. 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 lone astronaut stands inside a glass biodome on a red desert planet, seen from behind among glowing bioluminescent plants. A hazy red landscape and distant mountains show through the curved glass. Hold the character silhouette, plant positions, cool interior light, and wide screen direction for storyboard continuity. No readable text, 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 bright modern kitchen, a surprised man in a light green overshirt holds an orange while paper sheets and cups burst through the air around him. Freeze the harmless cause-and-effect gag with believable trajectories, warm daylight, and clear spacing between the objects. Keep the pose and prop positions stable for a physical-comedy frame; no injury, logos, readable words, 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 restored black-and-white market street shows period vendors beside baskets of fruit and folded fabric, with stone buildings and mountains behind them. Preserve the era-appropriate clothing, stalls, architecture, film grain, and stable documentary composition while repairing scratches and contrast. Do not add modern objects, readable signs, logos, identifiable public figures, 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-2.5-flash-image-API

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

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

gemini-2.5-flash-image über eine API

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

Live-Katalogpreise

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

Praktische Modellübergabe

Teste einen gemini-2.5-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-2.5-flash-image, ohne den providerseitigen Anwendungsablauf zu ändern.

API

gemini-2.5-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-2.5-flash-image:generateContent \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-***" \
  -d '{"model":"gemini-2.5-flash-image","contents":[{"role":"user","parts":[{"text":"Erstelle mit gemini-2.5-flash-image ein hochwertiges Produktbild: klare Komposition, präzises Licht, starker Motivfokus und realistische Details."}]}],"generationConfig":{"responseModalities":["TEXT","IMAGE"],"imageConfig":{"aspectRatio":"1:1"}}}'
Dokumentation

Häufige Fragen

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

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

Wofür wird gemini-2.5-flash-image verwendet?
gemini-2.5-flash-image ist von Google für Bilderzeugung im Katalog aufgeführt; die Modalitäten sind: Text · Bild.
Wie wird gemini-2.5-flash-image abgerechnet?
gemini-2.5-flash-image zeigt derzeit $0.24/$2 per 1M tokens. Der anwendbare Tarif kann je nach Route, Konto und Anfrageeinstellungen variieren.
Welcher API-Endpunkt ruft gemini-2.5-flash-image auf?
Flatkey routet das Modell über /v1/images/generations. Setze model auf gemini-2.5-flash-image und nutze die unterstützten Felder.
Welche Kontext- oder Eingabelimits hat gemini-2.5-flash-image?
gemini-2.5-flash-image ist mit Das Kontextfenster ist im Katalog nicht aufgeführt aufgeführt. Weitere Limits hängen von Route und Konto ab; prüfe sie vor dem Produktionseinsatz.