Base URL
Authentication
All requests require an API key in the Authorization header:OpenAPI Specification
The complete API specification is available at:API Endpoints
Videos
- POST /v1/videos - Generate a new video
- GET /v1/videos/:id - Get video status
- GET /v1/videos/:id/download - Get download URL
Templates
- GET /v1/templates - List all templates
- GET /v1/templates/:id - Get template details
Credits
- GET /v1/credits/balance - Get credit balance
- GET /v1/credits/history - Get transaction history
API Keys
- POST /v1/api-keys - Create API key
- GET /v1/api-keys - List API keys
Webhooks
- POST /v1/webhooks - Register webhook
Usage Analytics
- GET /v1/usage/metrics - Get usage metrics
Response Format
All responses are JSON. Successful responses include relevant data:Rate Limits
All endpoints are rate limited. Monitor these headers:Pagination
List endpoints support pagination:| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (max 100) |
offset | integer | Number of items to skip |
Versioning
The API is versioned via the URL path (/v1/). Breaking changes will result in a new version (/v2/). Your existing integrations will continue working.
Support
- Documentation: docs.getbluma.com
- OpenAPI Spec: /v1/openapi.json
- Support: support@getbluma.com