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_1_5
prompt string required
Text prompt. Length range: 1-2500 characters.
duration string
Video duration (seconds).
Default: 5
Options: 5 (5 seconds), 10 (10 seconds)
aspect_ratio string
Video aspect ratio.
Default: 16:9
Options: 16:9, 9:16, 1:1
negative_prompt string
Negative prompt, must not exceed 2500 characters. Used to specify content that should not appear in the generated video.
cfg_scale number
CFG scale parameter. Used to control how closely the generated content matches the prompt.
Range: 0 - 1
external_task_id string
External task ID. Used to associate with external system tasks.
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 |