Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Nano Banana 2 Edit

Nano Banana 2 is Google's new state-of-the-art image generation and editing model
Dokumentasi API
DISKON 15%google/nano-banana-2/edit

Nano Banana 2 is Google's new state-of-the-art image generation and editing model

Coba model ini

Playground

Buka playground
Input

PNG, JPEG, WebP, or GIF · 20 MiB maximum each

The URLs of the images to use for image-to-image generation or image editing.
The text prompt to generate an image from.
The aspect ratio of the generated image. Leave empty to keep the aspect ratio of the input image.
The resolution of the image to generate.
Pengaturan lanjutan
The format of the generated image.
DISKON 15%
Hasil
Contoh
  1. 6ef1e332-af29-43c9-82db-b612324ca650.jpg

    Apa yang ingin Anda lakukan selanjutnya?

    Buka asli

Hasil contoh tersimpan. Tidak ada pembuatan baru yang diminta.

Estimasi run yang ditampilkan: $0.057. Biaya akhir mengikuti aturan penagihan model di bawah.

Preferensi manusia

Arena

Peringkat Elo dari voting buta berdampingan, dibandingkan dengan model gambar dan video lainnya.

Peringkat bersumber dari Artificial Analysis Arena

Papan peringkat
Pengeditan Gambar
Peringkat
#17 dari 85
Elo
1126 ±12
Selisih dari #1
−85

Arena pengeditan gambar: pengguna memilih yang lebih baik dari dua hasil edit pada gambar dan instruksi yang sama, tanpa melihat nama model.

  1. #12GPT Image 2 (high)OpenAIDi SandBase1140±12
  2. #13H3-ImageMiniMax1135±16
  3. #14H3-Image HighspeedMiniMax1132±16
  4. #15Seedream 5.0 ProByteDance SeedDi SandBase1132±12
  5. #16Muse ImageMeta1129±11
  6. #17Nano Banana 2 (Gemini 3.1 Flash Image)GoogleModel ini1126±12
  7. #18MAI-Image-2.5Microsoft AIDi SandBase1124±12
  8. #19MAI-Image-2.5-ProMicrosoft AIDi SandBase1124±12
  9. #20Krea 3 (Fast)Krea1122±13
  10. #21FLUX 3 ImageBlack Forest Labs1119±13

Nano Banana 2 Edit

Edit or combine images with Nano Banana 2, Google's fast image model. Send images with an instruction to restyle, retouch, swap objects, or merge several inputs into one scene.

Fields

FieldTypeDefaultNotes
imagesimage URL[], required—Images to edit or combine, Image 1, Image 2, …
promptstring, required—Up to 50,000 characters.
aspect_ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16 / 4:1 / 1:4 / 8:1 / 1:8—Omit to follow the first input image.
output_formatjpeg / pngpngOutput file format.
resolution0.5K / 1K / 2K / 4K1KSets the per-image rate.
enable_web_searchbooleanfalseGround the edit in Google Search results.
enable_image_searchbooleanfalseUse image search results as visual references.

Billing

$0.045 at 0.5K, $0.067 at 1K, $0.101 at 2K, and $0.151 at 4K per image, Google's list price. Input images are not metered. Turning on enable_web_search or enable_image_search adds $0.014 per request (charged once even if both are on).

Request0.5K1K2K4K
One image$0.045$0.067$0.101$0.151

Failed runs are not charged.

Prompting

  • Say which image is the base and what each other image contributes.
  • List what must not change.

Limits

  • One output image per request.

Also on SandBase

Other Nano Banana endpoints: google/nano-banana-pro, google/nano-banana-pro/edit, google/nano-banana-2, google/nano-banana-2-lite, google/nano-banana-2-lite/edit.