Skip to main content

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
Headers:
  • x-api-key: <provided-api-key>
  • Authorization: Bearer <access_token>
Request Body:
Response:

Step 3: Check Video Status

GET /status/<transaction-id>
Headers:
  • x-api-key: <provided-api-key>
  • Authorization: Bearer <access_token>
Response:
Note: video-url may initially be null. You can poll until the video is ready.

You may provide a webhook endpoint to receive video URLs automatically when the video is ready. POST /video-push-endpoint
Suggested Response:

Error Handling

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.