Merge pull request #3239 from pipecat-ai/mb/update-inworld-tts

Inworld TTS services: Add websocket TTS class, add word-timestamp ali…
This commit is contained in:
Mark Backman
2025-12-16 16:26:43 -05:00
committed by GitHub
6 changed files with 797 additions and 405 deletions

1
changelog/3239.added.md Normal file
View File

@@ -0,0 +1 @@
- Added `InworldHttpTTSService` which uses Inworld's HTTP based TTS service in either streaming or non-streaming mode. Note: This class was previously named `InworldTTSService`.

View File

@@ -0,0 +1,8 @@
- Changed Inworld's TTS service implementations:
- Previously, the HTTP implementation was named `InworldTTSService`. That has
been moved to `InworldHttpTTSService`. This service now supports
word-timestamp alignment data in both streaming and non-streaming modes.
- Updated the `InworldTTSService` class to use Inworld's Websocket API. This
class now has support for word-timestamp alignment data and tracks contexts
for each user turn.