runapi-volcengine-lip-sync 0.1.1__tar.gz → 0.2.0__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.
@@ -1,16 +1,18 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runapi-volcengine-lip-sync
3
- Version: 0.1.1
3
+ Version: 0.2.0
4
4
  Summary: RunAPI Volcengine Lip Sync SDK for audio-driven video-to-video lip sync workflows in JavaScript, Python, Ruby, Go, Java, and PHP
5
5
  Project-URL: Homepage, https://runapi.ai/models/volcengine-lip-sync
6
6
  Project-URL: Documentation, https://runapi.ai/docs#sdk-volcengine-lip-sync
7
7
  Project-URL: Source, https://github.com/runapi-ai/volcengine-lip-sync-sdk
8
8
  Project-URL: Issues, https://github.com/runapi-ai/volcengine-lip-sync-sdk/issues
9
+ Project-URL: Changelog, https://github.com/runapi-ai/volcengine-lip-sync-sdk/blob/main/CHANGELOG.md
10
+ Project-URL: Release Notes, https://github.com/runapi-ai/volcengine-lip-sync-sdk/releases/tag/python%2Fv0.2.0
9
11
  Author-email: RunAPI <contact@runapi.ai>
10
12
  License-Expression: Apache-2.0
11
13
  Keywords: api,golang,gradle,java,lip-sync,lip-sync-api,maven,python,ruby,runapi,runapi-ai,sdk,typescript,video-api,video-generation,volcengine
12
14
  Requires-Python: >=3.9
13
- Requires-Dist: runapi-core>=0.1.4
15
+ Requires-Dist: runapi-core>=0.3.0
14
16
  Description-Content-Type: text/markdown
15
17
 
16
18
  # Volcengine Lip Sync API Python SDK for RunAPI
@@ -4,20 +4,22 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "runapi-volcengine-lip-sync"
7
- version = "0.1.1"
7
+ version = "0.2.0"
8
8
  description = "RunAPI Volcengine Lip Sync SDK for audio-driven video-to-video lip sync 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", "volcengine", "lip-sync", "api", "sdk", "typescript", "python", "ruby", "golang", "java", "maven", "gradle", "video-generation", "video-api", "lip-sync-api"]
14
- dependencies = ["runapi-core>=0.1.4"]
14
+ dependencies = ["runapi-core>=0.3.0"]
15
15
 
16
16
  [project.urls]
17
17
  Homepage = "https://runapi.ai/models/volcengine-lip-sync"
18
18
  Documentation = "https://runapi.ai/docs#sdk-volcengine-lip-sync"
19
19
  Source = "https://github.com/runapi-ai/volcengine-lip-sync-sdk"
20
20
  Issues = "https://github.com/runapi-ai/volcengine-lip-sync-sdk/issues"
21
+ Changelog = "https://github.com/runapi-ai/volcengine-lip-sync-sdk/blob/main/CHANGELOG.md"
22
+ "Release Notes" = "https://github.com/runapi-ai/volcengine-lip-sync-sdk/releases/tag/python%2Fv0.2.0"
21
23
 
22
24
  [tool.hatch.build.targets.wheel]
23
25
  packages = ["src/runapi"]
@@ -4,16 +4,15 @@ from __future__ import annotations
4
4
 
5
5
  from typing import Any, Optional
6
6
 
7
- from runapi.core import ClientOptions, HttpClient, resolve_api_key
7
+ from runapi.core import ProviderClient
8
8
 
9
9
  from .resources.lip_sync_video import LipSyncVideo
10
10
 
11
11
 
12
- class VolcengineLipSyncClient:
12
+ class VolcengineLipSyncClient(ProviderClient):
13
13
  """Volcengine Lip Sync client."""
14
14
 
15
15
  def __init__(self, api_key: Optional[str] = None, **options: Any) -> None:
16
- resolved_api_key = resolve_api_key(api_key)
17
- client_options = ClientOptions(api_key=resolved_api_key, **options)
18
- http = client_options.http_client or HttpClient(client_options)
16
+ super().__init__(api_key, **options)
17
+ http = self._http
19
18
  self.lip_sync_video = LipSyncVideo(http)