GambarGoogleBaru

Nano Banana 2.1

Model gambar Gemini terbaru dari Google

model: "nano-banana-2-1"

Mode

Satu ID model, setiap mode di bawah. Kolom yang Anda kirimkan memilih mode, dan harga mengikuti mode.

Mode pembuatanDipilih olehHarga khas
Teks ke gambarprompt
Contoh permintaan
{
  "model": "nano-banana-2-1",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.073
Edit gambarimage_url
Contoh permintaan
{
  "model": "nano-banana-2-1",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.088

Input

Diperlukan

Prompt

Opsional
1

Number of Images

Opsional

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.

Opsional

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

Opsional

Aspect Ratio

Opsional

Seed

Opsi lanjutan (1)

Pengaturan penyedia di luar kontrol utama. Biarkan kosong untuk menggunakan default model.

Opsional

File format of the result.

Hasil

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