AfbeeldingGoogleNieuw

Nano Banana 2.1

Google's nieuwste Gemini-afbeeldingsmodel

model: "nano-banana-2-1"

Modi

Eén model-id, elke modus hieronder. De velden die je verzendt bepalen de modus, en de prijs volgt de modus.

ModusBepaald doorTypische prijs
Tekst naar afbeeldingprompt
Voorbeeldverzoek
{
  "model": "nano-banana-2-1",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.073
Afbeelding bewerkenimage_url
Voorbeeldverzoek
{
  "model": "nano-banana-2-1",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.088

Invoer

Verplicht

Prompt

Optioneel
1

Number of Images

Optioneel

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.

Optioneel

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

Optioneel

Aspect Ratio

Optioneel

Seed

Geavanceerde opties (1)

Providerinstellingen buiten de hoofdbedieningen. Laat ze leeg om de standaardinstellingen van het model te gebruiken.

Optioneel

File format of the result.

Resultaat

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "nano-banana-2-1",
  "input": {}
}'