WaveSpeed.ai
ホーム/探索/Google Models/google/nano-banana-2/edit
image-to-image

image-to-image

Google Nano Banana 2 Edit

google/nano-banana-2/edit

Google Nano Banana 2 Edit (Gemini 3.1 Flash Image) enables advanced image editing with 4K-capable output, fast iteration, and precise instruction following. Supports text translation, localization within images, and maintains subject consistency during edits. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Input

Hint: You can drag and drop a file or click to upload

preview
If set to true, the function will wait for the result to be generated and uploaded before returning the response. It allows you to get the result directly in the response. This property is only available through the API.
If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.

Idle

Change the man to a woman, and hold a digital-style banana.

このリクエストには1回あたりで$0.08の費用がかかります。

$1でおよそ12回実行できます。

もうひとつお知らせ:

サンプルすべて表示

Change the man to a woman, and hold a digital-style banana.
Change the language to Japanese.
Change to postmortem style.
Take a group photo of the people in Figure 1 and Figure 2.

README

Google Nano Banana 2 Edit

Nano Banana 2 Edit (Gemini 3.1 Flash Image) is Google’s advanced AI-powered image editing and generation model, designed to make visual transformation as intuitive as describing it in words. Built on Google’s cutting-edge computer vision and generative research, it combines precision, flexibility, and semantic awareness for professional-grade editing.

Why Choose This?

  • Natural language editing Modify images using simple text instructions — the model understands context and relationships.

  • Multi-image reference Upload up to 14 reference images for complex edits and compositions.

  • Multi-resolution support Output in 1K, 2K, or 4K resolution based on your needs.

  • Flexible aspect ratios Multiple options including 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, and 21:9.

  • Prompt Enhancer Built-in tool to automatically improve your edit descriptions.

  • Format choice Export in PNG or JPEG format.

Parameters

ParameterRequiredDescription
imagesYesReference images to edit (max: 14, click "+ Add Item" to add more)
promptYesText description of the desired edit
aspect_ratioNoAspect ratio: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9
resolutionNoOutput resolution: 1k (default), 2k, 4k
output_formatNoOutput format: png (default), jpeg

How to Use

  1. Upload reference images — add the images you want to edit (up to 14 images).
  2. Write your prompt — describe the edit clearly (e.g., "Change the man to a woman").
  3. Choose aspect ratio (optional) — select a preset or leave empty for default.
  4. Select resolution — choose 1K, 2K, or 4K based on your needs.
  5. Choose output format — PNG for transparency support, JPEG for smaller file size.
  6. Use Prompt Enhancer (optional) — click to automatically refine your description.
  7. Run — submit and download your edited image.

Pricing

ResolutionCost
1k$0.08
2k$0.08
4k$0.16

Best Use Cases

  • Character Modification — Change attributes like gender, age, clothing, or appearance.
  • Object Replacement — Swap elements within images while preserving context.
  • Style Transfer — Apply different visual styles to existing images.
  • Text Editing — Modify on-image text while maintaining design consistency.
  • Scene Adjustment — Change backgrounds, lighting, or environmental elements.

Pro Tips

  • Use clear, specific edit instructions for best results (e.g., "Change the man to a woman" rather than "modify the person").
  • Start with fewer reference images (1–3) for simpler edits.
  • More reference images can help with complex compositions but may affect stability.
  • 2K offers the best value — same price as 1K with higher resolution.
  • Try the Prompt Enhancer to automatically improve your descriptions.

Notes

  • Both images and prompt are required fields.
  • Maximum reference images: 14 (recommended: fewer images for better stability).
  • If aspect_ratio is not selected, the model uses a default ratio.
  • 4K resolution costs 2× the standard rate.
  • Ensure your prompts comply with Google's Safety Guidelines.

Related Models