Pricing
Compare models →The price depends on the output resolution, the number of reference images, and whether web search or image search is on.
| Item | Cost |
|---|---|
| 1k output resolution (before reference images and search) | |
| 2k output resolution (before reference images and search) | |
| 4k output resolution (before reference images and search) | |
| Web search on (added) | + |
| Image search on (added) | + |
| Each reference image (added) | + |
Example Costs
| Output resolution | Number of reference images | Cost |
|---|---|---|
| 1k | 1 reference image | |
| 1k | 4 reference images | |
| 2k | 1 reference image | |
| 2k | 14 reference images | |
| 4k | 1 reference image |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
imagesRequired | array | List of URLs of input images for editing. The maximum number of images is 14.Items: 0–14JSON schema{
"items": {
"type": "string"
}
} |
aspect_ratio | string | The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.xxx-empty1:13:22:33:44:34:55:49:1616:921:91:44:11:88:1JSON schema{
"x-placeholder": "Select aspect ratio",
"x-clearable": true
} |
resolution | string | The resolution of the output image.1k2k4k"1k" |
enable_web_search | boolean | If enabled, the model will use web search to enhance the generation with real-time information.Default: false |
enable_image_search | boolean | If enabled, the model will use image search to enhance the generation with real-time information.Default: false |
output_format | string | The format of the output image.pngjpeg"png" |
README
Google Nano Banana 2.1 Edit
Nano Banana 2.1 Edit is Google's latest Nano Banana AI image editing model. Google reports that it outperforms its previous image models across the board, with notable leaps in visual design and subject consistency, tighter prompt adherence and cleaner text rendering — so edits keep people and products recognizable.
Why Choose This?
- Google's newest Nano Banana
Upgraded over Nano Banana 2 in visual design, subject consistency and prompt adherence.
- 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
Fourteen options: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1.
- Format choice
Export in PNG or JPEG format.
Parameters
| Parameter | Required | Description |
|---|---|---|
| images | Yes | Reference images to edit (max: 14, click "+ Add Item" to add more) |
| prompt | Yes | Text description of the desired edit |
| aspect_ratio | No | Aspect ratio: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1 |
| resolution | No | Output resolution: 1k (default), 2k, 4k |
| enable_web_search | No | Enable web search to enhance generation with real-time info (default: false) |
| enable_image_search | No | Enable image search to ground the generation in real reference images (default: false) |
| output_format | No | Output format: png (default), jpeg |
How to Use
- Upload reference images — add the images you want to edit (up to 14 images).
- Write your prompt — describe the change, then what must stay the same.
- Choose aspect ratio (optional) — select a preset or leave empty to follow the input.
- Select resolution — choose 1K, 2K, or 4K based on your needs.
- Choose output format — PNG or JPEG.
- Run — submit and download your edited image.
Pricing
The price depends on the output resolution, the number of reference images, and whether web search or image search is on.
| Item | Cost |
|---|---|
| 1k output resolution (before reference images and search) | |
| 2k output resolution (before reference images and search) | |
| 4k output resolution (before reference images and search) | |
| Web search on (added) | + |
| Image search on (added) | + |
| Each reference image (added) | + |
Example Costs
| Output resolution | Number of reference images | Cost |
|---|---|---|
| 1k | 1 reference image | |
| 1k | 4 reference images | |
| 2k | 1 reference image | |
| 2k | 14 reference images | |
| 4k | 1 reference image |
Best Use Cases
- Character Modification — Change clothing, setting, or style while keeping identity.
- Product Placement — Put a product into new scenes while keeping it accurate.
- Multi-reference Composition — Combine subjects, outfits and styles from several images.
- Text Editing — Modify or translate on-image text while keeping the design.
- Scene Adjustment — Change backgrounds, lighting, or environmental elements.
Pro Tips
- State the edit first, then what to keep: "replace the background with a beach at dusk, keep the person and lighting unchanged".
- Put the main subject first and refer to other references by position ("the jacket from image 2").
- Fewer reference images (1–3) give the most stable results for simple edits.
Notes
- Both images and prompt are required fields.
- Maximum reference images: 14.
- Each reference image adds
$0.002$0.0018 to the cost.
- Ensure your prompts comply with Google's Safety Guidelines.
Related Models
- Nano Banana 2.1 Text-to-Image — Generate images from text prompts.
- Nano Banana 2 Edit — Previous generation with a 0.5K option and Fast variants.
- Nano Banana Pro Edit — Pro tier editing.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Nano Banana 2.1 Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/google/nano-banana-2.1/edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "Edit the first image by placing the subject into the atmosphere of the second image while keeping her face, hairstyle, pose, and clothing recognizable. Change the background to a neon-lit rainy street at night, add realistic reflections on the pavement, and adjust the lighting so the colored signs cast subtle pink and blue highlights on her skin and jacket. Preserve natural skin texture and a photorealistic look. Add a small storefront sign in the background that reads \"OPEN LATE\".",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/261014/default/wshq7uuyz4rr.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/261014/default/vejhu1chiaoy.jpeg"
],
"aspect_ratio": "1:1",
"resolution": "1k",
"enable_web_search": false,
"enable_image_search": false,
"output_format": "png"
}Nano Banana 2.1 Edit API — Frequently asked questions
What is the Nano Banana 2.1 Edit API?
Nano Banana 2.1 Edit is a Google model for image editing, exposed as a REST API on OpenSIAI. Google Nano Banana 2.1 Edit is the latest Nano Banana image editing model, with gains in visual design, subject consistency and prompt adherence, up to 14 reference images and 1K to 4K output. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Nano Banana 2.1 Edit API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/google/nano-banana-2.1/edit.
How much does Nano Banana 2.1 Edit cost per run or per second?
Nano Banana 2.1 Edit starts at $0.036 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Nano Banana 2.1 Edit accept?
Key inputs: prompt, images, aspect_ratio, resolution, enable_image_search, enable_web_search. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/google/nano-banana-2.1/edit.
How long does Nano Banana 2.1 Edit take to generate?
Reported generation time on OpenSIAI is around 48 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Nano Banana 2.1 Edit outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Google). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
