🔗Limits
To ensure fair usage and prevent abuse of the service, we have implemented rate limits and resource constraints for our API.
🔗Rate Limits
To maintain service stability for all users, the request frequency for all API endpoints is limited.
| Time Window | Request Limit |
|---|---|
| 1 minute | 20 requests |
Exceeding this limit will result in an HTTP 429 Too Many Requests error response. We recommend designing your application to handle these errors gracefully, for example, by implementing a retry mechanism with exponential backoff.
🔗Generations Endpoint Resource Limits
The generations endpoint has specific limitations for the resources you can upload. Please review these constraints carefully to ensure successful video generation.
| Resource Type | Constraints | Notes |
|---|---|---|
| Image | Aspect Ratio: • 16:9 • 9:16 • 1:1 | If the uploaded image does not match the specified aspect ratios, the central part of the image will be cropped by default. It is highly recommended to pre-crop your images to the required aspect ratio before uploading. |
| Audio | Duration: Must be less than 60 seconds (< 60s). | Uploading an audio file longer than 60 seconds will result in a parameter exception error. |