API Referencehttps://gw.shineon.dev

MiniMax-H3

Served on the MiniMax v2 video API. Authentication, shared billing mechanics, retry behaviour, and errors are covered in the overview.

MiniMax has its own endpoint and response envelope. Do not submit this model to the BytePlus task endpoint.

Endpoints

MethodPathWhat it does
POST/v2/video_generationSubmit a task → {"task_id": "mmt-…"}
GET/v2/query/video_generation/{task_id}Poll one task → {"task": {…}}

MiniMax does not expose video-task listing or cancellation through this API.

Model

Model idResolutionsDuration
MiniMax-H3768P · 2K4–15s, whole seconds

Availability and billing

Call GET /v1/models with the same key before submitting. MiniMax-H3 appears only when the key may call it, a channel can serve it, and the model is priced in the account's currency. The keys under pricing.video_per_unit show the resolutions currently sold to that key.

MiniMax-H3 charges:

  • input-video seconds plus generated output-video seconds, at the selected resolution's per-unit rate; and
  • one additional image unit for every input image after the first five.

For example, a task with a 5-second input video and 6-second output has 11 billable seconds. A task with seven input images adds two image units. Successful polling reports the measured quantities in task.usage; static prices are intentionally not published in these docs.

Request fields

FieldTypeNotes
modelstringMiniMax-H3, case-sensitive.
contentarrayPrompt and optional inline references using type, role, and the matching URL object.
promptstringAccepted instead of content for a text-only task.
resolutionstring768P or 2K; defaults to 768P.
ratiostring16:9, 9:16, 1:1, and other supported ratios. Text-only tasks require an explicit, non-adaptive ratio.
durationintegerA whole number from 4 to 15.
aigc_watermarkbooleanMiniMax's watermark field. BytePlus's watermark is not accepted here.

References must use a public URL or an inline data:image/…;base64,… URI. MiniMax-H3 cannot use asset:// ids from the reference-assets API.

Text to video

bash
curl https://gw.shineon.dev/v2/video_generation \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MiniMax-H3",
    "prompt": "a paper boat drifting down a rain gutter",
    "resolution": "768P",
    "ratio": "16:9",
    "duration": 6
  }'
json
{"task_id":"mmt-20260820143012-k7m2q"}

Image-guided video

bash
curl https://gw.shineon.dev/v2/video_generation \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MiniMax-H3",
    "content": [
      {
        "type": "text",
        "text": "bring the illustrated character to life with a gentle camera orbit"
      },
      {
        "type": "image_url",
        "role": "reference_image",
        "image_url": {
          "url": "https://example.com/character.png"
        }
      }
    ],
    "resolution": "768P",
    "ratio": "16:9",
    "duration": 6,
    "aigc_watermark": false
  }'

Polling

bash
curl https://gw.shineon.dev/v2/query/video_generation/mmt-20260820143012-k7m2q \
  -H "Authorization: Bearer $KEY"
json
{
  "task": {
    "id": "mmt-20260820143012-k7m2q",
    "model": "MiniMax-H3",
    "status": "succeeded",
    "resolution": "768P",
    "duration": 6,
    "content": {
      "url": "https://example.com/generated-video.mp4"
    },
    "usage": {
      "input_seconds": 5,
      "output_seconds": 6,
      "total_seconds": 11,
      "input_image_count": 2
    },
    "error": null
  }
}

status can be queued, running, succeeded, failed, or cancelled. Poll every 10–15 seconds until it is terminal.

The finished video is at task.content.url, not task.content.video_url. task.usage reports seconds and input-image count rather than Seedance completion_tokens.