Pricing
Compare models →| Output Images | Price |
|---|---|
| 1 | $0.04 |
Input schema
| Parameter | Type | Description |
|---|---|---|
imagesRequired | array | Input image URLs for editing. The maximum number of images is 14.Items: 0–14JSON schema{
"items": {
"type": "string"
}
} |
promptRequired | string | Edit instruction describing how to transform the input image.JSON schema{
"x-rows": 4
} |
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
} |
output_format | string | Format of the edited image.pngjpeg"png" |
README
Google Nano Banana 2 Lite Edit
Google Nano Banana 2 Lite Edit transforms uploaded images using natural-language instructions with a fast, lightweight image editing model. Upload one or more images, describe the edit you want, choose an aspect ratio and output format, and receive the edited image URL in the standard OpenSI prediction response.
Why Choose This?
- Instruction-based image editing
Edit input images by describing the desired change in natural language.
- Multiple image references
Provide one or more images to guide the edit workflow.
- Flexible aspect ratios
Choose common square, portrait, landscape, and wide-format aspect ratio presets.
- Simple editing controls
The public form focuses on images, prompt, aspect_ratio, and output_format.
- Single-image output
Each request generates one edited image for predictable cost and behavior.
Parameters
| Parameter | Required | Description |
|---|---|---|
| images | Yes | Input image URLs for editing. |
| prompt | Yes | Edit instruction describing how to transform the input image. |
| aspect_ratio | No | Output aspect ratio preset. If omitted, the ratio is determined from the input image. |
| output_format | No | Output image format: png or jpeg. Default: png. |
| enable_sync_mode | No | Wait for the result to be generated and uploaded before returning the response. API only. Synchronous requests may hit timeouts because Google inference time can fluctuate. Default: false. |
| enable_base64_output | No | Return output as a BASE64 string instead of a URL. API only. Default: false. |
How to Use
- Upload images — Provide one or more input images for editing.
- Write your edit prompt — Describe what should change and what should stay the same.
- Choose aspect ratio — Select a preset, or leave it unset to use the input image's ratio.
- Choose output format — Select
pngorjpegdepending on your workflow.
- Submit — Generate the edited image and retrieve the output URL.
Pricing
| Output Images | Price |
|---|---|
| 1 | $0.04 |
Best Use Cases
- Photo editing — Change backgrounds, style, lighting, mood, or visual details.
- Product visuals — Refine source assets for marketing, ecommerce, and product presentation.
- Creative iteration — Try different edit prompts on the same source images.
- Reference-based edits — Use multiple uploaded images as references for more guided edits.
- Content production — Generate polished edited assets for social media, campaigns, thumbnails, and design workflows.
Pro Tips
- Use clear edit instructions that describe both what should change and what should remain unchanged.
- Upload sharp images with the main subject clearly visible.
- Use multiple images when you need stronger reference guidance.
- Leave
aspect_ratiounset to use the input image's ratio.
- Use
pngfor higher-quality general output.
- Use
jpegfor smaller file sizes.
Related Models
- Nano Banana 2 Lite Text-to-Image — Generate images directly from text prompts with Nano Banana 2 Lite.
- Nano Banana 2 Lite Edit — Edit existing images with text instructions using Nano Banana 2 Lite.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Google Nano Banana Lite Image Editing API example
The catalog lists POST https://api.opensi.com.ai/api/v3/google/nano-banana-2-lite/edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"images": [
"https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/wu2h1sis58lx.jpg"
],
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"aspect_ratio": "1:1",
"output_format": "png"
}Google Nano Banana Lite Image Editing API — Frequently asked questions
What is the Nano Banana 2 Lite Edit API?
Nano Banana 2 Lite Edit is a Google model for image editing, exposed as a REST API on OpenSIAI. Google Nano Banana 2 Lite Edit transforms uploaded images with text instructions, supporting fast prompt-guided image editing, visual refinements, and creative changes with low latency. 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 Lite 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-lite/edit.
How much does Nano Banana 2 Lite Edit cost per run or per second?
Nano Banana 2 Lite Edit starts at $0.04 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 Lite 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-2-lite/edit.
How long does Nano Banana 2 Lite Edit take to generate?
Reported generation time on OpenSIAI is around 31 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 Lite 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.
