Skip to content

MiniMax task query

After submitting a MiniMax task, query generation or remix task status and results by task ID.

http
GET /v1/videos/{task_id}

Replace {task_id} in the path with the task ID returned by Video generation. When the task succeeds (status=completed), the output URL is in the video_url field.

Headers

NameTypeRequiredDescription
stringYesRequest authentication. Use a Bearer Token, for example:

Request parameters

NameTypeRequiredDescription
stringYesPath parameter. Same as the id returned by the generation endpoint

Status flow

statusMeaningprogress
Queued10
Generating50
Succeeded100
Failed or cancelled100

Recommended polling interval: 5–10 seconds. Upstream retains only the last 7 days of task records; task IDs outside that window will fail to query. Video download links expire; download or persist them promptly.

Request example

bash
curl https://octopusx.ai/v1/videos/task_a1bxxxxxe5f6 \
  -H "Authorization: Bearer <token>"

Response example

json
{
  "id": "task_a1bxxxxxe5f6",
  "task_id": "task_a1bxxxxxe5f6",
  "object": "video",
  "model": "MiniMax-H3",
  "status": "completed",
  "progress": 100,
  "created_at": 1785125529,
  "video_url": "https://example.com/video.mp4"
}
json
{
  "id": "task_a1bxxxxxe5f6",
  "task_id": "task_a1bxxxxxe5f6",
  "object": "video",
  "model": "MiniMax-H3",
  "status": "failed",
  "progress": 100,
  "created_at": 1785125529,
  "error": {
    "message": "request failed",
    "code": "upstream_error"
  }
}

Response fields

NameTypeDescription
stringTask ID
stringLegacy-compatible task ID (to be deprecated; same value as )
stringAlways
stringModel name used by the task
stringSee the status table above
integerProgress percentage
stringOutput URL after the task succeeds
objectFailure reason (includes / )