Pricing
Compare models →Pricing depends on the selected resolution and on the number of input images. The prices below are per generation and already include the fixed LoRA charge, which does not increase with the number of LoRAs used within the supported limit.
The first input image is included in the price. Each additional input image adds $0.005.
| Resolution | 1 image | 2 images | 4 images | 6 images |
|---|---|---|---|---|
| 1k | $0.045 | $0.05 | $0.06 | $0.07 |
| 1.5k | $0.06 | $0.065 | $0.075 | $0.085 |
| 2k | $0.075 | $0.08 | $0.09 | $0.10 |
| 3k | $0.135 | $0.14 | $0.15 | $0.16 |
| 4k | $0.195 | $0.20 | $0.21 | $0.22 |
With default settings (one image, 1k), a generation costs $0.045.
Additional Images
| Additional Reference Images | Additional Cost |
|---|---|
| 1 | +$0.005 |
| 4 | +$0.02 |
| 8 | +$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" |
loras | array | List of LoRAs to apply (max 3).Items: 0–3JSON schema{
"items": {
"properties": {
"path": {
"description": "URL or the path to the LoRA weights.",
"type": "string"
},
"scale": {
"default": 1,
"description": "The scale of the LoRA weights. This is used to scale the LoRA weight before merging it with the base model.",
"maximum": 4,
"minimum": 0,
"type": "number"
}
},
"required": [
"path"
],
"type": "object",
"x-order-properties": [
"path",
"scale"
]
}
} |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
P-H3-Image Edit LoRA
P-H3-Image Edit LoRA edits an existing image using text instructions and custom LoRA weights. The first input image is treated as the image to edit, while up to 8 additional images can be used as references. Load up to 3 LoRA weights per request and generate edited images from 1k up to 4k.
Why Choose This?
- LoRA support — Load up to
3LoRA weights in one request, each with its own scale.
- Instruction-based editing — Describe what should change while using the first image as the main editing target.
- Multi-image references — Use up to
9images, addressed as<Picture 1>,<Picture 2>, and so on.
- Reference consistency — Use additional images to guide people, products, clothing, hairstyles, and other visual details.
- Up to 4K output — Choose
1k,1.5k,2k,3k, or4k.
- Flexible framing — Keep the first image's aspect ratio or select another supported 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. |
| loras | No | Up to 3 LoRA weights. Each item uses {path, scale}, where path points to the LoRA file and scale controls its influence. |
| 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.
- Add LoRAs optional — Load up to
3LoRA weights and configure their scales.
- Choose resolution — Select
1kthrough4kdepending on the required detail.
- Choose framing optional — Keep the first image's 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. The prices below are per generation and already include the fixed LoRA charge, which does not increase with the number of LoRAs used within the supported limit.
The first input image is included in the price. Each additional input image adds $0.005.
| Resolution | 1 image | 2 images | 4 images | 6 images |
|---|---|---|---|---|
| 1k | $0.045 | $0.05 | $0.06 | $0.07 |
| 1.5k | $0.06 | $0.065 | $0.075 | $0.085 |
| 2k | $0.075 | $0.08 | $0.09 | $0.10 |
| 3k | $0.135 | $0.14 | $0.15 | $0.16 |
| 4k | $0.195 | $0.20 | $0.21 | $0.22 |
With default settings (one image, 1k), a generation costs $0.045.
Additional Images
| Additional Reference Images | Additional Cost |
|---|---|
| 1 | +$0.005 |
| 4 | +$0.02 |
| 8 | +$0.04 |
Aspect ratio, output format, and seed do not add separate charges.
Best Use Cases
- LoRA-guided editing — Apply custom styles, characters, products, or visual identities during editing.
- Portrait editing — Change clothing, environment, lighting, or styling while keeping the original subject.
- Product editing — Use references and LoRAs to guide product appearance and presentation.
- Multi-reference composition — Combine visual elements from several reference images.
- Advertising creatives — Adapt existing assets for campaigns, promotions, and social content.
- High-resolution editing — Generate detailed edited images 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>.
- Adjust each LoRA
scalebased on how strongly you want it to influence the result.
- When combining multiple LoRAs, keep the prompt clear about the role of each concept.
- Use fewer references when several images provide conflicting visual guidance.
- Use
3kor4kwhen finer visual detail is important.
- Use a fixed
seedwhen comparing prompt, reference, or LoRA changes.
Notes
promptandimagesare required.
imagessupports between1and9inputs.
- The first image is the primary image being edited.
- Additional images are treated as references.
- Up to
3LoRA weights can be used in one request.
- Each LoRA uses a
{path, scale}configuration.
aspect_ratiodefaults to the first image's aspect ratio.
resolutiondefaults to1k.
output_formatdefaults tojpeg.
- Use
seed=-1for random seed selection.
- LoRA support adds a fixed charge per generation.
- Each additional input image after the first adds $0.005.
Related Models
- P-H3-Image Text-to-Image — Generate images directly from text prompts.
- P-H3-Image Edit — Edit existing images without LoRA guidance.
- P-H3-Image Text-to-Image LoRA — Generate images with custom LoRA guidance.
- MiniMax H3 Text-to-Video — Generate videos with the MiniMax H3 model family.
Reference
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
P-H3-Image Edit LoRA API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/p-h3-image/edit-lora 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/vi0t8qihzk4j.jpg"
],
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg",
"loras": [],
"seed": 0
}P-H3-Image Edit LoRA API — Frequently asked questions
What is the P H3 Image Edit Lora API?
P H3 Image Edit Lora 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 natural-language instructions while helping preserve faces, products, and other important visual details. It is well suited for creative edits, product imagery, branded content, and consistency-focused image 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 Lora 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-lora.
How much does P H3 Image Edit Lora cost per run or per second?
P H3 Image Edit Lora 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 Lora accept?
Key inputs: prompt, images, aspect_ratio, resolution, seed, loras. 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-lora.
How long does P H3 Image Edit Lora take to generate?
Reported generation time on OpenSIAI is around 51 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 Lora 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.
