Initiates a session.
Upon successful creation, the API returns a session token that can be safely used in Web SDK.
There are a few ways to process what a user says and what avatar says.
It’s configured via the conversation engine. Currently, OpenAI Realtime API-based and text-based echo (legacy) engines are supported. Reach out to us if you want to integrate with something else.
avaturn.live API key
Avatar ID
Text-based echo conversation engine.
Allows controlling what avatar says with text. The text is converted into audio using TTS engine. Multiple TTS engines are supported.
Background type for the avatar. 'transparent' removes the background, 'default' uses the avatar's default background
transparent, default delta, golf