Skip to main content

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


Download files

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

Source Distribution

speechify_livekit-0.0.3.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

speechify_livekit-0.0.3-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

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

Hashes for speechify_livekit-0.0.3.tar.gz
Algorithm Hash digest
SHA256 560052621c855a718d9814e75fa3e6195ee1987b2ba5623146b4f0d18c8b3127
MD5 b0bc31a967c0c1abdc339ca911b056cd
BLAKE2b-256 426ad10d3a33dcd4c8e0eeae9130199c0c9bd898346641375383b02e014bc964

See more details on using hashes here.

Provenance

The following attestation bundles were made for speechify_livekit-0.0.3.tar.gz:

Publisher: release.yml on Speechify-AI/livekit-plugin-python

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

File details

Details for the file speechify_livekit-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for speechify_livekit-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5669462b8b26c5e84a416298805f498848fad2f61b459671f37fca9cc4642c6c
MD5 f47d87c9a36c61eec74ef88ce0e607b1
BLAKE2b-256 22bc99363dd5dc7ede86ab1ee5251bfedc11da70ca651bee9a5e523930c45aa0

See more details on using hashes here.

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

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

Supported by

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