ElevenLabs TTS services: revert to Turbo v2.5 as default model
This commit is contained in:
@@ -262,7 +262,7 @@ class ElevenLabsTTSService(AudioContextWordTTSService):
|
||||
*,
|
||||
api_key: str,
|
||||
voice_id: str,
|
||||
model: str = "eleven_flash_v2_5",
|
||||
model: str = "eleven_turbo_v2_5",
|
||||
url: str = "wss://api.elevenlabs.io",
|
||||
sample_rate: Optional[int] = None,
|
||||
params: Optional[InputParams] = None,
|
||||
@@ -274,7 +274,7 @@ class ElevenLabsTTSService(AudioContextWordTTSService):
|
||||
Args:
|
||||
api_key: ElevenLabs API key for authentication.
|
||||
voice_id: ID of the voice to use for synthesis.
|
||||
model: TTS model to use (e.g., "eleven_flash_v2_5").
|
||||
model: TTS model to use (e.g., "eleven_turbo_v2_5").
|
||||
url: WebSocket URL for ElevenLabs TTS API.
|
||||
sample_rate: Audio sample rate. If None, uses default.
|
||||
params: Additional input parameters for voice customization.
|
||||
@@ -709,7 +709,7 @@ class ElevenLabsHttpTTSService(WordTTSService):
|
||||
api_key: str,
|
||||
voice_id: str,
|
||||
aiohttp_session: aiohttp.ClientSession,
|
||||
model: str = "eleven_flash_v2_5",
|
||||
model: str = "eleven_turbo_v2_5",
|
||||
base_url: str = "https://api.elevenlabs.io",
|
||||
sample_rate: Optional[int] = None,
|
||||
params: Optional[InputParams] = None,
|
||||
@@ -721,7 +721,7 @@ class ElevenLabsHttpTTSService(WordTTSService):
|
||||
api_key: ElevenLabs API key for authentication.
|
||||
voice_id: ID of the voice to use for synthesis.
|
||||
aiohttp_session: aiohttp ClientSession for HTTP requests.
|
||||
model: TTS model to use (e.g., "eleven_flash_v2_5").
|
||||
model: TTS model to use (e.g., "eleven_turbo_v2_5").
|
||||
base_url: Base URL for ElevenLabs HTTP API.
|
||||
sample_rate: Audio sample rate. If None, uses default.
|
||||
params: Additional input parameters for voice customization.
|
||||
|
||||
Reference in New Issue
Block a user