Full conversational avatar API
Liforma Live API
Use Live when you want Liforma to handle the complete real-time loop: speech-to-text, intelligence, text-to-speech, and animation.
Endpoint
POST /v1/live/sessionsProcessing Flow
- Speech-to-text
- Intelligence
- Text-to-speech
- Animation
Request
{
"avatar": "aria",
"voice": "warm-tutor",
"system": "You are a patient maths tutor.",
"client_session_id": "session_123"
}Response
{
"session_id": "live_8db2",
"websocket_url": "wss://api.liforma.ai/v1/live/live_8db2",
"billing": "speech_minutes"
}Billing Notes
Liforma bills by generated speech and animation time, not by wall-clock session time. If the avatar is silent, you are not paying for speech minutes.