BeLive Token Hub
API ReferenceVideoMiniMax H3

Query a Task

Query the status and result of a MiniMax H3 V2 video generation task.

Query a video generation task by ID. The ID must be the public BeLive Studio task_id returned by the create endpoint; the gateway maps it to the upstream MiniMax task internally.

Request

ItemValue
MethodGET
URLhttps://api.tokenhub.belivestudios.com/v2/query/video_generation/{task_id}
Path parametertask_id: ID returned by the create endpoint
AuthenticationAuthorization: Bearer sk-your-belive-studios-key
curl "https://api.tokenhub.belivestudios.com/v2/query/video_generation/task_01JZ3Q7M7Y7X5Y6R8K9P" \
  -H "Authorization: Bearer sk-your-belive-studios-key"

Tasks are retained for 7 days based on UTC time. Video URLs are temporary; download or transfer them after a successful response.

Response

In progress

{
  "task": {
    "id": "task_01JZ3Q7M7Y7X5Y6R8K9P",
    "model": "MiniMax-H3",
    "status": "running",
    "created_at": 1785125529,
    "updated_at": 1785125600,
    "resolution": "2K",
    "duration": 5,
    "ratio": "16:9",
    "task_type": "generation",
    "modality": "video"
  }
}

Succeeded

{
  "task": {
    "id": "task_01JZ3Q7M7Y7X5Y6R8K9P",
    "model": "MiniMax-H3",
    "status": "succeeded",
    "created_at": 1785125529,
    "updated_at": 1785125946,
    "content": {"url": "https://cdn.example.com/h3-generated.mp4"},
    "resolution": "2K",
    "duration": 5,
    "usage": {
      "total_seconds": 5,
      "input_seconds": 0,
      "output_seconds": 5,
      "input_image_count": 0,
      "total_tokens": 273890,
      "prompt_tokens": 13500,
      "completion_tokens": 260390
    },
    "ratio": "16:9",
    "task_type": "generation",
    "modality": "video"
  }
}

Failed or cancelled

{
  "task": {
    "id": "task_01JZ3Q7M7Y7X5Y6R8K9P",
    "model": "MiniMax-H3",
    "status": "failed",
    "error": {"code": "1026", "message": "video description contains sensitive content"},
    "task_type": "generation",
    "modality": "video"
  }
}

task fields

FieldTypeDescription
idstringPublic BeLive Studio task ID.
modelstringModel used for the task, such as MiniMax-H3.
statusstringqueued, running, succeeded, failed, or cancelled.
created_at / updated_atintegerUnix timestamp in seconds.
content.urlstringTemporary video download URL, returned for successful video tasks.
resolutionstringOutput resolution.
durationintegerOutput duration in seconds.
ratiostringOutput aspect ratio; use this field when the input ratio was adaptive.
task_typestringgeneration for this create endpoint; the official API may also return regeneration or h3_context_ir.
modalitystringvideo for video tasks.
errorobjectFailure or cancellation details with code and message.

usage fields

FieldDescription
total_secondsTotal metered seconds, usually input plus output seconds.
input_secondsReference video input seconds.
output_secondsOutput video seconds.
input_image_countNumber of input images, including first frame, last frame, and reference images.
input_audio_secondsReference audio input seconds; may be omitted when no reference audio is used.
total_tokensTotal token count.
prompt_tokensInput token count.
completion_tokensOutput token count.

Polling guidance

Poll every 3–10 seconds. Continue polling for queued or running; download content.url on succeeded; stop and read error.message on failed or cancelled.

Common errors

HTTP statusMeaning
400Missing/invalid task_id, task not found, or task is outside the 7-day query window.
401Missing or invalid Authorization.
429Query request was rate limited.
500Upstream or gateway internal error.

On this page