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: microsoft_sora2
prompt string required
Video Generate Prompt, Description to Generate Video Content, Length must be in 1-1000 characters.
size string
Video Size, Format as ‘width x high’.
Options: 720 x 1280, 1280 x 720, 1024 x 1792, 1792 x 1024
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 |