livekit-plugins-spatius to send avatar speech audio to Spatius and receive Spatius-published audio and motion data in the LiveKit room.
Using LiveKit Agents
If you already use LiveKit Agents to build your voice agent, add livekit-plugins-spatius. The package hooks into your agent pipeline and sends agent audio to Spatius; Motion Server publishes the lip-synced audio and motion stream into your LiveKit room. For a working end-to-end project, see AvatarKit Voice Agent Demo.Install
Configure
Advanced: endpoint overrides
Advanced: endpoint overrides
For normal production use, set only
SPATIUS_REGION and the plugin composes the endpoints automatically. Leave it unset for us-west, or set it to ap-northeast or cn-beijing for another supported region. Set endpoint overrides only when proxying or testing against a staging environment.Advanced: LiveKit egress room
Advanced: LiveKit egress room
By default, Motion Server publishes the avatar into the same LiveKit room as the agent. For specialized routing setups, pass Use this only when your LiveKit routing intentionally separates the agent room from the room where clients receive avatar audio and motion data. In the default LiveKit Agents Integration flow, leave
livekit_room_name to publish the avatar into a different room:livekit_room_name unset and connect the client to the same room as the agent.
