Skip to main content
Use this quickstart to run a ready-made Speech-to-Avatar demo in a few minutes. This page focuses on running the demo fast. Code-level explanation is in the Guide page.

GitHub Repository

Source code for this quickstart.

Code Walkthrough

File-by-file explanation of the implementation.

Prerequisites

  • Node.js 18+
  • pnpm
  • SpatialReal credentials:
    • VITE_SPATIALREAL_APP_ID
    • VITE_SPATIALREAL_AVATAR_ID
    • VITE_SPATIALREAL_SESSION_TOKEN (how to generate)
1

Clone the repo and enter the quickstart folder

2

Create env file

Update .env with your own values:
.env
3

Install and run

Open http://localhost:3000, click Connect Avatar, then click Send Audio.

Next