Pricing
Compare models →Pricing is based on the selected resolution and includes a fixed LoRA surcharge per generation. The prices below already include it.
| Resolution | Price per Image |
|---|---|
| 1K (default settings) | $0.035 |
| 1.5K | $0.045 |
| 2K | $0.055 |
| 3K | $0.095 |
| 4K | $0.135 |
A request with default settings (resolution 1k) costs $0.035 per run.
The LoRA surcharge is fixed per generation and does not increase with the number of LoRAs used within the supported limit.
Aspect ratio, output format, and seed do not add separate charges.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
aspect_ratio | string | The aspect ratio of the generated image. Defaults to 1:1.1:11:22:11:33:12:33:23:44:34:55:49:1616:99:2121:9"1:1" |
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 Text-to-Image LoRA
P-H3-Image Text-to-Image LoRA generates images from text prompts using the MiniMax H3 open weights, with support for up to 3 custom LoRA weights per request. Create photorealistic, editorial, cinematic, and creative visuals from 1k up to 4k while applying custom styles, characters, products, or other LoRA-trained concepts.
Why Choose This?
- LoRA support — Load up to
3LoRA weights in one request, each with its own scale.
- High-quality image generation — Create detailed images from natural-language descriptions.
- Up to 4K output — Choose
1k,1.5k,2k,3k, or4k.
- Flexible framing — Generate landscape, portrait, square, and ultrawide images.
- Multiple output formats — Export as JPEG, PNG, or WebP.
- Seed control — Use a fixed seed for more reproducible generation.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the image to generate. |
| 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. Default: 1:1. |
| 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
- Write a prompt — Describe the subject, setting, composition, lighting, and visual style.
- Add LoRAs optional — Load up to
3LoRA weights and configure their scales.
- Choose framing — Select the aspect ratio that fits your target layout.
- Choose resolution — Select
1kthrough4kdepending on the required detail.
- Choose output format optional — Select JPEG, PNG, or WebP.
- Set a seed optional — Use a fixed seed when comparing prompt or LoRA changes.
- Submit — Generate and retrieve the finished image.
Pricing
Pricing is based on the selected resolution and includes a fixed LoRA surcharge per generation. The prices below already include it.
| Resolution | Price per Image |
|---|---|
| 1K (default settings) | $0.035 |
| 1.5K | $0.045 |
| 2K | $0.055 |
| 3K | $0.095 |
| 4K | $0.135 |
A request with default settings (resolution 1k) costs $0.035 per run.
The LoRA surcharge is fixed per generation and does not increase with the number of LoRAs used within the supported limit.
Aspect ratio, output format, and seed do not add separate charges.
Best Use Cases
- Custom styles — Apply LoRA-trained visual styles to generated images.
- Character generation — Generate characters guided by custom LoRA weights.
- Product imagery — Use LoRAs to guide specific products or visual identities.
- Advertising creatives — Produce customized campaign and promotional visuals.
- Editorial imagery — Create detailed photography and illustration concepts.
- High-resolution assets — Generate final images up to
4k.
Pro Tips
- Describe the subject, composition, lighting, environment, and visual style clearly.
- 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
3kor4kwhen finer visual detail is important.
- Use a fixed
seedwhen comparing prompt or LoRA changes.
- Put short text that should appear in the image inside quotation marks.
Notes
promptis required.
- Up to
3LoRA weights can be used in one request.
- Each LoRA uses a
{path, scale}configuration.
aspect_ratiodefaults to1:1.
resolutiondefaults to1k.
output_formatdefaults tojpeg.
- Use
seed=-1for random seed selection.
- Higher resolutions increase the base generation price.
- LoRA support adds a fixed charge per generation.
Related Models
- P-H3-Image Text-to-Image — Generate images directly from text prompts.
- P-H3-Image Edit — Edit existing images with P-H3-Image.
- P-H3-Image Edit LoRA — Edit 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 Text-to-Image LoRA API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/p-h3-image/text-to-image-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",
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg",
"loras": [],
"seed": 0
}P-H3-Image Text-to-Image LoRA API — Frequently asked questions
What is the P H3 Image Text To Image Lora API?
P H3 Image Text To Image Lora is a OpenSIAI model for image generation, exposed as a REST API on OpenSIAI. P-H3-Image by Pruna AI, built on MiniMax H3 open weights, generates photorealistic, editorial-quality images from text prompts with support for custom LoRA guidance, making it suitable for creative visuals, branded content, 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 Text To Image 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/text-to-image-lora.
How much does P H3 Image Text To Image Lora cost per run or per second?
P H3 Image Text To Image Lora starts at $0.02 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 Text To Image Lora accept?
Key inputs: prompt, aspect_ratio, resolution, seed, loras, 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/text-to-image-lora.
How long does P H3 Image Text To Image Lora take to generate?
Reported generation time on OpenSIAI is around 39 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 Text To Image 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.
