Add a talking 3D AI avatar to your web app. Samples and tools for the Perxona Connect SDK: drop in the <sv-presenter> web component, pick an avatar, scene and voice, and it speaks with lip-sync.

Mia, the interviewer in the InterviewCoach demo, asking her first question. Recorded from a stock clone of this repo. (MP4)
📘 Developer Handbook (Markdown mirror · llms.txt) · 💬 Discussions · 🎭 Showcase
Quick start (5–15 minutes)
Needs Node 22+ and a free Perxona Connect account (sign up).
git clone https://github.com/XRSPACE-Inc/perxona-connect-kit.git
cd perxona-connect-kit/samples/express
cp .env.example .env # add your API base URL + secret and publishable Connect API keys
npm install
npm run dev # open http://localhost:8083
Create both keys in the console: open the avatar menu (top right), then Management → Integration → Connect API keys. Full steps in samples/express/README.md.
No laptop setup? Deploy the same sample to Vercel. It asks for the two keys and gives you a public URL in about a minute.
What you can build
Best fit: products where the avatar is the product, not a widget on the side.
- Practice and training: mock interviews, customer-service drills, exam and language practice. See InterviewCoach, built on this kit.
- Reception and concierge: hotel check-in, clinic front desk, store greeter, answering from your own knowledge file in Japanese, English or 繁體中文. See Maker, an event concierge built on this kit.
- A face for your agent: your chat endpoint in,
present()out. Give an existing LLM agent a voice and a face in about thirty lines. - Characters: VTuber-style or companion characters from your own
.vrmfile (VRM uploader).
Community builds live on the Showcase.
Plans and billing
Connect Kit sign-ups start on the Perxona Console Free Plan. See pricing. If a call returns code: 1003 or 14005, see Billing errors below.
Samples
samples/express/— an Express-based starter that shows the basic Connect flow. Seesamples/express/README.mdfor setup and usage.samples/express/public/demos/interview/— InterviewCoach, a mock-interview practice app built on the starter: app-driven emotions, a purpose-built chatbot created from code, three languages with per-language voices. Built in about 18 minutes from this repo and the handbook.samples/maker/— Maker, a live 3D matchmaker for community events, by Angie Chen. Try it: https://perxona-maker.onrender.com
Tools
tools/vrm-uploader/— a shell script that checks your own.vrmfile and uploads it as an avatar. Seetools/vrm-uploader/README.mdfor setup and usage.
Built with Perxona
Shipped something on this kit? Add the badge to your README and post the link in Discussions so it can be featured on the Showcase.
[](https://github.com/XRSPACE-Inc/perxona-connect-kit)
Presenter SDK Integration FAQs
Common questions when integrating the <sv-presenter> Presenter SDK, across any sample in this repo. For
setup/environment issues specific to one sample, see its own README instead.
Why doesn't the avatar speak after present()? present() resolves with a PresentationResult whose success
is false — check the status message it surfaces (code/message) for why (e.g. no target resolved yet, or the
Connect API rejected the presentation request). Also confirm the presenter reached Ready first.
Why doesn't a motion cued via [MOTION ...] markup in present() play? Two common causes: the motion ID isn't
in the target avatar's motion catalog (check GET /api/v1/connect/assets/avatars/:id/motions for what it actually
supports); or the cue lands too close to the end of the speech — motion playback stops when its accompanying speech
finishes, so a motion cued near the end of a sentence, or in a very short utterance, may not have enough time to
play. To play a motion on its own, independent of the speech queue, call presenter.playMotion(motionId) instead.
Billing errors
When credit enforcement starts, Connect Kit sign-ups are treated as Perxona Console Free Plan users by default. If that organization's credits are exhausted, or its subscription itself is no longer active, metered calls (such as chatbot chat) fail with the same HTTP 400 and code: 1003, with a body like one of these: {"code": 1003, "details": "credit_points exhausted for org_id: ..."} or
{"code": 1003, "details": "Subscription status is not valid for org_id: ..."} — the details field is what tells the two apart. A third, separate case — no subscription record for the org at all — fails with HTTP 403 and {"code": 14005, "details": "No active subscription found for org_id: ..."} instead. At that
point, sign in to Perxona Console (use the region matching your account)
with your Connect account credentials (see samples/express/README.md
for sign-up steps), open the organization management page, review Subscription, then top up credits or upgrade the plan.