azure-avatar

Integrate Azure Voice Live API and GPT-Realtime for real-time AI avatar streaming.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/samelhousseini/microhacks --skill azure-avatar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-avatar
Source: https://github.com/samelhousseini/microhacks/tree/main/.github/skills/azure-avatar
Command: npx skills add https://github.com/samelhousseini/microhacks --skill azure-avatar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires flask, flask-cors, requests, websocket-client, azure-cognitiveservices-speech, python-dotenv, and includes scripts (resource) components.

What problem does it solve?

The Azure Avatar Skill provides a plug-and-play solution for creating real-time AI avatars by integrating Azure Voice Live API and GPT-Realtime, enabling interactive avatars in applications without building the entire media pipeline from scratch.

Core Features & Use Cases

  • Real-time Avatar Streaming: Use WebSocket-based Voice Live API or WebRTC to stream avatar video and audio to your UI.
  • Two Connection Modes: Choose between a built-in avatar via Voice Live WebSocket or a direct GPT-Realtime WebRTC session for lower latency.
  • Token & Session Management: Handles ICE tokens, ephemeral WebRTC tokens, and session/config updates to simplify integration.
  • Use Case: Build customer support avatars or virtual assistants that respond in real-time within dashboards or portals.

Quick Start

Install dependencies, configure credentials, and run the demo. See SKILL.md for setup details and example commands.

Frequently Asked Questions about azure-avatar

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a real-time AI avatar using Azure Voice Live API and WebRTC?

Real-time AI avatar streaming via Azure Voice Live API is achieved by configuring WebSocket endpoints, handling SDP negotiation, and managing session updates to render interactive avatar video and audio directly in your application UI.

What is the difference between WebSocket and WebRTC connection modes for Azure avatars?

Azure avatars support two connection modes: a built-in avatar via Voice Live WebSocket for standard streaming, and a direct GPT-Realtime WebRTC session designed to provide lower latency for interactive applications.

How do I handle ICE and ephemeral tokens for WebRTC avatar sessions?

You handle WebRTC avatar tokens by utilizing the Skill's built-in management for ICE tokens, ephemeral WebRTC tokens, and session updates, which simplifies the authentication setup for real-time streaming.

Do I need Flask to run the Azure avatar streaming demo?

Yes, you need Flask and flask-cors to run the demo. You must also install websocket-client, azure-cognitiveservices-speech, requests, and python-dotenv to configure credentials and execute the avatar streaming scripts.

Can I use this Azure avatar solution for a customer support virtual assistant?

Yes, this Skill is designed for building customer support avatars and virtual assistants that respond in real-time within business dashboards or portals using interactive audio and video streaming.