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: vtrix_motion_pro
content array required
Content array, supports three modes: text-to-video, image-to-video (first frame), and image-to-video (first and last frames).
resolution string
Resolution.
ratio string
Aspect ratio.
duration integer
Video duration (seconds).
Range: 3 - 12
framespersecond integer
Frame rate.
Options: 16 or 24 fps
seed integer
Random seed, ranging from -1 to 2^32 - 1. -1 indicates randomness.
watermark boolean
Whether to add watermarks.
Default: false
camerafixed boolean
Whether to fix camera.
return_last_frame boolean
Whether to return the last frame image.
Default: false
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 |