Skip to main content

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/api/omnihuman/audio-to-video; for SDK docs, use https://runapi.ai/docs/resources/sdks.

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

License

Licensed under the Apache License, Version 2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runapi_omnihuman-0.2.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runapi_omnihuman-0.2.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file runapi_omnihuman-0.2.1.tar.gz.

File metadata

  • Download URL: runapi_omnihuman-0.2.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for runapi_omnihuman-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ee8e396af4649d9188bc40c3f831c7ea5a4892e00261d1510991dad0f70703a2
MD5 0c52beec5bd22f6d68ee59fb230e5689
BLAKE2b-256 fdc63b6d95114758a25cc91833fbf1e3383d068934dfb6eec42e30f7b2958909

See more details on using hashes here.

File details

Details for the file runapi_omnihuman-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: runapi_omnihuman-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for runapi_omnihuman-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 61f0ac00905b123add79ea8db984b2029caabc9fbb1830fc5681b1f3b376a3d4
MD5 ff813111ebf031ee91c438aadd584924
BLAKE2b-256 55bfd241ef2e104f6a8e37e3cc123b73d286fc725b00534292d0358433f3474e

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page