Authentication
authorization string required
All APIs require authentication via Bearer Token.
Get API Key:
Visit API Key Management Page to get your API Key
Usage:
Add to request header:
Authorization: Bearer YOUR_API_KEY
Parameters
model string required
Model ID to use for the request.
Value: minimax_i2v_01
first_frame_image string required
Input Image URL or Base64 Encoded.
prompt string
Video generation prompt (optional). Max 2000 characters.
duration integer
Video duration. I2V-01 is fixed at 6 seconds.
Default: 6
resolution string
Video Resolution.
Default: 720P
prompt_optimizer boolean
Whether to Enable Prompt optimize.
Default: true
Error Codes
| Code | Description |
|---|---|
| 401 | API key is missing or invalid |
| 403 | Insufficient balance or permission denied |
| 429 | Rate limit exceeded |
| 500 | Internal server error |