Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Soniox plugin for LiveKit Agents

Support for Soniox Speech-to-Text and Text-to-Speech APIs, using WebSocket streaming interfaces.

See STT documentation and TTS documentation for more information.

Installation

pip install livekit-plugins-soniox

Pre-requisites

The Soniox plugin requires an API key to authenticate. You can get your Soniox API key here.

Set API key in your .env file:

SONIOX_API_KEY=<your_soniox_api_key>

Usage

Speech-to-Text (STT)

Use Soniox STT in an AgentSession or as a standalone transcription service:

from livekit.plugins import soniox

session = AgentSession(
    stt=soniox.STT(),
    # ... llm, tts, etc.
)

Text-to-Speech (TTS)

Use Soniox TTS for real-time speech synthesis:

from livekit.plugins import soniox

session = AgentSession(
    tts=soniox.TTS(
        language="en",
        voice="Maya",
        speed=1.0,  # 0.7-1.3
    ),
    # ... stt, llm, etc.
)

The TTS supports real-time streaming from LLM - text chunks are tokenized and sent to Soniox as words are formed, enabling low-latency speech synthesis.

More information and reference

Explore integration details and find comprehensive examples:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

livekit_plugins_soniox-1.6.11rc1.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livekit_plugins_soniox-1.6.11rc1-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_soniox-1.6.11rc1.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_soniox-1.6.11rc1.tar.gz
Algorithm Hash digest
SHA256 8d5a5021bea1c79cfb9a8d56912af87d6523d3e22d22a18eb74a4693135d08e0
MD5 7e9dba6ead7d5579bc59185c1d7d1951
BLAKE2b-256 7d770d13c8b6a3b3bc46c1bd8c702c7fb95c50c46f077035dfdfd06d78c84f78

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_soniox-1.6.11rc1.tar.gz:

Publisher: publish.yml on livekit/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file livekit_plugins_soniox-1.6.11rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_soniox-1.6.11rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 16e209e6ece8068fefba25a7c728d90cd501c7b8d3613d1833c7d41df5412b98
MD5 124cb7de3f01bb77188e9a207ded3243
BLAKE2b-256 b5a15cf5afeeaa2f06c0420891a2208d54d3ff17668cbba45fb9cc6773a85ba6

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_soniox-1.6.11rc1-py3-none-any.whl:

Publisher: publish.yml on livekit/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page