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.

$0.04 per speech minute API preview

Endpoint

POST /v1/live/sessions

Processing Flow

  1. Speech-to-text
  2. Intelligence
  3. Text-to-speech
  4. 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.