MiniMax-H3-Image Text-to-Image
Run in Apifox
MiniMax-H3-Image standard text-to-image. Generate images from a prompt. Pass size as auto or WIDTHxHEIGHT, up to 10 images per call. Prompt enhancement is on by default. Billing uses actual text-input and image-output tokens.
Request Body Params application/json Required
{
"prompt" : "Example prompt" ,
"size" : "auto" ,
"n" : 1 ,
"outputFormat" : "jpeg" ,
"outputCompression" : 95 ,
"watermark" : false ,
"disablePromptEnhanced" : false
} Request Code Samples
curl --location 'https://www.runninghub.ai/openapi/v2/minimax/h3-image/text-to-image' \
--header 'Authorization: Bearer [Your API KEY]' \
--header 'Authorization: Bearer [Your API KEY]' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Example prompt",
"size": "auto",
"n": 1,
"outputFormat": "jpeg",
"outputCompression": 95,
"watermark": false,
"disablePromptEnhanced": false
}' Responses Task result query endpoint: /openapi/v2/query
{
"taskId" : "2013508786110730241" ,
"status" : "RUNNING" ,
"errorCode" : "" ,
"errorMessage" : "" ,
"results" : null ,
"clientId" : "f828b9af25161bc066ef152db7b29ccc" ,
"promptTips" : "{\"result\": true, \"error\": null, \"outputs_to_execute\": [\"4\"], \"node_errors\": {}}"
} Modified at 2026-11-13 12:00:04