ImagineGoogleNou

Nano Banana 2

Generare imagine alimentată de Google Gemini

model: "nano-banana-2"

Moduri

Un ID model, fiecare mod mai jos. Câmpurile pe care le trimi aleg modul, iar prețul urmează modul.

ModSelectat dePreț tipic
Text în imagineprompt
Exemplu de cerere
{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.080
Editare imagineimage_url
Exemplu de cerere
{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.080

Intrare

Obligatoriu

Prompt

Opțional
1

Number of Images

Opțional

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.

Opțional

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

Opțional

Aspect Ratio

Opțional

Seed

Optiuni avansate (1)

Setari ale furnizorului dincolo de comenzile principale. Lasa-le goale pentru a folosi valorile implicite ale modelului.

Opțional

File format of the result.

Rezultat

Nano Banana 2Exemplu de rezultat

Un rezultat real din acest model. Rulează-l pentru a vedea aici al tău.

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