diff --git a/examples/foundational/07ab-interruptible-inworld-http.py b/examples/foundational/07ab-interruptible-inworld-http.py index 7b94dbfcc..5fd761bfb 100644 --- a/examples/foundational/07ab-interruptible-inworld-http.py +++ b/examples/foundational/07ab-interruptible-inworld-http.py @@ -73,9 +73,6 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): voice_id="Ashley", model="inworld-tts-1", streaming=streaming, # True: real-time chunks, False: complete audio then playback - params=InworldTTSService.InputParams( - temperature=0.8, - ), ) llm = OpenAILLMService(api_key=os.getenv("OPENAI_API_KEY")) diff --git a/src/pipecat/services/inworld/tts.py b/src/pipecat/services/inworld/tts.py index fdd0d1a5c..eef1440e3 100644 --- a/src/pipecat/services/inworld/tts.py +++ b/src/pipecat/services/inworld/tts.py @@ -38,7 +38,7 @@ Examples:: model="inworld-tts-1", streaming=True, # Default params=InworldTTSService.InputParams( - temperature=0.8, # Optional: control synthesis variability (range: [0, 2]) + temperature=1.1, # Optional: control synthesis variability (range: [0, 2]) ), ) @@ -50,7 +50,7 @@ Examples:: model="inworld-tts-1", streaming=False, params=InworldTTSService.InputParams( - temperature=0.8, + temperature=1.1, ), ) """ @@ -123,7 +123,7 @@ class InworldTTSService(TTSService): model="inworld-tts-1", streaming=True, # Default behavior params=InworldTTSService.InputParams( - temperature=0.8, # Add variability to speech synthesis (range: [0, 2]) + temperature=1.1, # Add variability to speech synthesis (range: [0, 2]) ), ) @@ -135,7 +135,7 @@ class InworldTTSService(TTSService): model="inworld-tts-1-max", streaming=False, params=InworldTTSService.InputParams( - temperature=0.8, + temperature=1.1, ), ) """ @@ -144,7 +144,7 @@ class InworldTTSService(TTSService): """Optional input parameters for Inworld TTS configuration. Parameters: - temperature: Voice temperature control for synthesis variability (e.g., 0.8). + temperature: Voice temperature control for synthesis variability (e.g., 1.1). Valid range: [0, 2]. Higher values increase variability. Note: @@ -197,7 +197,7 @@ class InworldTTSService(TTSService): - "LINEAR16" (default) - Uncompressed PCM, best quality - Other formats as supported by Inworld API params: Optional input parameters for additional configuration. Use this to specify: - - temperature: Voice temperature control for variability (range: [0, 2], e.g., 0.8, optional) + - temperature: Voice temperature control for variability (range: [0, 2], e.g., 1.1, optional) Language is automatically inferred from input text. **kwargs: Additional arguments passed to the parent TTSService class.