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_q1_i2v
images array required
Start frame image. Only accepts 1 image. Supports URL or Base64.
prompt string
Video generation prompt. Max 2000 characters.
duration integer
Video duration in seconds. Fixed at 5 seconds.
Default: 5
resolution string
Video resolution. Fixed at 1080p.
Default: 1080p
seed integer
Random seed for reproducibility.
aspect_ratio string
Video aspect ratio.
movement_amplitude string
Movement amplitude of objects in frame.
audio boolean
Enable audio-video output capability.
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 |