session
Create and start a Real-Time API Session
With the Beyond Presence Real-Time API you are able to turn audio and text into hyper-realistic avatars in real-time.
Once a session is created, the selected avatar will automatically join the WebRTC room and will start streaming audio and video to the user.
post/v1/session
Request body
Example request
{
"avatar_id": "01234567-89ab-cdef-0123-456789abcdef",
"livekit_url": "wss://<your-domain>.livekit.cloud",
"livekit_token": "<your-livekit-token>"
}Response
Successful Response
Example response
{
"id": "01234567-89ab-cdef-0123-456789abcdef",
"created_at": "2022-01-01T00:00:00Z",
"avatar_id": "01234567-89ab-cdef-0123-456789abcdef",
"livekit_url": "wss://<your-domain>.livekit.cloud",
"livekit_token": "<your-livekit-token>"
}