ReqLLM.Providers.Minimax.VideoAPIV1 (ReqLLM v1.21.0)

View Source

MiniMax Video API V1 driver (Hailuo series).

Implements request/response handling for the legacy MiniMax video generation endpoints used by the MiniMax-Hailuo-*, I2V-01*, and T2V-01* models:

  • POST /v1/video_generation - create a generation task, returns task_id
  • GET /v1/query/video_generation?task_id=... - poll task status, returns a file_id on success
  • GET /v1/files/retrieve?file_id=... - resolve the file_id to a time-limited download URL

Unlike the V2 API (MiniMax-H3), the request body is flat (prompt, first_frame_image, ...) and the query endpoint takes task_id as a query parameter. Task statuses are Preparing / Queueing / Processing / Success / Fail.

Summary

Functions

Base URL for the MiniMax V1 video endpoints.

Path of the task query endpoint for the given task_id.

Path of the file retrieval endpoint for the given file_id.

Path of the file upload endpoint.

Functions

base_url()

@spec base_url() :: String.t()

Base URL for the MiniMax V1 video endpoints.

query_path(task_id)

@spec query_path(String.t()) :: String.t()

Path of the task query endpoint for the given task_id.

retrieve_path(file_id)

@spec retrieve_path(String.t()) :: String.t()

Path of the file retrieval endpoint for the given file_id.

upload_path()

@spec upload_path() :: String.t()

Path of the file upload endpoint.