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: vidu_15
prompt string required
Text prompt for video generation. Max 2000 characters.
style string
Output video style.
duration integer
Video duration in seconds.
Options: 4 or 8
resolution string
Video resolution.
Options: 4s: 360p - 1080p; 8s: 360p - 720p
seed integer
Random seed for reproducibility. 0 means random.
Default: 0
aspect_ratio string
Video aspect ratio.
movement_amplitude string
Movement amplitude of objects.
bgm boolean
Add background music to video.
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 |