Developers · Examples
Examples you can clone and run
Every example is a fresh clone of bithuman-examples.
Clone one and run it

iOS — Expression 2
A SwiftUI app with a talking character, rendered on the iPhone or iPad.
Swift · iPhone, iPad
Needs API secret, Xcode 26, an iPhone or iPad

iOS — Essence 2
A photoreal person with idle motion, rendered on the iPhone or iPad.
Swift · iPhone, iPad (iOS 26)
Needs API secret, Xcode 26, a physical iPhone or iPad

Mac — Expression 2
One Swift command-line tool: speech in, lip-synced frames out, on your Mac.
Swift · Mac (Apple silicon)
Needs API secret, Xcode 26

Android — Expression 2 and Essence 2
Two complete Gradle apps that render a talking avatar on the phone.
Kotlin · Android arm64
Needs API secret, a physical arm64 phone

Python quickstart
Open an avatar, play speech through it and watch it talk; conversation.py adds a voice conversation.
Python · Mac, Linux
Needs API secret

Python with LiveKit
A voice agent with a face: rendered on your own machine, or a bitHuman cloud avatar in your LiveKit room.
Python · Mac, Linux, LiveKit
Needs API secret, LiveKit, an OpenAI key

Next.js
A browser front end for an avatar agent in a LiveKit room.
TypeScript · Web
Needs LiveKit and an avatar agent (which needs an API secret)

Gradio web demo
Talk to an avatar in the browser through a Gradio page.
Python · Web (Python)
Needs API secret, an OpenAI key

Java WebSocket
Stream audio to an avatar server and get lip-synced frames back in Java.
Java · A Java client
Needs API secret

REST API (curl and Python)
Scripts for the REST calls: create an agent, make it speak, check your balance.
curl, Python · Any
Needs API secret

CLI recipes
Render a video or run a live avatar from the terminal, with no code.
Shell · Mac, Linux
Needs bithuman login
