Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Nano Banana 2 Edit

Nano Banana 2 is Google's new state-of-the-art image generation and editing model
Docs da API
15% de descontogoogle/nano-banana-2/edit

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

Testar o modelo

Playground

Abrir playground
Entrada

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.
Configurações avançadas
The format of the generated image.
15% DE DESCONTO
Resultado
Exemplo
  1. 6ef1e332-af29-43c9-82db-b612324ca650.jpg

    O que você gostaria de fazer em seguida?

    Abrir original

Resultado do exemplo salvo. Nenhuma nova geração foi solicitada.

Estimativa de execução exibida: $0.057. As cobranças finais seguem as regras de cobrança do modelo abaixo.

Preferência humana

Arena

Classificações Elo de votos cegos lado a lado, comparadas com outros modelos de imagem e vídeo.

Classificações obtidas de Artificial Analysis Arena

Classificação
Edição de imagem
Posição
#17 de 85
Elo
1126 ±12
Diferença para o #1
−85

Arena de edição de imagem: as pessoas escolhem a melhor de duas edições da mesma imagem e instrução, sem ver os nomes dos modelos.

  1. #12GPT Image 2 (high)OpenAINo SandBase1140±12
  2. #13H3-ImageMiniMax1135±16
  3. #14H3-Image HighspeedMiniMax1132±16
  4. #15Seedream 5.0 ProByteDance SeedNo SandBase1132±12
  5. #16Muse ImageMeta1129±11
  6. #17Nano Banana 2 (Gemini 3.1 Flash Image)GoogleEste modelo1126±12
  7. #18MAI-Image-2.5Microsoft AINo SandBase1124±12
  8. #19MAI-Image-2.5-ProMicrosoft AINo 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.