Skip to content

MiniMax H3

POST /v1/videos

The MiniMax H3 family is served through one endpoint; switching models only changes the model field. All five models share the same request shape, task polling, and response structure.

Model IDResolutionsDurationReference mediaFree input images
tk-minimax-h3768P, 2K4–15 sImages, videos, audioFirst 5
tk-minimax-h3-highspeed480P, 768P4–15 sImages, videos, audioFirst 5
tk-minimax-h3-lite480P, 768P4–15 sImages, videos, audioFirst 5
tk-minimax-h3-max480P, 768P5–15 sImages, videos, audioFirst 2
tk-minimax-h3-max-turbo480P, 768P5–15 sFirst/last frames only—

Checked against the API request validator on November 10, 2026.

API fieldTypeRequiredValues / limit
modelstringYesOne of the model IDs above
promptstringYesNonempty; at most 7,000 characters
secondsintegerNo4–15 (max/max-turbo: 5–15); default 5
metadata.resolutionstringYes768P, 2K (h3) or 480P, 768P (other models)
metadata.ratiostringSee rules16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive
metadata.mediaarrayNo{type, url} entries; see reference media below
metadata.extraobjectNomax/max-turbo only; forwarded to the model (e.g. prompt_expansion_mode)
  • Text-to-video (no reference media): ratio is required and must not be adaptive.
  • First/last-frame generation: always adaptive; the output follows the input image. A client-supplied value is ignored.
  • Reference generation: defaults to adaptive; an explicit ratio is allowed. tk-minimax-h3-lite requires an explicit ratio (rejects adaptive).

Each metadata.media entry contains type and url:

typeLimitNotes
first_frame1Text and image content in the prompt is still required
last_frame1Requires first_frame in the same request
reference_image9Not supported by tk-minimax-h3-max-turbo
reference_video3Not supported by tk-minimax-h3-max-turbo; 2–15 s per clip, 15 s total
reference_audio3Not supported by tk-minimax-h3-max-turbo; 2–15 s per clip, 15 s total
  • Up to 12 reference files per request; first/last frames and reference media cannot be mixed.
  • JPEG/PNG/WebP images up to 30 MB; MP4/MOV videos; WAV/MP3 audio.
  • URLs must be directly downloadable (no login, cookies, or hotlink protection).
  • An image_url entry without a role counts as a reference image; on max-turbo such entries are rejected.
Terminal window
curl https://api.apimart.cc/v1/videos \
-H "Authorization: Bearer $HIPIX_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"model": "tk-minimax-h3", "prompt": "A cat running on the beach, cinematic light", "seconds": 5, "metadata": {"resolution": "768P", "ratio": "16:9"}}'

Save the returned id and poll GET /v1/videos/{id}. On completed, url points to the HiPix content endpoint; you can also request /v1/videos/{id}/content. The response does not promise dimensions, duration, or a usage breakdown. Check usage logs for the actual charge.

  • Output video is billed per second, at the per-second rate of the requested resolution. Rates per model are shown on the model square.
  • Reference video input is billed too, by input duration: for tk-minimax-h3, -highspeed and -lite at the same per-second rate as the output resolution; for tk-minimax-h3-max at a separate (higher) input rate. Measured input seconds come from the completion response.
  • Input images: the first 5 input images per task are free on h3/highspeed/lite (first 2 on max); additional input images are billed per image. Input images include first/last frames and reference images; the billed count is the total input image count minus the free allowance.
  • Reference audio input is free. Generated audio is included in the per-second output price.
  • Failed tasks are not billed, including tasks rejected by content moderation.
  • Reservation is an estimate taken before submission (output duration plus the 15-second reference-video maximum when a reference video is present). After completion the charge is settled from the measured usage; a refund or additional charge applies the difference. When the completion response lacks measured reference-usage numbers, the task stays unresolved instead of settling from the estimate.
  • tk-minimax-h3 is the only model with 2K output; 480P/1K/3K on this model, and any 2K on the other models, are rejected.
  • tk-minimax-h3-max and tk-minimax-h3-max-turbo require at least 5 seconds.
  • tk-minimax-h3-max-turbo rejects every reference_* entry; images used as first_frame/last_frame must carry an explicit role.
  • metadata.extra (object, or a JSON string) is forwarded to the model unchanged and only accepted on max/max-turbo, e.g. {"prompt_expansion_mode": "quality"}.