BildeGoogleNy

Nano Banana 2.1

Googles nyeste Gemini-bildmodell

model: "nano-banana-2-1"

Moduser

Én modell-ID, hver modus nedenfor. Feltene du sender velger modusen, og prisen følger modusen.

ModusValgt avTypisk pris
Tekst til bildeprompt
Eksempel på forespørsel
{
  "model": "nano-banana-2-1",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.073
Bilderedigeringimage_url
Eksempel på forespørsel
{
  "model": "nano-banana-2-1",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.088

Inndata

Påkrevd

Prompt

Valgfritt
1

Number of Images

Valgfritt

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.

Valgfritt

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

Valgfritt

Aspect Ratio

Valgfritt

Seed

Avanserte alternativer (1)

Leverandørinnstillinger utover hovedkontrollene. La dem være tomme for å bruke modellens standarder.

Valgfritt

File format of the result.

Resultat

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": {}
}'