Overview
Whilter.AI’s Realtime Media API allows client systems (like chatbots or apps) to trigger personalized video generation dynamically. This API is optimized for rapid, transactional media creation based on real-time user input or actions.Step 1: Get Access Token
All API calls require a valid access token. GET/getToken
Request must be made from a whitelisted IP.Sample Response:
Step 2: Trigger New Video Generation
POST/video/demo
x-api-key: <provided-api-key>
Authorization: Bearer <access_token>
Step 3: Check Video Status
GET/status/<transaction-id>
x-api-key: <provided-api-key>
Authorization: Bearer <access_token>
Note: video-url
may initially be null. You can poll until the video is ready.
Optional: Webhook Notification (Recommended)
You may provide a webhook endpoint to receive video URLs automatically when the video is ready. POST/video-push-endpoint
Error Handling
Error Code | Description | Suggested Action |
---|---|---|
400 | Bad Request | Check input JSON or parameters |
404 | Endpoint Not Found | Check API URL |
500 | Server Error | Retry after some time or contact support |
API Reference
To explore detailed endpoints and example requests, see the Realtime Media API references.Need help integrating? Contact us or explore more API references in the sidebar.