runapi-omnihuman 0.1.2__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/PKG-INFO +7 -7
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/README.md +3 -3
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/pyproject.toml +4 -4
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/client.py +4 -5
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/__init__.py +0 -0
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/contract_gen.py +0 -0
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/py.typed +0 -0
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/resources/__init__.py +0 -0
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/resources/audio_to_video.py +0 -0
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/resources/human_identification.py +0 -0
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/resources/subject_detection.py +0 -0
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/types.py +0 -0
- {runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/tests/test_client.py +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runapi-omnihuman
|
|
3
|
-
Version: 0.1
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: RunAPI OmniHuman SDK for audio-to-video and image helper workflows in JavaScript, Python, Ruby, Go, Java, and PHP
|
|
5
5
|
Project-URL: Homepage, https://runapi.ai/models/omnihuman
|
|
6
|
-
Project-URL: Documentation, https://runapi.ai/docs
|
|
6
|
+
Project-URL: Documentation, https://runapi.ai/docs/resources/sdks
|
|
7
7
|
Project-URL: Source, https://github.com/runapi-ai/omnihuman-sdk
|
|
8
8
|
Project-URL: Issues, https://github.com/runapi-ai/omnihuman-sdk/issues
|
|
9
9
|
Project-URL: Changelog, https://github.com/runapi-ai/omnihuman-sdk/blob/main/CHANGELOG.md
|
|
10
|
-
Project-URL: Release Notes, https://github.com/runapi-ai/omnihuman-sdk/releases/tag/python%2Fv0.1
|
|
10
|
+
Project-URL: Release Notes, https://github.com/runapi-ai/omnihuman-sdk/releases/tag/python%2Fv0.2.1
|
|
11
11
|
Author-email: RunAPI <contact@runapi.ai>
|
|
12
12
|
License-Expression: Apache-2.0
|
|
13
13
|
Keywords: api,audio-to-video,golang,gradle,java,maven,omnihuman,omnihuman-api,python,ruby,runapi,runapi-ai,sdk,typescript,video-api,video-generation
|
|
14
14
|
Requires-Python: >=3.9
|
|
15
|
-
Requires-Dist: runapi-core>=0.
|
|
15
|
+
Requires-Dist: runapi-core>=0.3.3
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
|
|
18
18
|
# OmniHuman Python SDK for RunAPI
|
|
19
19
|
|
|
20
20
|
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.
|
|
21
21
|
|
|
22
|
-
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
|
|
22
|
+
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.
|
|
23
23
|
|
|
24
24
|
## Install
|
|
25
25
|
|
|
@@ -54,8 +54,8 @@ Pass parameters as keyword arguments and catch the `runapi.omnihuman` error clas
|
|
|
54
54
|
## Links
|
|
55
55
|
|
|
56
56
|
- Model page: https://runapi.ai/models/omnihuman
|
|
57
|
-
- SDK docs: https://runapi.ai/docs
|
|
58
|
-
- Product docs: https://runapi.ai/docs
|
|
57
|
+
- SDK docs: https://runapi.ai/docs/resources/sdks
|
|
58
|
+
- Product docs: https://runapi.ai/docs/api/omnihuman/audio-to-video
|
|
59
59
|
- Pricing and rate limits: https://runapi.ai/models/omnihuman/1.5
|
|
60
60
|
- Human identification: https://runapi.ai/models/omnihuman/1.5-human-identification
|
|
61
61
|
- Subject detection: https://runapi.ai/models/omnihuman/1.5-subject-detection
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
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.
|
|
4
4
|
|
|
5
|
-
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
|
|
5
|
+
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.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -37,8 +37,8 @@ Pass parameters as keyword arguments and catch the `runapi.omnihuman` error clas
|
|
|
37
37
|
## Links
|
|
38
38
|
|
|
39
39
|
- Model page: https://runapi.ai/models/omnihuman
|
|
40
|
-
- SDK docs: https://runapi.ai/docs
|
|
41
|
-
- Product docs: https://runapi.ai/docs
|
|
40
|
+
- SDK docs: https://runapi.ai/docs/resources/sdks
|
|
41
|
+
- Product docs: https://runapi.ai/docs/api/omnihuman/audio-to-video
|
|
42
42
|
- Pricing and rate limits: https://runapi.ai/models/omnihuman/1.5
|
|
43
43
|
- Human identification: https://runapi.ai/models/omnihuman/1.5-human-identification
|
|
44
44
|
- Subject detection: https://runapi.ai/models/omnihuman/1.5-subject-detection
|
|
@@ -4,22 +4,22 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "runapi-omnihuman"
|
|
7
|
-
version = "0.1
|
|
7
|
+
version = "0.2.1"
|
|
8
8
|
description = "RunAPI OmniHuman SDK for audio-to-video and image helper workflows in JavaScript, Python, Ruby, Go, Java, and PHP"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
11
11
|
license = "Apache-2.0"
|
|
12
12
|
authors = [{ name = "RunAPI", email = "contact@runapi.ai" }]
|
|
13
13
|
keywords = ["runapi", "runapi-ai", "omnihuman", "api", "sdk", "typescript", "python", "ruby", "golang", "java", "maven", "gradle", "video-generation", "audio-to-video", "video-api", "omnihuman-api"]
|
|
14
|
-
dependencies = ["runapi-core>=0.
|
|
14
|
+
dependencies = ["runapi-core>=0.3.3"]
|
|
15
15
|
|
|
16
16
|
[project.urls]
|
|
17
17
|
Homepage = "https://runapi.ai/models/omnihuman"
|
|
18
|
-
Documentation = "https://runapi.ai/docs
|
|
18
|
+
Documentation = "https://runapi.ai/docs/resources/sdks"
|
|
19
19
|
Source = "https://github.com/runapi-ai/omnihuman-sdk"
|
|
20
20
|
Issues = "https://github.com/runapi-ai/omnihuman-sdk/issues"
|
|
21
21
|
Changelog = "https://github.com/runapi-ai/omnihuman-sdk/blob/main/CHANGELOG.md"
|
|
22
|
-
"Release Notes" = "https://github.com/runapi-ai/omnihuman-sdk/releases/tag/python%2Fv0.1
|
|
22
|
+
"Release Notes" = "https://github.com/runapi-ai/omnihuman-sdk/releases/tag/python%2Fv0.2.1"
|
|
23
23
|
|
|
24
24
|
[tool.hatch.build.targets.wheel]
|
|
25
25
|
packages = ["src/runapi"]
|
|
@@ -4,14 +4,14 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
from typing import Any, Optional
|
|
6
6
|
|
|
7
|
-
from runapi.core import
|
|
7
|
+
from runapi.core import ProviderClient
|
|
8
8
|
|
|
9
9
|
from .resources.audio_to_video import AudioToVideo
|
|
10
10
|
from .resources.human_identification import HumanIdentification
|
|
11
11
|
from .resources.subject_detection import SubjectDetection
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
class OmnihumanClient:
|
|
14
|
+
class OmnihumanClient(ProviderClient):
|
|
15
15
|
"""OmniHuman audio-to-video and helper endpoint client.
|
|
16
16
|
|
|
17
17
|
Example::
|
|
@@ -25,9 +25,8 @@ class OmnihumanClient:
|
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
def __init__(self, api_key: Optional[str] = None, **options: Any) -> None:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
http = client_options.http_client or HttpClient(client_options)
|
|
28
|
+
super().__init__(api_key, **options)
|
|
29
|
+
http = self._http
|
|
31
30
|
self.audio_to_video = AudioToVideo(http)
|
|
32
31
|
self.human_identification = HumanIdentification(http)
|
|
33
32
|
self.subject_detection = SubjectDetection(http)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/resources/__init__.py
RENAMED
|
File without changes
|
{runapi_omnihuman-0.1.2 → runapi_omnihuman-0.2.1}/src/runapi/omnihuman/resources/audio_to_video.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|