Pricing
Compare models →Pricing depends on the selected resolution and on the number of input images in images. A request with a single input image and default settings costs $0.03 per run.
The first input image is included in the price for the selected resolution. Each additional input image adds $0.005, whatever the resolution.
Price per request by resolution and number of input images
| Resolution | 1 image | 2 images | 4 images | 6 images |
|---|---|---|---|---|
| 1k | $0.03 | $0.035 | $0.045 | $0.055 |
| 1.5k | $0.045 | $0.05 | $0.06 | $0.07 |
| 2k | $0.06 | $0.065 | $0.075 | $0.085 |
| 3k | $0.12 | $0.125 | $0.135 | $0.145 |
| 4k | $0.18 | $0.185 | $0.195 | $0.205 |
Additional Images
| Additional reference images | Total input images | Additional cost |
|---|---|---|
| 1 | 2 | +$0.005 |
| 4 | 5 | +$0.02 |
| 8 | 9 | +$0.04 |
Aspect ratio, output format, and seed do not add separate charges.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The edit instruction. Refer to the input images as <Picture 1>, <Picture 2>, ... in order. Describe the result you want: the new scene, outfit, pose or style. |
imagesRequired | array | Input images (1 to 9 URLs). The first image is the one being edited and sets the output aspect ratio unless aspect_ratio is given; the rest are references.Items: 1–9JSON schema{
"items": {
"type": "string"
}
} |
aspect_ratio | string | The aspect ratio of the generated image. If not specified, it follows the first input image.xxx-empty1:11:22:11:33:12:33:23:44:34:55:49:1616:99:2121:9JSON schema{
"x-clearable": true
} |
resolution | string | Total output resolution tier: 1k (~1 megapixels), 1.5k (~2.4 megapixels), 2k (~4 megapixels), 3k (~9.4 megapixels) or 4k (~16.8 megapixels).1k1.5k2k3k4k"1k" |
output_format | string | The format of the output image.jpegpngwebp"jpeg" |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
P-H3-Image Edit
P-H3-Image Edit edits an existing image from a text instruction using the MiniMax H3 open weights. The first input image is treated as the image to edit, while up to 8 additional images can be used as references for people, products, clothing, styles, and other visual details.
Generate edited images from 1k up to 4k with flexible aspect ratios and output formats.
Why Choose This?
- Instruction-based image editing — Describe what should change while using the first image as the main editing target.
- Multi-image references — Use up to
9images in one request, addressed as<Picture 1>,<Picture 2>, and so on.
- Reference consistency — Use additional images to guide people, products, clothing, hairstyles, and visual details.
- Up to 4K output — Choose
1k,1.5k,2k,3k, or4k.
- Flexible framing — Keep the first image's aspect ratio or choose a supported output ratio.
- Multiple output formats — Export as JPEG, PNG, or WebP.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Edit instruction describing the desired result. Refer to input images as <Picture 1>, <Picture 2>, and so on. |
| images | Yes | Between 1 and 9 image URLs. The first image is edited; additional images are used as references. |
| 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. Defaults to the first image's aspect ratio. |
| resolution | No | Output resolution: 1k, 1.5k, 2k, 3k, or 4k. Default: 1k. |
| output_format | No | Output format: jpeg, png, or webp. Default: jpeg. |
| seed | No | Random seed. Use -1 for random generation. |
How to Use
- Upload images — Place the image to edit first, followed by any reference images.
- Write an edit instruction — Describe what should change and what should remain consistent.
- Reference images clearly — Use
<Picture 1>,<Picture 2>, and so on when explaining the role of each image.
- Choose resolution — Select
1kthrough4kdepending on the required detail.
- Choose framing optional — Keep the original aspect ratio or select another supported ratio.
- Submit — Generate and retrieve the edited image.
Pricing
Pricing depends on the selected resolution and on the number of input images in images. A request with a single input image and default settings costs $0.03 per run.
The first input image is included in the price for the selected resolution. Each additional input image adds $0.005, whatever the resolution.
Price per request by resolution and number of input images
| Resolution | 1 image | 2 images | 4 images | 6 images |
|---|---|---|---|---|
| 1k | $0.03 | $0.035 | $0.045 | $0.055 |
| 1.5k | $0.045 | $0.05 | $0.06 | $0.07 |
| 2k | $0.06 | $0.065 | $0.075 | $0.085 |
| 3k | $0.12 | $0.125 | $0.135 | $0.145 |
| 4k | $0.18 | $0.185 | $0.195 | $0.205 |
Additional Images
| Additional reference images | Total input images | Additional cost |
|---|---|---|
| 1 | 2 | +$0.005 |
| 4 | 5 | +$0.02 |
| 8 | 9 | +$0.04 |
Aspect ratio, output format, and seed do not add separate charges.
Best Use Cases
- Portrait editing — Change clothing, environment, lighting, or styling while using the original person as the main subject.
- Product editing — Place products into new scenes or use reference images to guide product details.
- Multi-reference composition — Combine people, objects, styles, and visual elements from multiple sources.
- Advertising creatives — Adapt existing images for campaigns, promotions, and social content.
- Style transformation — Change materials, lighting, colors, or overall visual direction.
- High-resolution editing — Generate detailed final assets up to
4k.
Pro Tips
- Clearly describe what should change and what should remain unchanged.
- Refer to each important image explicitly, such as
the jacket from <Picture 2>.
- Use fewer references when several images provide conflicting visual guidance.
- Use
3kor4kwhen finer detail is important.
- Use a fixed
seedwhen comparing prompt changes or reference combinations.
- Put short text that should appear in the image inside quotation marks.
Notes
promptandimagesare required.
imagessupports between1and9inputs.
- The first image is the primary image being edited.
- Additional images are treated as references.
aspect_ratiodefaults to the first image's aspect ratio.
resolutiondefaults to1k.
output_formatdefaults tojpeg.
- Use
seed=-1for random seed selection.
- Higher resolutions increase the base generation price.
- Additional reference images add a fixed $0.005 each after the first image.
Related Models
- P-H3-Image Text-to-Image — Generate images directly from text prompts.
- P-H3-Image Text-to-Image LoRA — Generate images with custom LoRA guidance.
- P-H3-Image Edit LoRA — Edit images with custom LoRA guidance.
- MiniMax H3 Text-to-Video — Generate videos with the MiniMax H3 model family.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
P-H3-Image Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/p-h3-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/251118/6784e7f4b50aebc7e17fe396/onc2taa5gb9l.jpeg"
],
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg",
"seed": 0
}P-H3-Image Edit API — Frequently asked questions
What is the P H3 Image Edit API?
P H3 Image Edit is a OpenSIAI model for image editing, exposed as a REST API on OpenSIAI. P-H3-Image by Pruna AI, built on MiniMax H3 open weights, edits images from text instructions with reference-guided consistency, helping preserve faces, products, and important visual details. It is well suited for creative edits, branded assets, product imagery, and production workflows. 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 P 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/opensi-ai/p-h3-image/edit.
How much does P H3 Image Edit cost per run or per second?
P H3 Image Edit starts at $0.03 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 P H3 Image Edit accept?
Key inputs: prompt, images, aspect_ratio, resolution, seed, 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/opensi-ai/p-h3-image/edit.
How long does P H3 Image Edit take to generate?
Reported generation time on OpenSIAI is around 30 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 P H3 Image Edit outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
