Skip to main content
POST
For pending tasks, poll the returned ID. The successful task detail includes usage with billable seconds and reference-image counts and the applicable price row. See usage fields.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
enum<string>
required
Available options:
minimax-h3,
minimax-h3-max
prompt
string
required
Required string length: 1 - 7000
mode
enum<string>

reference_to_video is available only for minimax-h3.

Available options:
text_to_video,
image_to_video,
reference_to_video
assets
object
controls
object
providerOptions
object

Response

The MiniMax task was accepted.

id
string
required
model
string
required
status
enum<string>
required
Available options:
pending,
processing,
succeeded,
failed,
cancelled
outputs
object
required
usage
object

Successful task detail. H3 charges output seconds, reference video seconds and reference images beyond the first five. H3 Max charges output seconds only.

createdAt
string<date-time>
updatedAt
string<date-time>
failureReason
string