Skip to main content

LiveKit Agents plugin for Boson AI Higgs Audio TTS.

Project description

Boson AI plugin for LiveKit Agents

Community-maintained LiveKit Agents plugin for Boson AI Higgs Audio TTS.

This package is unofficial and not currently maintained by Boson AI or LiveKit.

Installation

pip install livekit-plugins-boson

Prerequisites

Set your Boson API key:

export BOSON_API_KEY=...

Usage

from livekit.plugins import boson

tts = boson.TTS()

Use a preset or registered Boson voice:

tts = boson.TTS(voice="default")

Use one-off reference audio cloning:

tts = boson.TTS(
    ref_audio="https://example.com/reference.wav",
    ref_text="Transcript of the reference audio.",
)

Streaming synthesis uses Boson's raw PCM stream and feeds it directly into the LiveKit TTS pipeline.

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

livekit_plugins_boson-0.1.0.tar.gz (4.7 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_boson-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_boson-0.1.0.tar.gz.

File metadata

  • Download URL: livekit_plugins_boson-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for livekit_plugins_boson-0.1.0.tar.gz
Algorithm Hash digest
SHA256 30cf52e1efb9acacfaf72969f9b59c017734f95b6a783fc64f894b73882751e6
MD5 c7485f7a33a5b9564e69dd67ce29a9bb
BLAKE2b-256 8c4279aa32d8956dd7f2d0ca2c5d4340633a021f51d8ee600ba1b42fe782f34a

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_boson-0.1.0.tar.gz:

Publisher: publish-pypi.yml on Ao-Last/livekit-plugins-extra

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_boson-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_boson-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa7e5e420ab9e22fe8cfeda5668491ec6c26c50bb93e23a3cca8bf46157fd732
MD5 be6027b76e35095f9ea24ae01da14807
BLAKE2b-256 6c00e0f6d8759b9a78a0c012c820e1697cfeaa09cf017292b7f11f9bfa1f0a0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_boson-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on Ao-Last/livekit-plugins-extra

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