GörüntüGoogleYeni

Nano Banana 2.1

Google'ın en yeni Gemini görüntü modeli

model: "nano-banana-2-1"

API belgeleriAracılar için belgeler

Modlar

Bir model kimliği, aşağıdaki tüm modlar. Gönderdiğiniz alanlar modu seçer ve fiyat modu takip eder.

ModŞu şekilde seçilirTipik fiyat
Metinden görüntüyeprompt
Örnek istek
{
  "model": "nano-banana-2-1",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.073
Görüntü düzenlemeimage_url
Örnek istek
{
  "model": "nano-banana-2-1",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.088

Giriş

Gerekli

Prompt

İsteğe bağlı
1

Number of Images

İsteğe bağlı

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.

İsteğe bağlı

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

İsteğe bağlı

Aspect Ratio

İsteğe bağlı

Seed

Gelişmiş seçenekler (1)

Ana kontrollerin ötesindeki sağlayıcı ayarları. Modelin varsayılan ayarlarını kullanmak için boş bırakın.

İsteğe bağlı

File format of the result.

Sonuç

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