MiniMax H3 Text To Image

From 10.8 credits/call
ae_minimax_h3_text_to_image

Generate one image from a text prompt using the fixed MiniMax H3 model. Choose a resolution of 1K, 2K (default), or 4K and an aspect ratio, or provide both width and height in pixels. Custom dimensions must total 655,360–20,000,000 pixels, with neither side exceeding 8,192 pixels; omit resolution and aspect_ratio when using custom dimensions. Output formats are PNG (default) and JPEG. Submission returns an AE task ID; use ae_get_result with that ID to check progress and retrieve the image link when complete.

Image
From 10.8 credits/call

Pricing

From 10.8 credits/call
ConditionCharge
if (Custom width (pixels) != not provided) then ((Custom width (pixels) * Custom height (pixels)) > 4500000), otherwise (Resolution tier == "4K")33 credits/call
Otherwise10.8 credits/call

Each call selects one fixed price based on the request. if (Custom width (pixels) != not provided) then ((Custom width (pixels) * Custom height (pixels)) > 4500000), otherwise (Resolution tier == "4K"): 33 credits/call. Otherwise: 10.8 credits/call.

The starting price applies to normal successful image generation calls covered by the “Otherwise” row. Custom dimensions totaling exactly 4500000 pixels also qualify for the starting price. Charges apply to successfully generated images. Failed generation is not charged. Checking the same task does not generate another image or incur an additional charge.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
widthintegerNo自定义宽度(像素),需和 height 一起传入。—
heightintegerNo自定义高度(像素),需和 width 一起传入。—
promptstringYes图像生成提示词。—
resolutionenum (1K | 2K | 4K)No分辨率档位。使用自定义宽高时省略。 省略为 2K。按当前分辨率档位计费。—
aspect_ratioenum (auto | 1:1 | 4:3 | 3:4 | 16:9 | 9:16 | 3:2 | 2:3 | 2:1 | 1:2 | 21:9 | 9:21)No画面宽高比。使用自定义宽高时省略。 省略为 auto。—
output_formatenum (png | jpeg)No输出格式。 省略为 png。—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_minimax_h3_text_to_image' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "prompt": "xxx"
  }
}'

No response example available yet.