livekit-plugins-cartesia 0.4.9__py3-none-any.whl → 0.4.10__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.
@@ -8,7 +8,7 @@ TTSEncoding = Literal[
8
8
  # "pcm_alaw",
9
9
  ]
10
10
 
11
- TTSModels = Literal["sonic-english", "sonic-multilingual"]
11
+ TTSModels = Literal["sonic", "sonic-2", "sonic-lite", "sonic-preview", "sonic-turbo"]
12
12
  TTSLanguages = Literal["en", "es", "fr", "de", "pt", "zh", "ja"]
13
13
  TTSDefaultVoiceId = "794f9389-aac1-45b6-b726-9d9369183238"
14
14
  TTSVoiceSpeed = Literal["fastest", "fast", "normal", "slow", "slowest"]
@@ -73,7 +73,7 @@ class TTS(tts.TTS):
73
73
  def __init__(
74
74
  self,
75
75
  *,
76
- model: TTSModels | str = "sonic",
76
+ model: TTSModels | str = "sonic-2",
77
77
  language: str = "en",
78
78
  encoding: TTSEncoding = "pcm_s16le",
79
79
  voice: str | list[float] = TTSDefaultVoiceId,
@@ -90,7 +90,7 @@ class TTS(tts.TTS):
90
90
  See https://docs.cartesia.ai/reference/web-socket/stream-speech/stream-speech for more details on the the Cartesia API.
91
91
 
92
92
  Args:
93
- model (TTSModels, optional): The Cartesia TTS model to use. Defaults to "sonic-english".
93
+ model (TTSModels, optional): The Cartesia TTS model to use. Defaults to "sonic-2".
94
94
  language (str, optional): The language code for synthesis. Defaults to "en".
95
95
  encoding (TTSEncoding, optional): The audio encoding format. Defaults to "pcm_s16le".
96
96
  voice (str | list[float], optional): The voice ID or embedding array.
@@ -169,7 +169,7 @@ class TTS(tts.TTS):
169
169
  and emotion. If any parameter is not provided, the existing value will be retained.
170
170
 
171
171
  Args:
172
- model (TTSModels, optional): The Cartesia TTS model to use. Defaults to "sonic-english".
172
+ model (TTSModels, optional): The Cartesia TTS model to use. Defaults to "sonic-2".
173
173
  language (str, optional): The language code for synthesis. Defaults to "en".
174
174
  voice (str | list[float], optional): The voice ID or embedding array.
175
175
  speed (TTSVoiceSpeed | float, optional): Voice Control - Speed (https://docs.cartesia.ai/user-guides/voice-control)
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "0.4.9"
15
+ __version__ = "0.4.10"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: livekit-plugins-cartesia
3
- Version: 0.4.9
3
+ Version: 0.4.10
4
4
  Summary: LiveKit Agents Plugin for Cartesia
5
5
  Home-page: https://github.com/livekit/agents
6
6
  License: Apache-2.0
@@ -0,0 +1,10 @@
1
+ livekit/plugins/cartesia/__init__.py,sha256=UTa6Q7IxhRBCwPftowHEUDvmBg99J_UjGS_yxTzKD7g,1095
2
+ livekit/plugins/cartesia/log.py,sha256=4Mnhjng_DU1dIWP9IWjIQGZ67EV3LnQhWMWCHVudJbo,71
3
+ livekit/plugins/cartesia/models.py,sha256=KGY-r2luJuUNY6a3nnB0Rx-5Td12hikk-GtYLnqvysE,977
4
+ livekit/plugins/cartesia/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ livekit/plugins/cartesia/tts.py,sha256=cOoNFXNlw2NFN5o6PgLTccu_-y_W0MTAwNciNDtxdd8,14128
6
+ livekit/plugins/cartesia/version.py,sha256=EAXwrHdOWRivmdK-RTQl1YBemh0E8ui_JHvG9dT490M,601
7
+ livekit_plugins_cartesia-0.4.10.dist-info/METADATA,sha256=TXT6xGvQ3of6Gl9PyCCYLrurnkDdfyiOjzyrXC0gga4,1471
8
+ livekit_plugins_cartesia-0.4.10.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
9
+ livekit_plugins_cartesia-0.4.10.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
10
+ livekit_plugins_cartesia-0.4.10.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (76.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,10 +0,0 @@
1
- livekit/plugins/cartesia/__init__.py,sha256=UTa6Q7IxhRBCwPftowHEUDvmBg99J_UjGS_yxTzKD7g,1095
2
- livekit/plugins/cartesia/log.py,sha256=4Mnhjng_DU1dIWP9IWjIQGZ67EV3LnQhWMWCHVudJbo,71
3
- livekit/plugins/cartesia/models.py,sha256=56CJgo7my-w-vpedir_ImV_aqKASeLihE5DbcCCgGJI,950
4
- livekit/plugins/cartesia/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- livekit/plugins/cartesia/tts.py,sha256=C7R_Z2nmWK3V0bQ30Nl5lgRgIZTfCzb7hiYWfBohGQs,14138
6
- livekit/plugins/cartesia/version.py,sha256=IgraxfFuS50xVM2gugcS0QqKE5YXL-FzFLco3Ffq6BY,600
7
- livekit_plugins_cartesia-0.4.9.dist-info/METADATA,sha256=P-63JHYrrl1DtEUBVVCnSPeS2vnws2dIdTPclQNG4ow,1470
8
- livekit_plugins_cartesia-0.4.9.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
9
- livekit_plugins_cartesia-0.4.9.dist-info/top_level.txt,sha256=OoDok3xUmXbZRvOrfvvXB-Juu4DX79dlq188E19YHoo,8
10
- livekit_plugins_cartesia-0.4.9.dist-info/RECORD,,