Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spatius.ai/llms.txt

Use this file to discover all available pages before exploring further.

The Server SDK is the required backend side of Backend Mode Integration. It authenticates with your Spatius API Key, opens the Motion Server connection, sends avatar speech audio, and receives encoded audio and motion messages.

Responsibilities

Server SDK responsibilityDescription
AuthenticateUse the backend-only API Key to create and start an avatar session.
Connect to Motion ServerOwn the WebSocket connection to Spatius.
Send avatar speech audioSend the TTS output or other avatar speech audio to Motion Server.
Receive encoded messagesReceive the audio and motion messages your clients will render.
Hand off to transportDeliver those encoded messages to clients over your own WebSocket, LiveKit Room, or another transport.
Client apps do not use your API Key. In Backend Mode Integration, your backend owns the Spatius credentials and Motion Server connection.

Next steps

Python Server SDK

Session lifecycle, audio input, callbacks, and egress options.

Go Server SDK

Go backend SDK reference and lifecycle.

Browse all demos

Every runnable demo by platform and integration path.