Agent Framework plugin for services using Soniox's API.
Project description
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",
),
# ... 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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file livekit_plugins_soniox-1.5.9.tar.gz.
File metadata
- Download URL: livekit_plugins_soniox-1.5.9.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d376a1425674dd178d5875848d8d5e2a56a11bd17b0801739c1f83a299e262d
|
|
| MD5 |
de6a5e234cf6c266a1bc66cc911ab99d
|
|
| BLAKE2b-256 |
b533e6cf59ee9623e13fa6eb230cb97912f44453dabd60a5757c8e703cbbf723
|
Provenance
The following attestation bundles were made for livekit_plugins_soniox-1.5.9.tar.gz:
Publisher:
publish.yml on livekit/agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
livekit_plugins_soniox-1.5.9.tar.gz -
Subject digest:
2d376a1425674dd178d5875848d8d5e2a56a11bd17b0801739c1f83a299e262d - Sigstore transparency entry: 1525579023
- Sigstore integration time:
-
Permalink:
livekit/agents@ef9d8fbfa762c6909a29ed753a720eb135ccd5d6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/livekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ef9d8fbfa762c6909a29ed753a720eb135ccd5d6 -
Trigger Event:
pull_request
-
Statement type:
File details
Details for the file livekit_plugins_soniox-1.5.9-py3-none-any.whl.
File metadata
- Download URL: livekit_plugins_soniox-1.5.9-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e48647c8176812d6a911d6bd6dc1928d34d06a3d013093e5f76ba639b9e0a7e8
|
|
| MD5 |
fdf8aab9cc7e07cb9b81c9794f4f9215
|
|
| BLAKE2b-256 |
e025a04a97e88a76c9e98c0244736f43a4535a49a55fd26395f5b7381dae6dc4
|
Provenance
The following attestation bundles were made for livekit_plugins_soniox-1.5.9-py3-none-any.whl:
Publisher:
publish.yml on livekit/agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
livekit_plugins_soniox-1.5.9-py3-none-any.whl -
Subject digest:
e48647c8176812d6a911d6bd6dc1928d34d06a3d013093e5f76ba639b9e0a7e8 - Sigstore transparency entry: 1525579060
- Sigstore integration time:
-
Permalink:
livekit/agents@ef9d8fbfa762c6909a29ed753a720eb135ccd5d6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/livekit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ef9d8fbfa762c6909a29ed753a720eb135ccd5d6 -
Trigger Event:
pull_request
-
Statement type: