BildGoogleNeu

Nano Banana 2

Google Gemini-basierte Bildgenerierung

model: "nano-banana-2"

Modi

Eine Modell-ID, jeder Modus darunter. Die Felder, die Sie senden, wählen den Modus aus, und der Preis folgt dem Modus.

ModusAusgewählt durchTypischer Preis
Text zu Bildprompt
Beispielanfrage
{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.080
Bildbearbeitungimage_url
Beispielanfrage
{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.080

Eingabe

Erforderlich

Prompt

Optional
1

Number of Images

Optional

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

Optional

More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.

Optional

Aspect Ratio

Optional

Seed

Erweiterte Optionen (1)

Anbietereinstellungen jenseits der Hauptsteuerelemente. Lassen Sie diese leer, um die Standardwerte des Modells zu verwenden.

Optional

File format of the result.

Ergebnis

Nano Banana 2Beispielausgabe

Ein echtes Ergebnis dieses Modells. Führen Sie es aus, um Ihr Ergebnis hier zu sehen.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a full-body shot of a fantasy man, in their thirties, of Southeast Asian heritage, with fair skin, with hazel eyes, chestnut hair tied up in a top knot, and a muscular build, in a glass-walled office at golden hour, city skyline soft behind. Cinematic key lighting with atmospheric haze, richly detailed costume and materials, painterly realism, consistent character design"
  }
}'
Nano Banana 2 1Nano Banana 2 2Nano Banana 2 3Nano Banana 2 4Nano Banana 2 5Nano Banana 2 6