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_live
first_frame_image string required
Input Image URL or Base64 Encoded. Supports JPG/JPEG/PNG/WebP, File Size < 20MB, short side > 300px.
prompt string
Video generation prompt (optional). Max 2000 characters.
duration integer
Video Duration (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 |