Customizations
Closed Captions
Enable closed captions for accessibility or live transcription during conversations.
Enable Captions in Real Time During the Conversation
1
Step 1: Get an API Key
- Go to the Tavus platform and select API Key from the sidebar menu.
- Click Create New Key to begin generating your API key.
- Enter a name for the key and (optional) specify allowed IP addresses, then click Create API Key.
- Copy your newly created API key and store it securely.
We cannot recover your API Key if you lose it.
2
Step 2: Create Your Conversation
In this example, we will use stock replica ID rfe12d8b9597 (Nathan) and stock persona ID pdced222244b (Sales Coach).
To enable closed captions, set the enable_closed_captions
parameter to true
when creating the conversation:
cURL
Note: Replace <api_key>
with your actual API key.
3
Step 3: Join the Conversation
To join the conversation, click the link in the conversation_url field from the response:
Closed captions will appear during the conversation whenever you or the replica speaks.