Skip to main content
Integrate your own LLM API keys and endpoints with LiveAvatar instead of using the platform’s default.

When to use this

  • You have an existing streamable LLM setup you want to maintain
  • You need privacy protections that preclude using LiveAvatar’s built-in LLM
  • You need access to language models not currently supported by the platform

Setup

Step 1: Register your API key

Store your API credentials securely. LiveAvatar encrypts secrets using Amazon KMS.
The response returns a secret_id for future reference.

Step 2: Configure your LLM endpoint

Create an LLM configuration with your endpoint details:
The base_url is optional and defaults to OpenAI. Your endpoint must comply with the OpenAI API specification and use the /chat/completions route.
The response returns an llm_configuration_id.

Step 3: Start a session with your LLM

Set llm_configuration_id in your session token:

Supported systems

Any OpenAI-compatible endpoint using the /chat/completions protocol. This includes OpenAI directly, Azure OpenAI, and custom endpoints that wrap other providers.