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: viduq2_turbo_start_end
images array required
List of URLS for the first and last frame images (2 images: one is the first frame, two are the first and last frames).
prompt string
Prompt text to guide video generation (optional).
duration integer
Video duration (seconds).
Options: 4 or 8
aspect_ratio string
Aspect ratio.
resolution string
Resolution.
movement_amplitude string
Range of motion.
Options: auto, small, medium, large
bgm boolean
Whether to add background music.
watermark boolean
Whether to add watermark.
audio boolean
Whether to use the audio-video direct 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 |