Docs index: /llms.txt · every page as Markdown: add .md

‹ Overview

On-device avatar SDK for iPhone, iPad and Android

Render Essence 2 and Expression 2 avatars on iPhone, iPad, Mac and Android.

Creator plan or higherOn the deviceIn the browser (WebGPU)Physical deviceAPI secretSwift package 3.0.0essence2-android 0.10.3expression2-android 0.6.2Flutter plugin 2.6.40Python 2.12.11CLI 2.8.11

bitHuman’s SDKs render a lip-synced avatar on the device in front of the user, with no render server. Essence 2 and Expression 2 render on iPhone, iPad and Mac with the Swift package, on Android arm64 with the Android SDK, on macOS (Apple silicon) and Linux x86_64 / arm64 with the CLI and the Python SDK, and in a browser tab with WebGPU.

Your app passes in 16 kHz mono speech from any voice stack and draws the frames, so the persona, the voice and the language model are yours to choose.

Which model runs where

Essence 2 renders a photoreal person from one portrait; Expression 2 renders any character (people, animals, cartoons) from one portrait.

PlatformSDKEssence 2Expression 2
iPhone and iPadSwift package (Essence2Kit, Expression2)iOS 26 or newer, physical deviceiOS 16 or newer; also runs in the Simulator
Mac (Apple silicon)Swift package, or the CLI and the Python SDKyes; macOS 26 or newer with the Swift packageyes; macOS 13 or newer with the Swift package
Android arm64Android SDK (essence2-android, expression2-android)physical device, minSdk 29physical device, minSdk 26
Android, iOS and macOS from DartFlutter pluginyesyes
Linux x86_64 / arm64CLI, Python SDKyesyes
A browser tabweb embed with render=local (WebGPU)yesyes

Essence 1 and Expression 1 are not available on phones or in the Swift package. Every model and every place, side by side: Where each model runs.

Install

Each install line below is the one on its platform page, which also covers authentication and the first frame.

iPhone, iPad and Mac

// Package.swift (or Xcode → Add Package Dependencies)
.package(url: "https://gitlab.com/bithuman/sdk/homebrew-bithuman", from: "3.0.0")

Then attach the product your target uses: Expression2 or Essence2Kit. The products and their deployment targets are on iOS & iPadOS.

Android

Each model is one Gradle dependency, from bitHuman’s Maven repository at maven.bithuman.ai:

// settings.gradle.kts, in dependencyResolutionManagement { repositories { … } }
exclusiveContent {   // ai.bithuman resolves from bitHuman's repository only
    forRepository { maven { url = uri("https://maven.bithuman.ai") } }
    filter { includeGroup("ai.bithuman") }
}
// app/build.gradle.kts
implementation("ai.bithuman:expression2-android:0.6.2")
// or: implementation("ai.bithuman:essence2-android:0.10.3")

The full Gradle setup (arm64-v8a, legacy packaging, the API secret through BuildConfig) is on Android.

Flutter

dependencies:
  bithuman:
    git:
      url: https://gitlab.com/bithuman/sdk/homebrew-bithuman.git
      path: packages/flutter-plugin
      ref: flutter-plugin-v2.6.40

Then run flutter pub get. The Android settings the plugin needs are on Flutter.

Linux and macOS

python3 -m venv .venv
source .venv/bin/activate
pip install "bithuman[expression-2]"   # Expression 2
pip install "bithuman[essence-2]"      # Essence 2
# Linux, x86_64 or arm64 (Debian/Ubuntu); the download includes livekit-server
sudo apt install -y ffmpeg python3-venv
curl -fsSL https://install.bithuman.ai | sh

On macOS, install the CLI with Homebrew: CLI.

A browser tab

<iframe src="https://www.bithuman.ai/embed/A23WJF0199?render=local" allow="microphone *"
        style="width:100%;height:600px;border:0"></iframe>

With render=local the tab checks the device first; if the device can’t render the avatar in real time, the page says so and no session starts. Details: WebGPU.

Network and data

  • Online: phones, Macs and browsers stay online. The Swift package, the Android SDK and the web embed check your credential when a session starts, and an on-device session keeps rendering through a network drop of up to 5 minutes.
  • In your app: when the avatar renders in your app on the device and you use your own voice and language services, bitHuman receives usage metering only, never audio, video or conversation text.
  • In the browser: with the web embed, the conversation runs on bitHuman’s servers, even when the avatar renders in the tab.
  • First run: each avatar downloads once, then stays on the device.
  • Devices: Android, and Essence 2 on iPhone and iPad, need a physical device, not an emulator or the Simulator.

More on each: On the device.

Speed

Every published configuration renders faster than real time. Measured on the device, including 10-minute held runs:

ConfigurationEssence 2Expression 2
iPhone 15 iPhone · Swift package
2.1× real timeiPhone 15 · Swift package 2.17.3 · measured 2026-09-27
5.5× real timeiPhone 15 · Swift package 2.18.0 · measured 2026-09-27
Samsung Galaxy S25+ Android
2.0× real timeSamsung Galaxy S25+ · essence2-android 0.7.0 · measured 2026-09-25
2.4× real timeSamsung Galaxy S25+ · expression2-android 0.4.10 · measured 2026-09-23
Chrome on Apple M5 Web browser (WebGPU)
4.0× real timeChrome on Apple M5 · web viewer dcba335 · measured 2026-10-08
2.4× real timeChrome on Apple M5 · web viewer dcba335 · measured 2026-10-08
Apple M4 iMac (Mac16,3, 10-core GPU) macOS · Swift package
4.3× real timeApple M4 iMac (Mac16,3, 10-core GPU) · Swift package 2.21.4 · measured 2026-10-08
8.8× real timeApple M4 iMac (Mac16,3, 10-core GPU) · Swift package 2.21.4 · measured 2026-10-08

Times real time: seconds of avatar video rendered per second. At 1.0× or more, an avatar holds a live conversation. Select a figure for its release and date. All configurations and how we measure.

The browser row is the engine’s render speed in the tab, not the frame rate a visitor sees.

Price

The SDKs need the Creator plan or higher. Rendering on the device bills a lower rate than the bitHuman cloud.

2 credits per minute for Essence 2 and Expression 2, about $0.02 a minute at the top-up rate of $1 = 100 credits. Billing: How billing works. Every rate: Pricing and credits.