Flutter Direct Mode demo
Flutter reference implementation for the Direct Mode path.
SDK package setup
Add the package to yourpubspec.yaml:
pubspec.yaml
Integration flow
Create credentials
Create an App ID and Avatar ID in Spatius Studio, then mint a Session Token from your backend. See Credentials.
Initialize AvatarKit
Initialize the Flutter package with your App ID, Avatar ID, Session Token, and selected region.
Send avatar speech audio
Send PCM16 mono avatar speech audio to AvatarKit. Motion Server returns motion data, and AvatarKit renders the avatar locally through the native platform renderer. For audio source and timing guidance, see Audio.
Next steps
Flutter SDK reference
Package install, initialization, and core API shape.
Browse all demos
Every runnable demo by platform and integration path.

