# google/nano-banana-2-edit

![google](<https://img.modellix.ai/modelix-models-image/20260416/google-color.png?v=1&w=640&h=640>)[Docs](<https://docs.modellix.ai/google/nano-banana-2-edit>)

[Schema](<https://www.modellix.ai/models/google/nano-banana-2-edit/api_schema>)

### Google's fast image editor for style changes, quick revisions, and frames taken from a video. It uses up to 14 reference images and returns a result at 512, 1K, 2K, or 4K.

~~Official price: $0.0450\~$0.1510/img~~$0.0405\~$0.1359/img

image-to-image

## README

## What Nano Banana 2 Edit Does

Nano Banana 2 Edit is a high-speed image-editing model that rapidly modifies existing images — or extracts and edits frames from a video — based on natural-language text prompts. It is built for fast creative edits and style transfer rather than meticulous, high-end retouching.

## Key Features

- **Prompt-Based Editing:** Transforms images using plain-language instructions, no manual masking required.
- **Image & Video Inputs:** Accepts up to 14 image URLs, or a video (HTTPS, max 15 MB) to extract and edit frames from.
- **Wide Aspect-Ratio Support:** Offers 14 aspect ratios from 1:1 and 16:9 to extreme formats like 8:1, 4:1, and 21:9.
- **Selectable Resolution:** Supports 512, 1K, 2K, and 4K output sizes.
- **Video Format Flexibility:** Handles mp4, mpeg, mov, avi, wmv, and flv via `videoMimeType`.
- **Asynchronous Architecture:** Uses a “Create Task → Poll Result” API workflow for scalable integration.

## How to Use Nano Banana 2 Edit

1. Provide at least one input — an `image` array (up to 14 URLs) or a `video` URL (HTTPS, max 15 MB).
2. Write a prompt describing the edit, transformation, or style change you want.
3. Submit a `POST` request to the `/api/v1/google/nano-banana-2-edit` endpoint with your input and `prompt`, plus optional `aspectRatio`, `imageSize`, and `videoMimeType`.
4. Receive a `task_id` with a “pending” or “processing” status.
5. Poll `GET /api/v1/tasks/{task_id}` and download the edited image once the task completes.

## Best Use Cases

- **Rapid Style Transfer:** Quickly restyle images into new looks and aesthetics.
- **Fast Creative Edits:** Make quick background, lighting, or composition changes on the fly.
- **Frame Extraction & Editing:** Pull a frame from a video and transform it with a prompt.
- **Social & Marketing Content:** Produce edited variations across many aspect ratios for posts and ads.

## Tips for Better Results

- **Don’t Use It for Meticulous Retouching:** For high-end photorealistic retouching, choose a model built for fidelity — this one prioritizes speed.
- **Be Specific About the Edit:** State clearly what should change and what should stay the same.
- **Mind the Video Limit:** Keep video inputs under 15 MB and use a supported `videoMimeType` (default mp4).
- **Match Aspect Ratio to Placement:** Pick the output `aspectRatio` that fits the final destination before editing.
- **Iterate Small, Finalize Large:** Edit at 512 or 1K for fast feedback, then re-run at 2K or 4K for the final asset.

## Attributes

- Provider: [google](<https://www.modellix.ai/providers/google.md>)
- Category: [Image Editing](<https://www.modellix.ai/category/image-to-image.md>)

### Series

- [Nano Banana](<https://www.modellix.ai/series/nano-banana.md>)

### Collections

- [AI Style Transfer](<https://www.modellix.ai/collections/ai-style-transfer.md>)
- [Image Upscale](<https://www.modellix.ai/collections/image-upscale.md>)

## Parameters

| Name | Description | Type | Required | Enums |
| --- | --- | --- | --- | --- |
| prompt | Editing instruction describing the desired transformation | string | Yes | \- |
| aspectRatio | Output image aspect ratio | string | No | `1:1`, `1:4`, `1:8`, `2:3`, `3:2`, `3:4`, `4:1`, `4:3`, `4:5`, `5:4`, `8:1`, `9:16`, `16:9`, `21:9` |
| image | Input image URLs. At least one of image or video must be provided. Supports up to 14 images, or up to 10 images when video is also provided. | string\[\] | No | \- |
| imageSize | Output image resolution | string | No | `512`, `1K`, `2K`, `4K` |
| video | Input video URL. At least one of image or video must be provided. Must be a publicly accessible HTTPS URL without cookies, authentication, or custom headers. Maximum file size: 15 MB. | string | No | \- |
| videoMimeType | MIME type of the input video. Requires video. | string | No | `video/mp4`, `video/mpeg`, `video/mpg`, `video/mpegps`, `video/mov`, `video/avi`, `video/wmv`, `video/flv` |

## Pricing

Input image ($/img): 0.0009

| Dimension | Pricing ($/img) |
| --- | --- |
| imageSize: 512 | 0.0405 |
| imageSize: 1K | 0.0603 |
| imageSize: 2K | 0.0909 |
| imageSize: 4K | 0.1359 |

## Related Models

- [google/nano-banana-2.1-edit](<https://www.modellix.ai/models/google/nano-banana-2.1-edit.md>): Google’s fast image editor for posters, product shots, and scenes that have to stay consistent. It edits up to 14 reference images, or a video together with images, at 1K, 2K, or 4K, with stronger character consistency and text rendering than Nano Banana 2.
- [google/nano-banana-2.1](<https://www.modellix.ai/models/google/nano-banana-2.1.md>): Google’s fast text-to-image model for high-volume production, readable posters and diagrams, and rapid iteration. It keeps Flash-level speed at 1K, 2K, and 4K, with stronger visual quality, text rendering, and real-world knowledge than Nano Banana 2.
- [google/nano-banana-2-lite-edit](<https://www.modellix.ai/models/google/nano-banana-2-lite-edit.md>): Google’s fast image editor for high-volume style changes and quick revisions. It edits up to 14 images, or a video together with images, and returns a 1K result.
- [google/nano-banana-2-lite](<https://www.modellix.ai/models/google/nano-banana-2-lite.md>): Google’s fastest text-to-image model for high-volume drafts, thumbnails, and stylized stills. It returns a 1K image, including vertical 9:16 and ultrawide 21:9 frames.
- [google/nano-banana-pro-edit](<https://www.modellix.ai/models/google/nano-banana-pro-edit.md>): Google’s premium image editor for detailed creative changes, background replacements, and style work. It uses up to 14 reference images and returns a result at 1K, 2K, or 4K.
- [google/nano-banana-edit](<https://www.modellix.ai/models/google/nano-banana-edit.md>): Google’s fast image editor for straightforward instruction edits. It uses 1 to 3 images together as the reference for the change.
- [google/nano-banana-2](<https://www.modellix.ai/models/google/nano-banana-2.md>): Google’s fast text-to-image model for high-volume drafts, stylized graphics, and readable posters. It renders at 512, 1K, 2K, or 4K, including extra-wide and extra-tall frames.
- [google/nano-banana-pro](<https://www.modellix.ai/models/google/nano-banana-pro.md>): Google’s premium text-to-image model for professional assets, brand layouts, and complex instructions. It renders at 1K, 2K, or 4K, with precise text and consistent subjects.
- [google/nano-banana](<https://www.modellix.ai/models/google/nano-banana.md>): Google’s fast text-to-image model for quick sketches, stylized ideas, and early visual drafts, in square, portrait, or widescreen frames.
- [bytedance/seedream-5.0-lite-edit](<https://www.modellix.ai/models/bytedance/seedream-5.0-lite-edit.md>): ByteDance’s reasoning image editor for instruction-based changes across several references. It uses 1 to 14 images and can return a set of related results at 2K or 3K.
- [kling/kling-v3-i2i](<https://www.modellix.ai/models/kling/kling-v3-i2i.md>): Kling’s image-editing model for style changes and prompt-guided edits from one reference image. It returns up to 9 images at 1K or 2K, including vertical 9:16 and ultrawide 21:9 frames.
- [alibaba/wan2.7-image-pro-edit](<https://www.modellix.ai/models/alibaba/wan2.7-image-pro-edit.md>): Alibaba’s image editor for multi-reference changes and a connected set of results. It uses 1 to 9 images and returns results at up to 2K, including a set of up to 12 related frames.
- [xai/grok-imagine-image-edit](<https://www.modellix.ai/models/xai/grok-imagine-image-edit.md>): xAI’s image editor for fast restyles, quick variations, and lightweight prompt-guided changes. It edits one to three source images at 1K or 2K.
- [xai/grok-imagine-image-quality-edit](<https://www.modellix.ai/models/xai/grok-imagine-image-quality-edit.md>): xAI’s higher-fidelity image editor for detailed restyles and prompt-guided changes that keep fine texture. It edits one to three source images at 1K or 2K.
- [pixverse/video-restyle](<https://www.modellix.ai/models/pixverse/video-restyle.md>): PixVerse’s video restyle model for giving existing footage a new look, such as felt, origami, ukiyo-e, clay, or a style described in words. The motion stays while the picture is re-rendered.
- [xai/grok-imagine-video-edit](<https://www.modellix.ai/models/xai/grok-imagine-video-edit.md>): xAI’s video editor for prompt-guided changes such as restyles, wardrobe, and props, while keeping the rest of the clip close to the source. The result keeps the source duration and shape, up to 720p.
- [bytedance/seedream-5.0-pro-edit](<https://www.modellix.ai/models/bytedance/seedream-5.0-pro-edit.md>): ByteDance’s image editor for precise changes to one picture, including layout, color, and a marked region. It returns one result at up to 2K.
- [bytedance/seedream-5.0-pro-multi-reference](<https://www.modellix.ai/models/bytedance/seedream-5.0-pro-multi-reference.md>): ByteDance’s multi-reference image model for a scene that keeps characters, objects, and style consistent. It uses 2 to 10 reference images and returns one result at up to 2K.
- [alibaba/qwen-image-3.0-pro-edit](<https://www.modellix.ai/models/alibaba/qwen-image-3.0-pro-edit.md>): Alibaba’s image editor for precise changes to dense layouts and small text. It uses 1 to 3 reference images and can return up to six results at up to 2K.
- [microsoft/mai-image-2.6-edit](<https://www.modellix.ai/models/microsoft/mai-image-2.6-edit.md>): Microsoft’s image-editing model for targeted object changes, layout updates, text cleanup, and photorealistic retouching on one image. It keeps the rest of the composition in place.
- [microsoft/mai-image-2.6-flash-edit](<https://www.modellix.ai/models/microsoft/mai-image-2.6-flash-edit.md>): Microsoft’s faster image-editing model for high-volume retouching, object changes, and text cleanup on one image, with lower latency than MAI Image 2.6 Edit. It keeps the rest of the composition in place.
- [openai/gpt-image-2.5-flare-edit](<https://www.modellix.ai/models/openai/gpt-image-2.5-flare-edit.md>): OpenAI’s fast image-editing model for everyday retouching, product changes, and masked local edits. It works from 1 to 16 reference images at 1K, 2K, or 4K, including transparent backgrounds, with lower latency than GPT Image 2 Edit.
- [openai/gpt-image-2.5-sunburst-edit](<https://www.modellix.ai/models/openai/gpt-image-2.5-sunburst-edit.md>): OpenAI’s most capable image-editing model for campaign changes, product retouching, and masked local edits. It works from 1 to 16 reference images at 1K, 2K, or 4K, including transparent backgrounds.
- [bytedance/seedream-5.5-edit](<https://www.modellix.ai/models/bytedance/seedream-5.5-edit.md>): ByteDance’s image editing model for consistent visual revisions, reference-guided compositions, and reusable design layers. It blends multiple references, produces transparent assets, and separates a single image into layers with rich-text recognition for regular text.
- [openai/gpt-image-2-edit](<https://www.modellix.ai/models/openai/gpt-image-2-edit.md>): OpenAI’s image-editing model for high-resolution retouching, style changes, and masked local edits. It works from 1 to 16 source images and can return sizes up to 4K, including 3840x2160.

## Related Resources

[**Nano Banana**](<https://www.modellix.ai/series/nano-banana.md>)

Series

[**AI Style Transfer**](<https://www.modellix.ai/collections/ai-style-transfer.md>)

Collection

[**Image Upscale**](<https://www.modellix.ai/collections/image-upscale.md>)

Collection

[**google/nano-banana-2.1-edit**](<https://www.modellix.ai/models/google/nano-banana-2.1-edit.md>)

image-to-image

[**google/nano-banana-2.1**](<https://www.modellix.ai/models/google/nano-banana-2.1.md>)

text-to-image

[**google/nano-banana-2-lite-edit**](<https://www.modellix.ai/models/google/nano-banana-2-lite-edit.md>)

image-to-image

[**google/nano-banana-2-lite**](<https://www.modellix.ai/models/google/nano-banana-2-lite.md>)

text-to-image

[**google/nano-banana-pro-edit**](<https://www.modellix.ai/models/google/nano-banana-pro-edit.md>)

image-to-image
