Optional agentThe ID of the LemonSlice agent to add to the session. Exactly one of agentId, agentImageUrl, or agentImage must be provided.
Optional agentA prompt that subtly influences the avatar's movements and expressions while idle.
Optional agentA local image file path or Buffer to upload as the agent's avatar. Exactly one of agentId, agentImageUrl, or agentImage must be provided.
Optional agentMIME type for the agentImage when provided as a Buffer (e.g. 'image/png'). Defaults to 'image/png'.
Optional agentThe URL of the image to use as the agent's avatar. Exactly one of agentId, agentImageUrl, or agentImage must be provided.
Optional agentA prompt that subtly influences the avatar's movements and expressions while responding.
Optional apiThe LemonSlice API key. Can also be set via LEMONSLICE_API_KEY environment variable.
Optional apiThe LemonSlice API URL. Defaults to https://lemonslice.com/api/liveai/sessions or LEMONSLICE_API_URL environment variable.
Optional avatarThe identity of the avatar participant in the room. Defaults to 'lemonslice-avatar-agent'.
Optional avatarThe name of the avatar participant in the room. Defaults to 'lemonslice-avatar-agent'.
Optional connConnection options for API requests.
Optional extraAdditional payload fields to merge into the LemonSlice session creation request.
Optional idleThe idle timeout, in seconds. Defaults to 60 seconds.
Options for configuring an AvatarSession.