Skip to content

Add Soniox TTS plugin#5543

Open
matejmarinko-soniox wants to merge 2 commits intolivekit:mainfrom
matejmarinko-soniox:main
Open

Add Soniox TTS plugin#5543
matejmarinko-soniox wants to merge 2 commits intolivekit:mainfrom
matejmarinko-soniox:main

Conversation

@matejmarinko-soniox
Copy link
Copy Markdown
Contributor

Summary

Adds Text-to-Speech to the existing livekit-plugins-soniox package via Soniox's real-time TTS WebSocket API.

  • Streaming synthesis with progressive text input (LLM chunks forwarded as they arrive)
  • One persistent WebSocket shared across streams.
  • Configurable model, language, voice, audio_format, sample_rate, bitrate; update_options() for runtime changes.

Usage

from livekit.plugins import soniox

session = AgentSession(
    tts=soniox.TTS(language="en", voice="Maya"),
    # ...
)

Reads SONIOX_API_KEY from env, or pass api_key= explicitly.

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@aasishkc44
Copy link
Copy Markdown

Hey, When is this expected to be merged?

Copy link
Copy Markdown
Member

@tinalenguyen tinalenguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i left a small comment, otherwise lgtm and works well! neat implementation 😸

Comment thread livekit-plugins/livekit-plugins-soniox/README.md Outdated
Co-authored-by: Tina Nguyen <72938484+tinalenguyen@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants