Pricing
Compare models →Each run costs $0.038.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
imagesRequired | array | List of URLs of input images for editing. Up to 10 images can be provided.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.jpegpng"jpeg" |
README
Gemini 2.5 Flash Image Edit
Nano Banana AI delivers revolutionary image-to-image generation and editing with deep reasoning capabilities, outperforming competitors in accuracy, consistency.
Pricing
Each run costs $0.038.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Gemini 2.5 Flash Image Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/google/gemini-2.5-flash-image/edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"images": [
"https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/y719gn7k03oa.jpg"
],
"aspect_ratio": "1:1",
"output_format": "jpeg"
}Gemini 2.5 Flash Image Edit API — Frequently asked questions
What is the Gemini 2.5 Flash Image Edit API?
Gemini 2.5 Flash Image Edit is a Google model for image editing, exposed as a REST API on OpenSIAI. Nano Banana (Gemini 2.5 Flash Image) offers image-to-image generation and precise editing with deep reasoning for improved accuracy. 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 Gemini 2.5 Flash Image 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/gemini-2.5-flash-image/edit.
How much does Gemini 2.5 Flash Image Edit cost per run or per second?
Gemini 2.5 Flash Image 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 Gemini 2.5 Flash Image 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/gemini-2.5-flash-image/edit.
How long does Gemini 2.5 Flash Image Edit take to generate?
Reported generation time on OpenSIAI is around 20 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 Gemini 2.5 Flash Image 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.
