ImejGoogleBaharu

Nano Banana 2

Penjanaan imej yang dikuasakan oleh Google Gemini

model: "nano-banana-2"

Mod

Satu ID model, setiap mod di bawah. Medan yang anda hantar memilih mod, dan harga mengikuti mod.

ModDipilih olehHarga biasa
Teks ke imejprompt
Contoh permintaan
{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.080
Edit imejimage_url
Contoh permintaan
{
  "model": "nano-banana-2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.080

Input

Diperlukan

Prompt

Pilihan
1

Number of Images

Pilihan

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.

Pilihan

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

Pilihan

Aspect Ratio

Pilihan

Seed

Pilihan lanjutan (1)

Tetapan penyedia di luar kawalan utama. Biarkan kosong untuk menggunakan nilai lalai model.

Pilihan

File format of the result.

Hasil

Nano Banana 2Contoh output

Hasil sebenar daripada model ini. Jalankannya untuk melihat hasil anda di sini.

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