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
muslpy 3.10–3.95 runs
build_error
glibcpy 3.10–3.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)
Audit
Dependencies
numpyrequiredCore dependency for numerical operations
opencv-pythonrequiredVideo processing and display
requestsrequiredAPI calls