API Reference
Complete reference for the Prism API endpoints
Base URL
https://api.prism.video/v1Authentication
All API requests require authentication using an API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYEndpoints
Generate Video
POST
/generateCreate a new AI video generation
Get Generation
GET
/generations/:idRetrieve a specific generation by ID
List Generations
GET
/generationsGet all generations for your account
Create Webhook
POST
/webhooksSet up webhook notifications
List Webhooks
GET
/webhooksGet all configured webhooks
List API Keys
GET
/user/api-keysGet all API keys for your account
Error Codes
| Code | Description |
|---|---|
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid API key |
| 402 | Payment Required - Insufficient credits |
| 404 | Not Found - Resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |
Rate Limits
API requests are rate limited based on your plan:
- Free: 10 requests/minute
- Pro: 60 requests/minute
- Team: 300 requests/minute
- Enterprise: Custom limits