Pricing
Compare models →Pricing varies by quality and resolution.
Prices below are per run with 1 input image (images count = 1). Rows give the quality and the number of input images; columns give the output resolution.
| Quality, input images | 1k | 2k | 4k |
|---|---|---|---|
low, 1 input image (images count = 1) | |||
medium, 1 input image (images count = 1) | |||
high, 1 input image (images count = 1) |
Each additional input image beyond the first adds $0.012 $0.0114 (the difference between a run with 2 input images, images count = 2, and a run with 1 input image, images count = 1).
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
imagesRequired | array | List of URLs of input images for editing.Items: 0–16JSON 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:11:22:11:33:12:33:23:44:34:55:49:1616:99:2121:9JSON schema{
"x-placeholder": "Select aspect ratio",
"x-clearable": true
} |
resolution | string | The resolution of the output image.1k2k4k"1k" |
quality | string | The quality of the generated image. Higher quality costs more.lowmediumhigh"medium" |
output_format | string | The format of the output image.pngjpegwebp"png" |
README
OpenAI GPT Image 2 Edit
OpenAI GPT Image 2 Edit transforms one or more reference images using natural-language instructions. Upload your image, describe the changes you want, and the model generates a polished edited result with strong prompt alignment and production-ready quality.
- Need to generate a new image from scratch instead? Try OpenAI GPT Image 2 Text-to-Image.
New: GPT Image 2.5 is available. The next generation adds two tiers, Flare (fast, balanced) and Sunburst (extra fidelity on intricate detail), five quality levels, and a lower default price for a 1k image. Same request format, so switching is a model-ID change: GPT Image 2.5 Flare Edit · GPT Image 2.5 Sunburst Edit.
Why Choose This?
- Natural-language image editing
Edit images by simply describing the changes you want in plain language — no manual masking or complex editing workflow required.
- Works with reference images
Use one or more input images as the visual source for edits, transformations, or style adjustments.
- Flexible aspect ratios
Generate edited outputs in square, portrait, or landscape formats for different publishing and design needs.
- Production-ready API
Access the model through a ready-to-use REST inference API for easy integration into apps, tools, and creative pipelines.
- Fast and affordable
Get high-quality image edits with simple usage-based pricing and no cold-start friction.
Parameters
| Parameter | Required | Description |
|---|---|---|
| images | Yes | Reference images to edit (up to 16) |
| 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. Auto-detected from input image if not specified. |
| resolution | No | Output resolution: 1k (default), 2k, or 4k. |
| quality | No | Image quality: low, medium (default), or high. |
How to Use
- Upload reference images — add up to 16 images you want to edit.
- Write your prompt — clearly describe the changes, style adjustments, or composition edits you want.
- Choose aspect ratio (optional) — use
1:1for square,2:3or9:16for portrait,3:2or16:9for landscape, etc. Auto-detected from input image if not specified.
- Submit — run the model and download your edited image.
Example Prompt
Turn this product photo into a premium studio advertisement with soft cinematic lighting, a clean beige background, subtle shadows, realistic reflections, and luxury brand aesthetics
Pricing
Pricing varies by quality and resolution.
Prices below are per run with 1 input image (images count = 1). Rows give the quality and the number of input images; columns give the output resolution.
| Quality, input images | 1k | 2k | 4k |
|---|---|---|---|
low, 1 input image (images count = 1) | |||
medium, 1 input image (images count = 1) | |||
high, 1 input image (images count = 1) |
Each additional input image beyond the first adds $0.012 $0.0114 (the difference between a run with 2 input images, images count = 2, and a run with 1 input image, images count = 1).
Best Use Cases
- Product photo enhancement — Upgrade basic product shots into premium marketing visuals.
- Creative retouching — Change backgrounds, lighting, styling, or composition with natural-language instructions.
- Marketing adaptation — Rework existing brand assets into new campaign visuals without recreating them from scratch.
- Social media content — Quickly edit images into platform-ready formats for posts, ads, and promos.
- Design iteration — Explore multiple visual directions from the same base image with different prompts.
- E-commerce optimization — Improve product presentation for listings, hero banners, and promotional creatives.
Pro Tips
- Be specific about what should stay unchanged and what should be modified.
- Mention visual style clearly, such as photorealistic, luxury editorial, minimal, cinematic, or flat lay.
- Describe lighting, background, framing, and mood for more controllable results.
- Use concise but precise prompts instead of overly vague instructions like “make it better.”
- Try multiple aspect ratios when adapting the same edit for different placements.
- If using multiple reference images, make sure they are visually clear and relevant to the intended output.
Notes
- Both
imagesandpromptare required fields.
- Supported aspect ratios are
1:1,3:2,2:3,3:4,4:3,4:5,5:4,9:16,16:9, and21:9. Auto-detected from input image if not specified.
- This model is intended for image editing based on reference images and natural-language instructions.
Related Models
- OpenAI GPT Image 2 Text-to-Image — Generate new images directly from natural-language prompts.
- OpenAI GPT Image 2.5 Flare Edit — Next generation, fast and balanced tier with five quality levels.
- OpenAI GPT Image 2.5 Sunburst Edit — Next generation, precision-focused tier for intricate detail.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
GPT Image 2 Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/openai/gpt-image-2/edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "Replace the plain white mug design with a minimalist blue botanical pattern and add subtle gold trim around the rim. Keep the mug shape, lighting, perspective, and shadow consistent with the original product photo, and maintain a clean studio background.",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/08/19/b58b3f934797.jpeg"
],
"aspect_ratio": "1:1",
"resolution": "1k",
"quality": "medium",
"output_format": "png"
}GPT Image 2 Edit API — Frequently asked questions
What is the Gpt Image 2 Edit API?
Gpt Image 2 Edit is a OpenAI model for image editing, exposed as a REST API on OpenSIAI. OpenAI's GPT Image 2 Edit enables image editing from natural-language instructions with one or more reference images. 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 Gpt Image 2 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/openai/gpt-image-2/edit.
How much does Gpt Image 2 Edit cost per run or per second?
Gpt Image 2 Edit starts at $0.0665 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 Gpt Image 2 Edit accept?
Key inputs: prompt, images, aspect_ratio, resolution, output_format, quality. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/openai/gpt-image-2/edit.
How long does Gpt Image 2 Edit take to generate?
Reported generation time on OpenSIAI is around 25 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 Gpt Image 2 Edit outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
