APIMart
MiniMax H3 Image model icon
Image

MiniMax H3 Image API

MiniMax H3 Image is MiniMax's image generation and editing model, released on November 11, 2026. On APIMart you call it with the model ID minimax-h3-image for text to image and reference-image editing at 1K, 2K or 4K.

Up to 4K16 Reference ImagesText to Image & Editing

Service Highlights

  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Input
Reference Image
Output
Generated 1

Image link valid for 72 hours

MiniMax H3 Image API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

VariantTierGoldCurrent pricePlatinumDiamondOfficialYour savings
minimax-h3-image

Prices are estimates; actual cost is billed by token usage.

1K/2K0.1891Credits/pic~$0.0189/pic0.1797Credits/pic~$0.018/pic0.1702Credits/pic~$0.017/pic0.2364Credits/pic~$0.0236/pic20%
4K0.628Credits/pic~$0.0628/pic0.5966Credits/pic~$0.0597/pic0.5652Credits/pic~$0.0565/pic0.785Credits/pic~$0.0785/pic20%

* Actual costs are subject to final output.

* Billed by tokens. The rows are single-image text-to-image estimates: image output plus about 2,000 text input tokens for prompt enhancement. Reference images add image input tokens. The cost field of each task shows the actual charge.

MiniMax H3 Image API: Text to Image and Image Editing up to 4K

Generate images from a prompt, or edit with up to 16 reference images. Choose 1K, 2K or 4K with any aspect ratio from 1:3 to 3:1, or set exact pixels up to 20 million. One request returns up to 10 images, and built-in prompt enhancement expands short prompts for you.

MiniMax H3 Image API Example: Text to Image and Image Editing

Call MiniMax H3 Image on APIMart with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint to get the image URLs.

  1. 1

    Authenticate MiniMax H3 Image API requests

    Save your APIMart key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.

  2. 2

    Submit a MiniMax H3 Image task

    POST /v1/images/generations with model minimax-h3-image, your prompt, size and resolution. Add image_urls to edit with reference images. The task ID is in data[0].task_id.

  3. 3

    Get the generated images

    Poll GET /v1/tasks/{task_id} every 3 to 5 seconds until status is completed, then read the image URLs from data.result.images[0].url. Results are kept for 72 hours, so download them in time.

    See the MiniMax H3 Image API reference for every parameter, size rule and response field.

POST /v1/images/generations
curl -X POST https://api.apimart.ai/v1/images/generations \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-h3-image",
    "prompt": "A cozy coffee shop by the sea at sunset, photorealistic, warm tones",
    "size": "16:9",
    "resolution": "2K"
  }'

MiniMax H3 Image API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: minimax-h3-imageUse minimax-h3-image.
promptstringRequiredDefault: —Image description, 1 to 32,000 characters after trimming.
sizestringOptionalDefault: autoauto, an aspect ratio such as 16:9 (1:3 to 3:1), or pixels such as 2048x1152 (655,360 to 20,000,000 pixels in total).
aspect_ratiostringOptionalDefault: —Another way to pass the aspect ratio, such as 16:9. If set, it overrides size.
resolutionstringOptionalDefault: 4K1K, 2K or 4K. Cannot be used when size is in pixels.
nintegerOptionalDefault: 1Number of images, 1 to 10.
image_urlsstring[]OptionalDefault: —Up to 16 reference images as URLs or Base64 data URIs. Adding them switches to editing.
prompt_optimizerbooleanOptionalDefault: trueExpands the prompt before generating. false works only for text to image with an explicit size.
output_formatstringOptionalDefault: jpegjpeg, png or webp.
output_compressionintegerOptionalDefault: 95Compression quality from 0 to 100. Ignored for png.
watermarkbooleanOptionalDefault: falseAdds a visible AI-generated watermark to the image.