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: ultra_video_extend
video_url string required
Video URL. Must be a valid HTTP or HTTPS URL.
duration string required
Target extension duration.
Options: 5 (5 seconds) or 10 (10 seconds)
aspect_ratio string
Video aspect ratio.
Options: 16:9 (landscape), 9:16 (portrait), 1:1 (square)
extension_type string
Extension type.
Options: forward (forward extension), backward (backward extension), both (bidirectional extension)
quality string
Video quality parameter.
seed integer
Random seed. Used for reproducible generation results.
external_task_id string
External task ID. Used to associate tasks with external systems.
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 |