Registry / ai-ml / bithuman

bithuman

JSON →
library2.3.8pypypi✓ verified 81d ago

Real-time avatar engine (v1.10.8) generating lip-synced video and streaming live avatars to browsers at 100+ FPS on CPU. Requires Python >=3.9, supports ARM/x86/macOS. Active development with regular releases.

pip install bithuman
INSTALL
IMPORT
SIG · BITHUMAN
B
bithuman
ai-mlpythonv2.3.8
Install
13.2s avg
Import
Disk
464MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.3.8 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 13.2s · import 0.000s · 406MB
464MB installed
● package 464MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Bithuman
from bithuman import Bithuman
from bithuman import BithumanClient
AsyncBithuman
from bithuman import AsyncBithuman
Avatar
from bithuman import Avatar

Initialize client and generate a lip-synced video from text.

from bithuman import BithumanClient, AvatarConfig import os client = BithumanClient(api_key=os.environ.get('BITHUMAN_API_KEY', '')) config = AvatarConfig(avatar_id='default', language='en') result = client.generate_video(text='Hello, world!', config=config) print(result.video_url)
Debug
Known issues
breakingv1.5: 'Client' class renamed to 'BithumanClient'. Breakage if using old name.
fix
Update import: from bithuman import BithumanClient
affects: <1.5
deprecatedv1.6: 'AvatarConfig' was moved from bithuman.config to bithuman. Old import deprecated.
fix
Use: from bithuman import AvatarConfig
affects: >=1.6
gotchaThe 'generate_video' method requires a 'config' argument; passing just text fails silently with AttributeError.
fix
Always create an AvatarConfig object and pass it as config=config
affects: All
Upgrade
Version history
2.3.8latest on PyPI
Audit
Dependencies
numpyrequiredCore dependency for numerical operations
opencv-pythonrequiredVideo processing and display
requestsrequiredAPI calls
Agent activity
33 hits · last 30 days
node
28
OpenAI (training)
1
Resources
bithuman — pip install bithuman · libregistry