videosdk-plugins-elevenlabs 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-elevenlabs might be problematic. Click here for more details.
- videosdk/plugins/elevenlabs/tts.py +14 -1
- videosdk/plugins/elevenlabs/version.py +1 -1
- {videosdk_plugins_elevenlabs-0.0.31.dist-info → videosdk_plugins_elevenlabs-0.0.32.dist-info}/METADATA +2 -2
- videosdk_plugins_elevenlabs-0.0.32.dist-info/RECORD +6 -0
- videosdk_plugins_elevenlabs-0.0.31.dist-info/RECORD +0 -6
- {videosdk_plugins_elevenlabs-0.0.31.dist-info → videosdk_plugins_elevenlabs-0.0.32.dist-info}/WHEEL +0 -0
|
@@ -31,16 +31,29 @@ class ElevenLabsTTS(TTS):
|
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
33
33
|
*,
|
|
34
|
+
api_key: str | None = None,
|
|
34
35
|
model: str = DEFAULT_MODEL,
|
|
35
36
|
voice: str = DEFAULT_VOICE_ID,
|
|
36
37
|
speed: float = 1.0,
|
|
37
|
-
api_key: str | None = None,
|
|
38
38
|
response_format: str = "pcm_24000",
|
|
39
39
|
voice_settings: VoiceSettings | None = None,
|
|
40
40
|
base_url: str = API_BASE_URL,
|
|
41
41
|
enable_streaming: bool = True,
|
|
42
42
|
inactivity_timeout: int = WS_INACTIVITY_TIMEOUT,
|
|
43
43
|
) -> None:
|
|
44
|
+
"""Initialize the ElevenLabs TTS plugin.
|
|
45
|
+
|
|
46
|
+
Args:
|
|
47
|
+
api_key (Optional[str], optional): ElevenLabs API key. Uses ELEVENLABS_API_KEY environment variable if not provided. Defaults to None.
|
|
48
|
+
model (str): The model to use for the TTS plugin. Defaults to "eleven_flash_v2_5".
|
|
49
|
+
voice (str): The voice to use for the TTS plugin. Defaults to "EXAVITQu4vr4xnSDxMaL".
|
|
50
|
+
speed (float): The speed to use for the TTS plugin. Defaults to 1.0.
|
|
51
|
+
response_format (str): The response format to use for the TTS plugin. Defaults to "pcm_24000".
|
|
52
|
+
voice_settings (Optional[VoiceSettings], optional): The voice settings to use for the TTS plugin. Defaults to None.
|
|
53
|
+
base_url (str): The base URL to use for the TTS plugin. Defaults to "https://api.elevenlabs.io/v1".
|
|
54
|
+
enable_streaming (bool): Whether to enable streaming for the TTS plugin. Defaults to True.
|
|
55
|
+
inactivity_timeout (int): The inactivity timeout to use for the TTS plugin. Defaults to 300.
|
|
56
|
+
"""
|
|
44
57
|
super().__init__(
|
|
45
58
|
sample_rate=ELEVENLABS_SAMPLE_RATE, num_channels=ELEVENLABS_CHANNELS
|
|
46
59
|
)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.0.
|
|
1
|
+
__version__ = "0.0.32"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: videosdk-plugins-elevenlabs
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.32
|
|
4
4
|
Summary: VideoSDK Agent Framework plugin for ElevenLabs
|
|
5
5
|
Author: videosdk
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -12,7 +12,7 @@ Classifier: Topic :: Multimedia :: Sound/Audio
|
|
|
12
12
|
Classifier: Topic :: Multimedia :: Video
|
|
13
13
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
14
14
|
Requires-Python: >=3.11
|
|
15
|
-
Requires-Dist: videosdk-agents>=0.0.
|
|
15
|
+
Requires-Dist: videosdk-agents>=0.0.32
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
|
|
18
18
|
# VideoSDK ElevenLabs Plugin
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
videosdk/plugins/elevenlabs/__init__.py,sha256=bb7M4MSOIIb0KxrsRvG1JczJNGjQ3n-LBqKJp671HfU,91
|
|
2
|
+
videosdk/plugins/elevenlabs/tts.py,sha256=SNaR_5PmElWBaJTsGX51zSijEJ19puIOordLOuF_uNM,13332
|
|
3
|
+
videosdk/plugins/elevenlabs/version.py,sha256=WKDnjJM7gYpD9fIwhK2qAZICJAT2ndquQ6VcOar074Y,23
|
|
4
|
+
videosdk_plugins_elevenlabs-0.0.32.dist-info/METADATA,sha256=t7U4VpWBsMPZqueDVZCvbEub81ncrOGbot4lOXFBpkY,779
|
|
5
|
+
videosdk_plugins_elevenlabs-0.0.32.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
+
videosdk_plugins_elevenlabs-0.0.32.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
videosdk/plugins/elevenlabs/__init__.py,sha256=bb7M4MSOIIb0KxrsRvG1JczJNGjQ3n-LBqKJp671HfU,91
|
|
2
|
-
videosdk/plugins/elevenlabs/tts.py,sha256=pBva4O8TbzIYc-Y35VPh81pJQuXqmbZqHDepMj5OaDU,12280
|
|
3
|
-
videosdk/plugins/elevenlabs/version.py,sha256=YRrMDApG1V6fNZdI4BA631DmsqtamSXgI1yu0tnt4h0,23
|
|
4
|
-
videosdk_plugins_elevenlabs-0.0.31.dist-info/METADATA,sha256=k2R7G4cMqeIPaDA6m-ZPn78DeWmYrzaz0xRY6xDpCG0,779
|
|
5
|
-
videosdk_plugins_elevenlabs-0.0.31.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
-
videosdk_plugins_elevenlabs-0.0.31.dist-info/RECORD,,
|
{videosdk_plugins_elevenlabs-0.0.31.dist-info → videosdk_plugins_elevenlabs-0.0.32.dist-info}/WHEEL
RENAMED
|
File without changes
|