Customizations
Background Customizations
Apply a green screen or custom background for a personalized visual experience.
Customize Background in Conversation Setup
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 apply the green screen background, set the apply_greenscreen
parameter to true
when creating the conversation:
cURL
Note: Replace <api_key>
with your actual API key.
3
Step 3: Customize the Background
The above request will return the following response:
The replica will appear with a green background. You can customize it using a WebGL-based on the front-end. This allows you to apply a different color or add a custom image.
To preview this feature, try our Green Screen Sample App. Paste the conversation URL to modify the background.