GitHub Repository
Kotlin + Compose sample implementing the avatar pipeline: VAD → ASR → LLM → TTS → AvatarKit.
Prerequisites
- Android Studio (latest stable)
- JDK 17
- Android API 24+ device or emulator (arm64-v8a, real device recommended)
- Spatius credentials. See Credentials.
- App ID — from Spatius Studio
- Avatar ID — from the Avatar Library
- Session Token — see Session token API
- An OpenAI API key for the ASR + LLM + TTS pipeline used by the sample.
Run it
1
Clone and configure
local.properties:Session Token is not configured in files — paste it in the app UI at runtime.2
Build
adb install.3
Start a conversation
In the running app:
- Initialize the avatar.
- Paste your Session Token.
- Tap Start Conversation.
- Speak and pause to trigger a round.
What this validates
Next steps
Android SDK reference
Complete Android API documentation.
Browse all demos
Web (multi-framework) and iOS samples in addition to Android.

