Streaming API

HeyGen's Streaming API allows developers to seamlessly integrate dynamic Interactive Avatars into their applications for immersive user experiences. With this API, you can display an Interactive Avatar in a real-time seting to create virtual assistants, training simulations, and more, utilizing low-latency communication between users and Interactive Avatars with power of WebRTC.

You can test the Streaming API with your Trial token.

Quick Start

For a quick start, you can use our Interactive Avatar Demo GitHub repository. or install our NPM Package. directly to your project.

Please see the GitHub projects for installation instructions.

More Information

For more information about testing the Streaming API, including pricing information, please read our Interactive Avatar 101 Help center article

About the Streaming Protocol

The Streaming Avatar API leverages the WebRTC (Web Real-Time Communication) protocol to ensure low-latency, secure communication between browsers and applications. This foundational technology offers advantages including low latency, cross-browser compatibility, data security, and scalability. For detailed information on WebRTC, visit the WebRTC website or WebRTC API page on MDN.

Use Cases

From interactive e-learning and gaming to virtual customer support and immersive entertainment, Interactive Avatars have the potential to transform industries.

In summary, the Streaming API empowers developers to create dynamic and interactive experiences by embedding Interactive Avatars into apps and websites of all kinds. Whether you're building virtual assistants, customer support, or immersive training simulations, this API offer the tools needed to bring avatars to life within your applications, marking a significant advancement in user engagement and interactivity.