MiniMax Hailuo video generation (v1).
Three calls, expressed with the Operation state machine:
- submit
POST /v1/video_generation->task_id; - poll
GET /v1/query/video_generation?task_id=…->Preparing/Queueing/Processing/Success/Fail; - on
Successthe query returns only afile_id, so the operation stays:in_progressandnextisGET /v1/files/retrieve?file_id=…; that payload carriesfile.download_url, which completes the job.
MiniMax reports errors as HTTP 200 with a non-zero base_resp.status_code, so
a non-zero base_resp is a :provider error regardless of transport status.
resolution, prompt_optimizer, fast_pretreatment, callback_url, and
extra are reached through provider_options.minimax. The v2 (H3) surface
is not implemented.
Summary
Functions
Runs the shared media validation pipeline with the codec's own checks.
Functions
@spec validate_request(LlmCall.Media.Request.t(), LlmCall.Config.t()) :: :ok | {:error, LlmCall.Error.t()}
Runs the shared media validation pipeline with the codec's own checks.