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_t2v_01
prompt string required
Video generation prompt. Length: 1-2000 characters.
duration integer
Video duration. T2V-01 is fixed at 6 seconds.
Default: 6
resolution string
Video Resolution. T2V-01 model fixed as 720P.
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 |