Pricing
Compare models →Pricing is based on the selected output resolution (resolution) and the number of input images (images).
Each additional input image (images going from 1 image to 2 images) adds $0.006.
Output price by resolution (resolution), default settings otherwise:
| Resolution | Output Price |
|---|---|
1K (resolution=1k) | $0.027 |
2K (resolution=2k) | $0.039 |
4K (resolution=4k) | $0.067 |
Example Costs
Total price by number of input images (images) and output resolution (resolution):
Input images (images) | 1K (resolution=1k) | 2K (resolution=2k) | 4K (resolution=4k) |
|---|---|---|---|
1 input image (images = 1) | $0.033 | $0.045 | $0.073 |
2 input images (images = 2) | $0.039 | $0.051 | $0.079 |
4 input images (images = 4) | $0.051 | $0.063 | $0.091 |
16 input images (images = 16) | $0.123 | $0.135 | $0.163 |
Aspect ratio and output format do not add separate charges.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation.JSON schema{
"x-rows": 10
} |
imagesRequired | array | The images to edit, 1 to 16. Refer to them in the prompt as image 1, image 2 and so on, in the order given. JPG, PNG, WEBP, HEIC and HEIF are supported; each side must be 128 to 8192 px and the long side at most 4 times the short side.Items: 1–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 images and the prompt.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 output resolution tier. 1k is about 1 megapixel, 2k about 4 megapixels and 4k about 16 megapixels. 1k and 2k cost the same; 4k is the highest.1k2k4k"1k" |
output_format | string | The format of the output image.pngjpegwebp"png" |
README
MiniMax H3 Image Edit
MiniMax H3 Image Edit edits and combines images from 1–16 reference images using text instructions. Describe the desired changes and refer to each input image by its order when multiple references are used.
Why Choose This?
- Multi-reference editing — Use up to
16images in a single editing workflow.
- Natural-language instructions — Describe edits and refer to inputs as image 1, image 2, and so on.
- Up to 4K output — Choose
1k,2k, or4k.
- Flexible framing — Select an aspect ratio or leave it empty for automatic selection.
- Multiple output formats — Export as PNG, JPEG, or WebP.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired edit. Refer to input images as image 1, image 2, and so on. |
| images | Yes | Between 1 and 16 reference image URLs. Supports JPG, PNG, WEBP, HEIC, and HEIF. Each side must be between 128 and 8192 pixels, and the long side must not exceed 4× the short side. |
| aspect_ratio | No | Output aspect ratio: 1:1, 1:2, 2:1, 1:3, 3:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:21, or 21:9. Leave empty for automatic selection based on the references and instruction. |
| resolution | No | Output resolution: 1k, 2k, or 4k. Default: 1k. |
| output_format | No | Output format: png, jpeg, or webp. Default: png. |
How to Use
- Upload reference images — Provide between
1and16images.
- Write an edit instruction — Describe the desired changes and identify images by number when needed.
- Choose framing optional — Select an aspect ratio or leave it empty for automatic selection.
- Choose resolution — Select
1k,2k, or4k.
- Choose output format optional — Select PNG, JPEG, or WebP.
- Submit — Generate and retrieve the edited image.
Pricing
Pricing is based on the selected output resolution (resolution) and the number of input images (images).
Each additional input image (images going from 1 image to 2 images) adds $0.006.
Output price by resolution (resolution), default settings otherwise:
| Resolution | Output Price |
|---|---|
1K (resolution=1k) | $0.027 |
2K (resolution=2k) | $0.039 |
4K (resolution=4k) | $0.067 |
Example Costs
Total price by number of input images (images) and output resolution (resolution):
Input images (images) | 1K (resolution=1k) | 2K (resolution=2k) | 4K (resolution=4k) |
|---|---|---|---|
1 input image (images = 1) | $0.033 | $0.045 | $0.073 |
2 input images (images = 2) | $0.039 | $0.051 | $0.079 |
4 input images (images = 4) | $0.051 | $0.063 | $0.091 |
16 input images (images = 16) | $0.123 | $0.135 | $0.163 |
Aspect ratio and output format do not add separate charges.
Best Use Cases
- Multi-image composition — Combine subjects, objects, or visual elements from several references.
- Portrait editing — Adjust clothing, environment, styling, or composition.
- Product editing — Use multiple references to guide product presentation and scene changes.
- Background changes — Place existing subjects into different environments.
- Advertising concepts — Create image variations for campaign and promotional workflows.
- High-resolution editing — Generate edited outputs at up to
4k.
Pro Tips
- Describe both the requested change and any important elements that should remain consistent.
- Refer to images by number when multiple references are used.
- Keep the role of each reference clear in the instruction.
- Use fewer references when several images provide conflicting guidance.
Notes
promptandimagesare required.
imagessupports between1and16inputs.
- Supported input formats are JPG, PNG, WEBP, HEIC, and HEIF.
- Each image side must be between
128and8192pixels.
- Leaving
aspect_ratioempty allows automatic output framing.
Related Models
- MiniMax H3 Image Text-to-Image — Generate images directly from text prompts.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
MiniMax H3 Image Editing API example
The catalog lists POST https://api.opensi.com.ai/api/v3/minimax/h3-image/edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "Using image 1 as the base product photo, replace the plain background with a clean, softly lit modern studio setting in warm neutral tones. Retouch minor dust and scratches on the product, preserve the exact shape, branding, and material details, and enhance reflections for a premium commercial look. Keep the composition centered and realistic with natural shadows.",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/261113/default/3gttnzux5q0i.jpeg"
],
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "png"
}MiniMax H3 Image Editing API — Frequently asked questions
What is the H3 Image Edit API?
H3 Image Edit is a MiniMax model for image editing, exposed as a REST API on OpenSIAI. MiniMax H3 Image Edit enables precise image editing and multi-image composition with up to 16 reference images, supporting flexible creative workflows and high-resolution 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 H3 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/minimax/h3-image/edit.
How much does H3 Image Edit cost per run or per second?
H3 Image Edit starts at $0.033 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 H3 Image Edit accept?
Key inputs: prompt, images, aspect_ratio, resolution, 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/minimax/h3-image/edit.
How long does H3 Image Edit take to generate?
Reported generation time on OpenSIAI is around 24 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 H3 Image Edit outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (MiniMax). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
