Changing InworldTTSService default temperature to 1.1

This commit is contained in:
Filipi Fuchter
2025-09-19 17:03:53 -03:00
parent 367200c0ad
commit 9e098b5f79
2 changed files with 7 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
model="inworld-tts-1",
streaming=streaming, # True: real-time chunks, False: complete audio then playback
params=InworldTTSService.InputParams(
temperature=0.8,
temperature=1.1,
),
)

View File

@@ -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.