Embeddings

Create Embed V2

Changed on

Create an embed avatar with sandbox support.

post/v2/embeddings

Request

  • Base URL
    https://api.liveavatar.com
  • URL
    https://api.liveavatar.com/v2/embeddings
  • Auth
    API key in header X-API-KEY

Request body

avatar_idstring uuid required
context_idstring uuid
voice_idstring uuid
voice_agent_idstring uuid

Resolve voice / context from a stored voice_agent (the new primitive). Mutually exclusive with voice_id / context_id.

type'DEFAULT' | 'WIDGET'
max_session_durationinteger

Max session duration in seconds

default_languagestring

Default language code (e.g. 'en', 'es', 'multi')

is_sandboxboolean

Whether to enable sandbox mode for sessions

orientation'horizontal' | 'vertical'

Response

Successful Response

codeinteger
messagestring

Changes