Create Session
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.
Documentation Index
Fetch the complete documentation index at: https://docs.avaturn.live/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
avaturn.live API key
Body
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.
- TextEchoEngineConfig
- OpenAIRealtimeAPICEConfig
Background type for the avatar. 'transparent' removes the background, 'default' uses the avatar's default background
transparent, default delta, golf Seconds to wait before terminating the session if no user is connected
x >= 10Maximum session duration in seconds (max 24 hours)
60 <= x <= 86400