Skip to content
MiniMax · MiniMax Image

minimax-h3-image API

Generate and edit photorealistic images, posters, and product visuals with minimax-h3-image on APISea.

Image generationImageAsync task
Model id
minimax-h3-image

minimax-h3-image API pricing

All prices in USD. APISea rates compared with the official list price for the same unit.

Token typeAPISeaOfficialSave
Text input per 1M tokens$2.36$2.68−12%
Cached text input per 1M tokens$0$0—
Image input per 1M tokens$1.57$1.79−12%
Cached image input per 1M tokens$0$0—
Text output per 1M tokens$0$0—
Image output per 1M tokens$3.93$4.46−12%

Approximate cost per output

OptionAPISeaOfficial
1K≈ $0.0264$0.03
2K≈ $0.0264$0.03
4K≈ $0.088$0.10

What is minimax-h3-image?

minimax-h3-image is MiniMax’s standard image model for photorealistic photography, posters, product images, and images with text. On APISea, developers can use it for batch generation or reference-based editing through the image generation endpoint. It accepts Chinese and English prompts; adding image_urls switches the request to editing mode with up to 16 reference images. Each request can generate up to 10 images, with automatic prompt enhancement enabled by default.

Output controls include aspect ratios, exact pixel dimensions up to 20 megapixels, 1K / 2K / 4K resolution tiers, and JPEG, PNG, or WebP formats. Requests run asynchronously and return a task_id for status queries. APISea offers pay-as-you-go, token-based billing and charges only for successful requests. Estimated per-image costs are about $0.0264 at 1K, about $0.0264 at 2K, and about $0.088 at 4K; the default configuration is about 12% below the provider list price.

minimax-h3-image highlights

Generation and Editing

Create images from text or pass up to 16 reference images through image_urls to switch into editing mode.

Flexible Output Sizing

Choose 1K, 2K, or 4K tiers with aspect ratios, or specify exact pixel dimensions up to 20 megapixels.

Batch Image Requests

Generate from 1 to 10 images per request. The standard model is recommended for batch generation.

Automatic Prompt Enhancement

The model expands prompts into detailed scene descriptions by default. The expanded text is available in revised_prompt in the query result.

How to call the minimax-h3-image API in 4 steps

  1. 01

    Get an API key

    Sign in to APISea, top up from $50, and create an sk-sea key in the console.

  2. 02

    Set the base URL

    Use https://api.apisea.ai/v1 as the base URL in your SDK or HTTP client.

  3. 03

    Send the request

    Call POST /v1/images/generations with "model": "minimax-h3-image" and the parameters below.

  4. 04

    Handle the response

    The response contains a task_id. Poll GET /v1/tasks/{task_id} until the status is completed, then download the result URLs.

curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "minimax-h3-image",
    "prompt": "A seaside cafe at dusk, photorealistic, warm tones",
    "size": "16:9",
    "resolution": "2K",
    "n": 1
  }'

Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequired—Image generation model name. Must be `minimax-h3-image`.
nsfw_checkbooleanOptionalfalseWhether to run content moderation before submitting the image task.
promptstringRequired—Text description for image generation or editing.
image_urlsstring[]Optional—Array of reference images, up to `16`. Passing this field automatically switches to editing mode.
sizestringOptionalautoAspect ratio or exact pixel dimensions of the output image.
resolutionstringOptional4KResolution tier. Combined with the aspect ratio, it determines the actual output pixels.
nintegerOptional1Number of images to generate, from `1` to `10`.
prompt_optimizerbooleanOptionaltrueWhether to automatically expand the prompt.
output_formatstringOptionaljpegOutput file format.
output_compressionintegerOptional95Compression quality, from `0` to `100`. Has no effect on `png`.
watermarkbooleanOptionalfalseWhether to add a visible AI-generated watermark to the image. Does not affect the implicit marker in the image metadata.

What you can build with minimax-h3-image

Product Visual Workflows

Build tools that generate product images or accept reference images for editing existing visuals.

Poster Creation Tools

Create posters and images with text, specifying the desired layout and wording in the prompt.

Photorealistic Image Generation

Offer text-driven photography generation with output sizing controls for different compositions.

Batch Creative Production

Generate multiple images per request for teams producing sets of campaign or catalog visuals.

Tips for better results

  • 01

    Set Resolution Explicitly

    Pass resolution as 2K when you do not need 4K. Omitting it defaults to 4K, with estimated per-image costs of about $0.088 versus about $0.0264 at 2K.

  • 02

    Choose One Sizing Method

    Use size with an aspect ratio and resolution, or use exact pixel dimensions without resolution. Combining exact dimensions with resolution returns a 400 error.

  • 03

    Control Prompt Expansion

    Set prompt_optimizer to false to generate from your original text. This works only for text-to-image and requires an explicit size.

  • 04

    Query Task Status

    Store the returned task_id and use it for status queries. Read revised_prompt in the query result when you need to inspect automatic prompt expansion.

Limits and things to know

  • Prompts must contain 1–32,000 characters after trimming; editing accepts up to 16 reference images.

  • Processing is asynchronous, and each request supports 1–10 output images.

  • The quality, style, seed, negative_prompt, background, and mask_url parameters are unsupported and ignored.

minimax-h3-image API FAQ

How much does minimax-h3-image cost on APISea?

Estimated per-image pricing is about $0.0264 at 1K, about $0.0264 at 2K, and about $0.088 at 4K. Billing is token-based rather than a fixed per-image fee, and the default configuration is about 12% below the provider list price.

How do I call minimax-h3-image?

Send a POST request to https://api.apisea.ai/v1/images/generations with Bearer Token authentication, model set to minimax-h3-image, and a required prompt. The asynchronous response returns a task_id for status queries.

Does minimax-h3-image support image editing?

Yes. Passing image_urls automatically switches to editing mode and accepts up to 16 references as publicly accessible HTTP(S) direct links or inline Base64 image data.

Which output parameters are supported?

Use size for an aspect ratio or exact pixel dimensions, resolution for 1K / 2K / 4K tiers, and n for 1–10 images. Output formats include JPEG, PNG, and WebP; do not pass resolution when specifying exact pixel dimensions.

Can I use generated images commercially?

Commercial use is subject to the provider's terms. Check the applicable MiniMax terms before using outputs in commercial products or campaigns.

How does the standard model compare with the high-speed version?

The standard minimax-h3-image has a lower unit price and is recommended for batch generation. The high-speed version generates faster for latency-sensitive scenarios, but its image input and output unit prices are 2 times those of the standard version.

Related models

Depth: 250+ models · Minimum top-up $50

Start building with minimax-h3-image

One key, pay as you go from $50, billed only for successful requests.