Pricing
Compare models →- $0.038 per image
- Commercial use allowed
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 10.Items: 0–10JSON 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:9JSON schema{
"x-placeholder": "Select aspect ratio",
"x-clearable": true
} |
output_format | string | The format of the output image.pngjpeg"png" |
README
Google Nano-Banana Edit
Nano-Banana Edit 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.
Try the New Version of Nano Banana!
🌟 Why it stands out
- Natural Language Editing
Modify images using simple text instructions — no masking, layering, or manual tools required.
- Context-Aware Understanding
Accurately interprets scene structure, spatial relationships, and object semantics for realistic results.
- Style and Tone Preservation
Keeps lighting, shadows, and texture consistent with the original image while applying changes seamlessly.
- High Precision Control
Excels at fine-grained edits such as color adjustments, object replacement, or composition shifts with minimal distortion.
- Creative Versatility
Suitable for concept art, photography, advertising design, and everyday content creation.
⚙️ How to use
- Input: existing image + text prompt
- Output: edited image (JPEG/PNG/WEBP)
- Size: 1:1, 4:3, 16:9, 21:9, and so on.
- Supports style transfer, relighting, background replacement, and object modification
- Works with natural prompts like:
- *“Replace the cloudy sky with a clear sunset.”*
- *“Add soft studio lighting and a modern background.”*
- *“Turn the model’s outfit into a formal business suit.”*
💰 Pricing
- $0.038 per image
- Commercial use allowed
💡 Best Use Cases
- Marketing & Branding — Update campaign visuals without reshooting.
- Product Photography — Adjust materials, lighting, or layout instantly.
- Social Media & Content Creation — Generate multiple variations with minimal effort.
- Artistic Design — Experiment with colors, styles, and compositions effortlessly.
📝 Notes
Please ensure your prompts comply with Google’s Safety Guidelines.
If an error occurs, review your prompt for restricted content, adjust it, and try again.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Nano Banana Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/google/nano-banana/edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "Replace the background with a bright, modern studio setting and enhance the overall color grading to feel clean and premium. Keep the main subject unchanged, improve sharpness slightly, remove small distractions, and apply a soft natural shadow so the final image looks realistic and polished.",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/24/bccc3613a9c9.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/24/bf51d50dddd3.jpeg"
],
"aspect_ratio": "1:1",
"output_format": "png"
}Nano Banana Edit API — Frequently asked questions
What is the Nano Banana Edit API?
Nano Banana Edit is a Google model for image editing, exposed as a REST API on OpenSIAI. Nano-Banana is an advanced image generation and editing model that produces photorealistic or stylized visuals and performs precise inpainting, outpainting, and background replacement. 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 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/edit.
How much does Nano Banana Edit cost per run or per second?
Nano Banana Edit starts at $0.038 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 Edit accept?
Key inputs: prompt, images, aspect_ratio, output_format. 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/edit.
How long does Nano Banana Edit take to generate?
Reported generation time on OpenSIAI is around 21 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 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.
