MiniMax H3

MiniMaxVideo generationper-requestTiered pricing

MiniMax H3 asynchronous video generation. Supports text-to-video, first/last-frame generation, and multimodal image/video/audio references with 4-15 second 768P or 2K output. Reference videos are billed by their length and reference pictures past the free ones per picture; this share is settled when the task finishes to the clips' real length. A request without reference media is charged in full at submission.

Price

$0.086868/s

Max

$0.078181/s

Endpoint

/videos

Delivery pattern

Async task lifecycle

Availability

Available now

API documentation

Build and copy the request

Choose the options this model accepts. The code below updates as you choose.

Step-by-step in the docs
POSThttps://apiking.ai/v1/videosBearer API keyAsync task

OptionsOnly options published for this model are shown.

# Requires curl and jq
API_KEY="${API_KEY:-YOUR_API_KEY}"

# 1. Submit once
SUBMITTED=$(curl --fail-with-body -sS https://apiking.ai/v1/videos \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: model-docs-$(date +%s)-$$" \\
  -d '{
  "model": "MiniMax H3",
  "prompt": "A cinematic scene with careful composition",
  "duration": 5,
  "resolution": "2K",
  "size": "16:9"
}')
TASK_ID=$(printf '%s' "$SUBMITTED" | jq -r '.task_id // .id // empty')
if [ -z "$TASK_ID" ]; then
  printf '%s\n' "$SUBMITTED" >&2
  exit 1
fi
echo "task_id=$TASK_ID"

# 2. Poll until terminal
while true; do
  STATUS_JSON=$(curl --fail-with-body -sS \
    "https://apiking.ai/v1/videos/$TASK_ID" \
    -H "Authorization: Bearer $API_KEY")
  STATUS=$(printf '%s' "$STATUS_JSON" | jq -r '.status // empty' | tr '[:upper:]' '[:lower:]')
  echo "status=$STATUS"
  case "$STATUS" in
    completed|succeeded|success) break ;;
    failed|failure|cancelled|canceled)
      printf '%s\n' "$STATUS_JSON" | jq .
      exit 1
      ;;
  esac
  sleep 5
done

# 3. Fetch the final result
curl --fail-with-body -sS \
  "https://apiking.ai/v1/videos/$TASK_ID/content" \
  -H "Authorization: Bearer $API_KEY" | jq .
  1. 1Submit the task
  2. 2Poll the status
  3. 3Fetch the content

This model requires public media URLs. Upload a local file first, then put public_url into the model request. Avoid large Base64 bodies.

Read the upload guide

Parameter reference

model
stringrequired

Exact model identifier for this request.

MiniMax-H3
prompt
stringrequired

Video prompt, up to 7000 characters.

duration
integeroptional

Output seconds from 4 to 15.

resolution
stringoptional

Requested output resolution.

2K768P
size
stringoptional

Aspect ratio.

adaptive21:916:94:31:13:49:16
images
string[]optional

One or two images are treated as first/last frames. Set image_reference_mode=multi for up to 9 multimodal references.

videos
string[]optional

Up to 3 public reference-video URLs, 15 seconds total.

Response lifecycle

Task status, terminal states, and result response examples.

Submit
{
  "id": "task_xxx",
  "task_id": "task_xxx",
  "object": "video",
  "model": "MiniMax H3",
  "status": "queued"
}

Waiting

queued · submitted · in_progress · processing

Success

completed · succeeded · success

Failure

failed · failure · cancelled · canceled

Errors and production

Retry rules, idempotency, and the minimum production checklist.

400 / 422

Fix the request fields or unsupported option; do not retry unchanged.

401

Check that the API key is present, active, and sent as a Bearer token.

402

The account balance is insufficient.

409

The Idempotency-Key is processing or was reused with another body.

429

Back off according to Retry-After before retrying.

5xx

Retry with exponential backoff and keep the original Idempotency-Key.

  • Keep API keys on your server for public mobile and browser applications.
  • Set a unique Idempotency-Key for every billable async operation.
  • Persist task_id so polling can resume after a restart.
  • Use a timeout for every HTTP request and surface the request ID in support reports.
  • Read live model metadata instead of hard-coding prices and supported options.

Price and tiers

List price, for everyone.

Per-second price · 2k

$0.086868/s

Tiered pricing

Billed per second of generated output.

With a reference video, its seconds are added at the same price.

Reference images beyond 5 cost $0.021736 each.

ResolutionPrice
768p$0.054264/s
2k$0.086868/s

The price shown here is exactly what you are billed — failed calls are refunded automatically.

MiniMax H3 at a glance

Model ID
MiniMax H3
Type
Video generation
Vendor
MiniMax
Resolutions
768P · 2K
Aspect ratios
21:9 · 16:9 · 4:3 · 1:1 · 3:4 · 9:16
Reference inputs
Up to 9 images · Up to 3 videos · Up to 3 audio files
Endpoint
POST /v1/videos
Delivery
Async task: poll it or get a webhook
Billed by
Per second of output

What MiniMax H3 costs

  • A 5-second 768P video$0.27132
  • A 10-second 768P video$0.54264
  • A 5-second 2K video$0.43434
  • A 10-second 2K video$0.86868

At the list price, without reference video. The price table above lists reference-video prices.

Common questions

How much does the MiniMax H3 API cost?

MiniMax H3 costs $0.086868/s on APIKing. Pay as you go from your balance.

How do I call the MiniMax H3 API?

Send a request to https://apiking.ai/v1/videos with your APIKing key as a Bearer token and set the model to MiniMax H3. The call returns a task. Poll it until it finishes, or set a webhook to be told when it does.

What is the model ID of MiniMax H3?

Set the model parameter to MiniMax H3.

Which resolutions and lengths does MiniMax H3 support?

Resolutions: 768P, 2K.

Can MiniMax H3 work from reference images or videos?

Yes. Reference inputs: Up to 9 images · Up to 3 videos · Up to 3 audio files.

Am I charged when a MiniMax H3 call fails?

A failed call or a failed generation is not charged. Tasks are estimated first and settled at what they actually used.

Compare MiniMax H3 with similar models

ModelVendorPriceSpec
MiniMax H3MiniMaxFrom $0.054264/sUp to 2K
Wan 3.0WanFrom $0.028109/sUp to 1080P · up to 30 s
Grok Imagine 1.5 VideoGrokFrom $0.009996/sUp to 720p · up to 15 s
Muse Video ExtMeta$0.02305 / requestUp to 720p · up to 10 s
Seedance 2.0 MiniByteDanceFrom $0.016381/sUp to 720p · up to 15 s
Seedance 2.5ByteDanceFrom $0.086712/sUp to 1080p · up to 30 s