Streaming Avatar SDK Quick Start
Learn what is the Streaming Avatar SDK
Overview
The JSSDK provides access to Akool Streaming Avatar services, enabling programmatic control of avatar interactions. You can connect and manage avatars in live sessions using WebSockets for seamless communication. This allows you to send text commands to avatars, enabling real-time speech with customizable voices. The JSSDK simplifies the creation, management, and termination of avatar sessions programmatically.
- Vanilla javascript and light weight dependency files
- Integrating interactive avatar just by one line js code
- Handling avatar interactions and responses
- Managing audio streams
The integration uses Agora’s Real-Time Communication (RTC) SDK for reliable, low-latency streaming and our avatar service for generating responsive avatar behaviors.
Prerequisites
-
Get your Akool API Token from Akool Authentication API
-
Basic knowledge of JavaScript and Http Request
Getting Started
1.To get started with the Streaming Avatar SDK, you just need one html page, and one div container:
2.Importing Streaming Avatar SDK and a few js code to access the interactive avatar stream.
or by vanilla js way
- Then you will get the result: