videosdk-plugins-lmnt 0.0.31__py3-none-any.whl → 0.0.32__py3-none-any.whl

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.

Potentially problematic release.


This version of videosdk-plugins-lmnt might be problematic. Click here for more details.

@@ -29,6 +29,7 @@ class LMNTTTS(TTS):
29
29
  def __init__(
30
30
  self,
31
31
  *,
32
+ api_key: Optional[str] = None,
32
33
  voice: str = DEFAULT_VOICE,
33
34
  model: str = DEFAULT_MODEL,
34
35
  language: _LanguageCode = DEFAULT_LANGUAGE,
@@ -37,9 +38,22 @@ class LMNTTTS(TTS):
37
38
  seed: Optional[int] = None,
38
39
  temperature: float = 1.0,
39
40
  top_p: float = 0.8,
40
- api_key: Optional[str] = None,
41
41
  base_url: str = LMNT_API_BASE_URL,
42
42
  ) -> None:
43
+ """Initialize the LMNT TTS plugin.
44
+
45
+ Args:
46
+ api_key (Optional[str], optional): LMNT API key. Defaults to None.
47
+ voice (str): The voice to use for the TTS plugin. Defaults to "ava".
48
+ model (str): The model to use for the TTS plugin. Defaults to "blizzard".
49
+ language (_LanguageCode): The language to use for the TTS plugin. Defaults to "auto".
50
+ format (_FormatType): The format to use for the TTS plugin. Defaults to "wav".
51
+ sample_rate (_SampleRate): The sample rate to use for the TTS plugin. Must be one of: 8000, 16000, 24000. Defaults to 24000.
52
+ seed (Optional[int], optional): The seed to use for the TTS plugin. Defaults to None.
53
+ temperature (float): The temperature to use for the TTS plugin. Defaults to 1.0.
54
+ top_p (float): The top_p to use for the TTS plugin. Defaults to 0.8.
55
+ base_url (str): The base URL to use for the TTS plugin. Defaults to "https://api.lmnt.com".
56
+ """
43
57
  super().__init__(sample_rate=sample_rate, num_channels=LMNT_CHANNELS)
44
58
 
45
59
  self.voice = voice
@@ -1 +1 @@
1
- __version__ = "0.0.31"
1
+ __version__ = "0.0.32"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: videosdk-plugins-lmnt
3
- Version: 0.0.31
3
+ Version: 0.0.32
4
4
  Summary: VideoSDK Agent Framework plugin for LMNT AI Text-to-Speech services
5
5
  Author: videosdk
6
6
  License-Expression: Apache-2.0
@@ -13,7 +13,7 @@ Classifier: Topic :: Multimedia :: Video
13
13
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
14
14
  Requires-Python: >=3.11
15
15
  Requires-Dist: httpx>=0.24.0
16
- Requires-Dist: videosdk-agents>=0.0.31
16
+ Requires-Dist: videosdk-agents>=0.0.32
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # VideoSDK LMNT AI Plugin
@@ -0,0 +1,6 @@
1
+ videosdk/plugins/lmnt/__init__.py,sha256=JI72LJNs0cCg3S1lweyO-yiBLnViM6Dfp4zPvYJkDJQ,56
2
+ videosdk/plugins/lmnt/tts.py,sha256=Gs_QkKNQqLp1GpiOJSPz-gfpCYA1KLD4EBs97SJ5aIk,9039
3
+ videosdk/plugins/lmnt/version.py,sha256=WKDnjJM7gYpD9fIwhK2qAZICJAT2ndquQ6VcOar074Y,23
4
+ videosdk_plugins_lmnt-0.0.32.dist-info/METADATA,sha256=mEy9PIu2HvtmDiHuEiw1OwFCcKNlHw79pZgb07xpIjs,806
5
+ videosdk_plugins_lmnt-0.0.32.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
+ videosdk_plugins_lmnt-0.0.32.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- videosdk/plugins/lmnt/__init__.py,sha256=JI72LJNs0cCg3S1lweyO-yiBLnViM6Dfp4zPvYJkDJQ,56
2
- videosdk/plugins/lmnt/tts.py,sha256=iuz_zEKkeLO6ewPfm2Nbh8t4h5cIDwEZK7_9dd4WiXA,8021
3
- videosdk/plugins/lmnt/version.py,sha256=YRrMDApG1V6fNZdI4BA631DmsqtamSXgI1yu0tnt4h0,23
4
- videosdk_plugins_lmnt-0.0.31.dist-info/METADATA,sha256=yGu_Y_tR6SbKAJ_advvO7JBs7HKvTem_VaNLVfFMXeg,806
5
- videosdk_plugins_lmnt-0.0.31.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
- videosdk_plugins_lmnt-0.0.31.dist-info/RECORD,,