Speechify plugin for LiveKit Agents
Project description
Speechify plugin for LiveKit Agents
Speechify text-to-speech for LiveKit Agents. Built on the official speechify-api SDK.
Streaming with word-level timestamps: stream() splits input into sentences and issues one /audio/speech request per sentence, emitting audio and aligned word timestamps as each sentence completes — near-streaming time-to-first-audio plus word marks (streaming and aligned_transcript capabilities).
Installation
pip install speechify-livekit
Authentication
Set your Speechify API key via the environment:
export SPEECHIFY_API_KEY="your-api-key"
Or pass it directly with api_key=....
Usage
from livekit.agents import AgentSession
from livekit.plugins import speechify
session = AgentSession(
tts=speechify.TTS(
voice_id="jack",
model="simba-english",
),
)
Options
| Option | Default | Description |
|---|---|---|
voice_id |
"jack" |
Voice to synthesize with (see the Speechify /v1/voices endpoint). |
model |
provider default | simba-english, simba-multilingual, or simba-3.0. |
language |
provider default | BCP-47 code of the input, e.g. en-US. |
loudness_normalization |
provider default | Normalize output loudness. |
text_normalization |
provider default | Expand numbers/dates into words before synthesis. |
tokenizer |
basic sentence tokenizer | Sentence tokenizer used to chunk input in stream(). |
api_key |
$SPEECHIFY_API_KEY |
Speechify API key. |
base_url |
SDK default | Override the API base URL. |
client |
— | Pass a preconfigured speechify.AsyncSpeechify client. |
Audio is raw 16-bit little-endian PCM at 24 kHz mono. simba-3.0 is recommended for the lowest time-to-first-audio.
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 speechify_livekit-0.0.3.tar.gz.
File metadata
- Download URL: speechify_livekit-0.0.3.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
560052621c855a718d9814e75fa3e6195ee1987b2ba5623146b4f0d18c8b3127
|
|
| MD5 |
b0bc31a967c0c1abdc339ca911b056cd
|
|
| BLAKE2b-256 |
426ad10d3a33dcd4c8e0eeae9130199c0c9bd898346641375383b02e014bc964
|
Provenance
The following attestation bundles were made for speechify_livekit-0.0.3.tar.gz:
Publisher:
release.yml on Speechify-AI/livekit-plugin-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
speechify_livekit-0.0.3.tar.gz -
Subject digest:
560052621c855a718d9814e75fa3e6195ee1987b2ba5623146b4f0d18c8b3127 - Sigstore transparency entry: 2063531350
- Sigstore integration time:
-
Permalink:
Speechify-AI/livekit-plugin-python@823ddbf223de5b8c596e6a92cf9dc6a809ce029f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Speechify-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@823ddbf223de5b8c596e6a92cf9dc6a809ce029f -
Trigger Event:
push
-
Statement type:
File details
Details for the file speechify_livekit-0.0.3-py3-none-any.whl.
File metadata
- Download URL: speechify_livekit-0.0.3-py3-none-any.whl
- Upload date:
- Size: 12.2 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 |
5669462b8b26c5e84a416298805f498848fad2f61b459671f37fca9cc4642c6c
|
|
| MD5 |
f47d87c9a36c61eec74ef88ce0e607b1
|
|
| BLAKE2b-256 |
22bc99363dd5dc7ede86ab1ee5251bfedc11da70ca651bee9a5e523930c45aa0
|
Provenance
The following attestation bundles were made for speechify_livekit-0.0.3-py3-none-any.whl:
Publisher:
release.yml on Speechify-AI/livekit-plugin-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
speechify_livekit-0.0.3-py3-none-any.whl -
Subject digest:
5669462b8b26c5e84a416298805f498848fad2f61b459671f37fca9cc4642c6c - Sigstore transparency entry: 2063531368
- Sigstore integration time:
-
Permalink:
Speechify-AI/livekit-plugin-python@823ddbf223de5b8c596e6a92cf9dc6a809ce029f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Speechify-AI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@823ddbf223de5b8c596e6a92cf9dc6a809ce029f -
Trigger Event:
push
-
Statement type: