Zeli AvatarDeveloper docs

Get started / Installation (Python)

Installation

Install the zeli-avatar package and its small, well-established async runtime stack.

Building for the browser?

This page is the Python SDK. The JavaScript and TypeScript SDK is @zeligate/zeli-avatar, it has zero runtime dependencies, and it installs in one line. See Installation (JavaScript).

Requirements

  • Python 3.10+
  • A Zeli Avatar account, an API key, and the hosted base URL: https://zeli-avatar.zelibot.xyz.
  • An available avatar session for streaming.
  • Network access to the server for both HTTP signalling and the WebRTC media connection.

Install

pip install zeli-avatar

The package is zeli-avatar on PyPI, with released versions, package metadata and installation files.

The display extra adds OpenCV and sounddevice, used by some examples to show video or play audio locally:

pip install "zeli-avatar[display]"

Core dependencies

The SDK builds on a small, well-established async stack:

PackageRole
aiortcWebRTC transport (audio + video).
aiohttpHTTP signalling and the control WebSocket.
av (PyAV)Decoded audio/video frames.
numpyArray conversion for frames.

aiortc pulls in native components (via PyAV/ffmpeg). Prebuilt wheels cover most platforms; if a build is triggered, ensure a recent pip and, on Linux, the usual ffmpeg build headers.

Verify

import zeli
print(zeli.__version__)

You're ready. Head to the Quickstart.

Zeli Avatar · real-time avatars over WebRTC · self-hostable · AU data residency · source