MiniMax H3 Image
An image model by MiniMax that makes up to 4 images per call
$0.0117
per image
Moth removes your wallet, IP and device before the call, so the model's host sees your prompt and never who sent it. Moth keeps no prompts or replies.
An image model by MiniMax that makes up to 4 images per call
$0.0117
per image
Moth removes your wallet, IP and device before the call, so the model's host sees your prompt and never who sent it. Moth keeps no prompts or replies.
One image costs $0.0117.
A prompt to start fromA lighthouse on a cliff at dusk, painted in thick oils
The Playground opens on MiniMax H3 Image with that prompt in the box. A run there is paid from your balance and shows the result with its exact charge.
curl https://api.runmoth.si/v1/images \
-H "Authorization: Bearer $MOTH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3-image",
"prompt": "A lighthouse on a cliff at dusk",
"aspect_ratio": "1:1"
}'
# The reply is a job. Set JOB_ID to its id and poll it until its status is succeeded or failed,
# then fetch each output. Its charged_usd is what the job cost once it ends
curl https://api.runmoth.si/v1/jobs/$JOB_ID -H "Authorization: Bearer $MOTH_API_KEY"
curl https://api.runmoth.si/v1/jobs/$JOB_ID/output/0 -H "Authorization: Bearer $MOTH_API_KEY" -o output-0Every image, video and music call returns a job, so the code polls it until it ends and then saves each output. Keys start with moth_, and the job reports what it cost in its charged_usd once it ends.
The Moth price is what your balance is charged, settled to the micro-dollar on each call. Over 30 days that is 50% below list.
POST /v1/images takes for this modelmodelstringRequiredminimax-h3-imagepromptstringRequirednintegeraspect_ratiostring