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.
GitHub Repository
Minimal Web Direct Mode demo. Streams prerecorded PCM audio and renders the lip-synced avatar.
Prerequisites
- Node.js 18+
- pnpm
- Spatius credentials. See Credentials for what each value is and where to get it.
VITE_SPATIUS_APP_ID— from Spatius StudioVITE_SPATIUS_AVATAR_ID— from the Avatar LibraryVITE_SPATIUS_SESSION_TOKEN— see Session token API
Run it
What this validates
| Check | What it tells you |
|---|---|
| Avatar loads | App ID + Avatar ID are correct, asset CDN reachable. |
| Connect button succeeds | Session Token is valid, Motion Server connection works. |
| Audio plays with lip sync | PCM audio format and rendering pipeline are wired up end to end. |
Next steps
Direct Mode guide
Full Web SDK integration with your own audio source.
Browse all demos
Multi-framework Web references (React / Vue / Vanilla / Next.js) plus iOS, Android, and Flutter.