REST
Example
Pseudocode of backend API usage
Overview
This pseudocode demonstrates how to interact with Avaturn.Live API that manages sessions, allowing your backend to create sessions, control avatar speech within those sessions, and terminate sessions.
The example uses httpx
for asynchronous HTTP requests and pydantic
for serialization.