RunAPI OmniHuman SDK for audio-to-video and image helper workflows in JavaScript, Python, Ruby, Go, Java, and PHP
Project description
OmniHuman Python SDK for RunAPI
The OmniHuman Python SDK is the language-specific package for OmniHuman on RunAPI. Use this package for audio-driven talking-head video generation, human identification, and subject-mask detection when your application needs request bodies, task status lookup, and consistent RunAPI errors in Python.
This README is the Python package guide inside the public omnihuman-sdk repository. For the repository overview, start at ../README.md; for model details, use https://runapi.ai/models/omnihuman; for API reference, use https://runapi.ai/docs#omnihuman; for SDK docs, use https://runapi.ai/docs#sdk-omnihuman.
Install
pip install runapi-omnihuman
Quick start
from runapi.omnihuman import OmnihumanClient
client = OmnihumanClient() # reads RUNAPI_API_KEY, or pass api_key="sk-..."
task = client.audio_to_video.create(
model="omnihuman-1.5",
source_image_url="https://cdn.runapi.ai/public/samples/portrait.jpg",
source_audio_url="https://cdn.runapi.ai/public/samples/voice.mp3",
output_resolution="720p",
)
status = client.audio_to_video.get(task.id)
Use create when you want to submit a task and return quickly, get when you need the latest task state, and run when a script should create and poll until completion. In web request handlers, prefer create plus webhook or later get polling so a worker is not held open.
RunAPI-generated file URLs are temporary. Download and store generated videos, masks, or other files in your own durable storage within 7 days; do not treat returned URLs as long-term assets.
Language notes
Pass parameters as keyword arguments and catch the runapi.omnihuman error classes when building video jobs or scripts. The available resources are audio_to_video, human_identification, and subject_detection. Keep RUNAPI_API_KEY in the environment or your secret manager; never commit API keys or callback secrets.
Links
- Model page: https://runapi.ai/models/omnihuman
- SDK docs: https://runapi.ai/docs#sdk-omnihuman
- Product docs: https://runapi.ai/docs#omnihuman
- Pricing and rate limits: https://runapi.ai/models/omnihuman/1.5
- Human identification: https://runapi.ai/models/omnihuman/1.5-human-identification
- Subject detection: https://runapi.ai/models/omnihuman/1.5-subject-detection
- Provider comparison: https://runapi.ai/providers/bytedance
- Full catalog: https://runapi.ai/models
- Repository: https://github.com/runapi-ai/omnihuman-sdk
License
Licensed under the Apache License, Version 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file runapi_omnihuman-0.1.2.tar.gz.
File metadata
- Download URL: runapi_omnihuman-0.1.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad26b7ea51e3e02784e877b80701cdab8aa97a636bb3f210a4884090a54fc276
|
|
| MD5 |
4a18cb79e0f1938f612d802d61d5b0d0
|
|
| BLAKE2b-256 |
a38451807ef6f773772ae40e0fb0286b833a95fea4298c09d0a516a20ea03b64
|
File details
Details for the file runapi_omnihuman-0.1.2-py3-none-any.whl.
File metadata
- Download URL: runapi_omnihuman-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de309d3ea7217110615b215495863f92b70883eb5fbed77e058b955d0ccf92cf
|
|
| MD5 |
fd788ac42afa23ccca65056339471b75
|
|
| BLAKE2b-256 |
96c1cdf8a7375aeafcab414f527efe47cf15070ef73ce3f1c8c4ff3c95220fa1
|