Skip to content

MiniMax video generation ​

MiniMax submits async video tasks through an OpenAI-compatible endpoint, primarily via JSON. Currently only the model is supported.

http
POST /v1/videos

A successful submission returns id. Poll results with Task query. Total request body size must not exceed 64 MB. Prefer public URLs for large files instead of Base64.

Available models ​

Generation scenarios (auto-detected from request parameters) ​

ScenarioParametersAspect ratio
Text-to-video onlyDefault ; is not allowed
Image-to-video or Forced
Multimodal reference-to-video / Default

Image-to-video and multimodal reference-to-video are mutually exclusive and cannot be mixed.

Headers ​

NameTypeRequiredDescription
stringYesRequest authentication. Use a Bearer Token, for example:
stringYesContent type. Must be

Request body ​

NameTypeRequiredDescription
stringYesModel name
stringYesPrompt. Required and non-empty for all generation scenarios. Max 7000 characters per prompt
integerNoDuration in seconds, 4–15, default . Values outside the range are clamped by the gateway
stringNoResolution: / , default
stringNoSingle input image as the first frame. Mutually exclusive with ; if both are sent, image takes precedence
array<string>NoMultiple reference images (image-to-video)
/ stringNoMultimodal reference assets (reference-to-video)

Request example ​

bash
curl -X POST https://octopusx.ai/v1/videos \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "MiniMax-H3",
  "prompt": "A flower bud blooming in a time-lapse shot",
  "duration": 5,
  "size": "2K"
}'

Response example ​

json
{
  "id": "task_a1bxxxxxe5f6",
  "task_id": "task_a1bxxxxxe5f6",
  "object": "video",
  "model": "MiniMax-H3",
  "status": "queued",
  "progress": 0,
  "created_at": 1785125529
}

Response fields ​

NameTypeDescription
stringTask ID for subsequent queries (public gateway ID)
stringLegacy-compatible task ID (to be deprecated; same value as ). Prefer id for new integrations
stringAlways
stringModel name used by the task
stringTask status: / / /
integerProgress percentage 0–100
integerCreation timestamp

Other formats and modes ​

Official format (/v1/video/generations) ​

Create tasks with a multimodal array (organized like the Seedance official format). Query with GET /v1/video/generations/{task_id}.

Remix (/v1/videos/{video_id}/remix) ​

Remix a completed 768P video to 2K. By task ID: pass the source task ID as path parameter (recommended; no prompt required). By source video: pass in the body (must include all original inputs, and must match the original generation exactly). Only MiniMax-H3 768P output videos are supported, and the source task must be within the 7-day query window.