Pricing
Compare models →Pricing is based on the selected resolution.
| Resolution | Price per Image |
|---|---|
| 1K | $0.02 |
| 1.5K | $0.03 |
| 2K | $0.04 |
| 3K | $0.08 |
| 4K | $0.12 |
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" |
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
P-H3-Image Text-to-Image generates images from text prompts using the MiniMax H3 open weights. Create photorealistic, editorial, cinematic, and creative visuals with flexible aspect ratios and output resolutions from 1k to 4k.
Why Choose This?
- High-quality image generation — Create detailed images from natural-language descriptions.
- Up to 4K output — Choose
1k,1.5k,2k,3k, or4kdepending on your quality needs.
- Flexible framing — Generate images across a wide range of landscape, portrait, square, and ultrawide aspect ratios.
- 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. |
| seed | No | Random seed. Use -1 for random generation. |
How to Use
- Write a prompt — Describe the subject, setting, composition, lighting, and visual style.
- Choose framing — Select the aspect ratio that fits your target layout.
- Choose resolution — Use lower resolutions for iteration or higher resolutions when more detail is needed.
- Choose output format optional — Select JPEG, PNG, or WebP.
- Set a seed optional — Use a fixed seed when comparing prompt variations.
- Submit — Generate and retrieve the finished image.
Pricing
Pricing is based on the selected resolution.
| Resolution | Price per Image |
|---|---|
| 1K | $0.02 |
| 1.5K | $0.03 |
| 2K | $0.04 |
| 3K | $0.08 |
| 4K | $0.12 |
Aspect ratio, output format, and seed do not add separate charges.
Best Use Cases
- Photorealistic imagery — Generate people, environments, products, and lifestyle scenes.
- Editorial visuals — Create magazine-style and documentary-inspired imagery.
- Advertising concepts — Produce campaign, product, and promotional visuals.
- Cinematic concepts — Explore dramatic lighting, compositions, and scene designs.
- High-resolution assets — Generate detailed images for publishing and design workflows.
Pro Tips
- Describe the subject, setting, composition, lighting, and visual style clearly.
- Use concrete visual details instead of unnecessary descriptive language.
- Put short text that should appear in the image inside quotation marks.
- Use
3kor4kwhen finer visual detail is important.
- Use a fixed
seedwhen comparing prompt changes while keeping the generation setup consistent.
Notes
promptis required.
aspect_ratiodefaults to1:1.
resolutiondefaults to1k.
- Supported resolutions are
1k,1.5k,2k,3k, and4k.
output_formatdefaults tojpeg.
- Use
seed=-1for random seed selection.
- Higher resolutions increase the generation price.
Related Models
- P-H3-Image Edit — Edit existing images with P-H3-Image.
- 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 Text-to-Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/p-h3-image/text-to-image 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",
"seed": 0
}P-H3-Image Text-to-Image API — Frequently asked questions
What is the P H3 Image Text To Image API?
P H3 Image Text To Image 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 for creative visuals, product imagery, branded content, 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 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.
How much does P H3 Image Text To Image cost per run or per second?
P H3 Image Text To Image 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 accept?
Key inputs: prompt, 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/text-to-image.
How long does P H3 Image Text To Image take to generate?
Reported generation time on OpenSIAI is around 35 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 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.
