Skip to main content
POST
MiniMax-H3

Authorizations

Authorization
string
header
required

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

Body

application/json
prompt
string
required

Length must be at least 1.

Minimum string length: 1
model
enum<string>
required
Available options:
MiniMax-H3
first_frame_image
string<url>

Cannot be mixed with reference image, video or audio inputs.

last_frame_image
string<url>

Optional; cannot be mixed with reference image, video or audio inputs.

images
string<url>[]

Up to 9 images; cannot be mixed with first/last frame mode.

Maximum array length: 9
videos
string<url>[]

Up to 3 videos.

Maximum array length: 3
audio_url
string<url>

Reference audio requires at least one reference image or video.

audios
string<url>[]

Up to 3 audio inputs in total; reference audio requires an image or video.

Maximum array length: 3
duration
integer
default:5

4 to 15 seconds. Defaults to 5. Value is in s.

Required range: 4 <= x <= 15
resolution
enum<string>
default:768P

Must be one of: 2K, 768P. Defaults to 768P.

Available options:
2K,
768P
size
enum<string>
default:16x9

Text-to-video requires a fixed ratio; adaptive is for requests with visual input. Defaults to 16x9.

Available options:
16x9,
1x1,
21x9,
3x4,
4x3,
9x16,
adaptive

Response

Business response. code=0 means the task was accepted; validation failures can return HTTP 200 with code=400.

code
enum<integer>
required
Available options:
0
Example:

0

data
object
required
msg
string
required
Example:

"success"

request_id
string<uuid>
Example:

"250b66dd-e1fb-4bb6-b5f6-c668efadc35d"