Repository navigation
fix(voice): update retired/retiring ElevenLabs default voice IDs to Infinity replacements #571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -453,16 +453,16 @@ def close(self) -> None: | |
|
|
||
| # ----------------------------------------------------------------------------- cloud | ||
| OPENAI_VOICES = ["alloy", "ash", "ballad", "coral", "echo", "fable", "nova", "onyx", "sage", "shimmer", "verse"] | ||
| ELEVENLABS_DEFAULT_VOICE = "21m00Tcm4TlvDq8ikWAM" # Rachel | ||
| ELEVENLABS_DEFAULT_VOICE = "OZ0L6eISlOejga3XjDFt" # Talia (official Infinity replacement for Sarah/Rachel) | ||
| ELEVENLABS_PREMADE = { | ||
| "21m00Tcm4TlvDq8ikWAM": "Rachel", | ||
| "EXAVITQu4vr4xnSDxMaL": "Sarah", | ||
| "ErXwobaYiN019PkySvjV": "Antoni", | ||
| "TxGEqnHWrfWFTfGW9XjX": "Josh", | ||
| "pNInz6obpgDQGcFmaJgB": "Adam", | ||
| "XB0fDUnXU5powFXDhCwa": "Charlotte", | ||
| "onwK4e9ZLuTAKqWW03F9": "Daniel", | ||
| "pFZP5JQG7iQjIQuC4Bku": "Lily", | ||
| "OZ0L6eISlOejga3XjDFt": "Talia", | ||
| "8dEUmyPMdDdK91vboYih": "Sawyer", | ||
| "ktkP7Nsj67dw2zcplQYt": "Lawrence", | ||
| "l7kNoIfnJKPg7779LI2t": "Eddie", | ||
| "fnYMz3F5gMEDGMWcH1ex": "Finley", | ||
| "22N9cF8z0o7y23njdyaY": "Florence", | ||
| "6WwXjDDEMyNmFG95zycZ": "Eldrin", | ||
| "QtY3JBOUKEB5xzrRfOKc": "Maisie", | ||
|
Comment on lines
+458
to
+465
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fallback voices can fail on Free accounts. If the Provide fallback choices that Free accounts can use, or ask the user to choose an accessible voice. Changing the default voice alone does not fix an explicit selection.
|
||
| } | ||
|
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default voice fails for Free API accounts.
With no voice set,
synthesizeusesELEVENLABS_DEFAULT_VOICE, which now holds Talia's ID (OZ0L6eISlOejga3XjDFt). Talia is an Infinity voice in the Voice Library. ElevenLabs states that Voice Library voices are not available through the API to Free-tier users. Requests with the default fail for those accounts instead of returning audio. (ElevenLabs voices overview)Make the empty-voice default resolve to a voice that the account can use through the API. Do not send a Voice Library voice to Free-tier accounts. Keep Talia for accounts that can use it. Choosing a default for each tier is a policy decision, and this line does not make that choice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note
🤖 Gemini 4 Neon responding on behalf of @aivoicedb-dev
The previous default (
21m00Tcm4TlvDq8ikWAM/ Rachel) and older premade entries (Antoni,Josh,Adam,Charlotte) are already retired, and the remaining legacy defaults (Sarah,Daniel,Lily) retire December 31, 2026. ElevenLabs designated the Infinity voices (Talia,Sawyer,Finley,Florence, etc.) as the official replacement defaults.Note also that
ElevenLabsTTS.voices()fetches live voices fromGET /v1/voiceswhenever an API key is configured and only falls back toELEVENLABS_PREMADEwhen offline or unconfigured.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Analysis chain
web_search executed:
Check official ElevenLabs documentation and announcements: are Infinity voices, specifically Talia voice ID OZ0L6eISlOejga3XjDFt, replacement default/premade voices usable for API text-to-speech on Free tier, or Voice Library voices restricted to paid API users? Examine 2026 default voice migration and distinguish pre-made/default voices from user-added Voice Library voices.Length of output: 10009
Script executed:
Length of output: 7250
web_search executed:
Find authoritative ElevenLabs statements about whether Infinity voices can be used via the text-to-speech API on the free plan. Specifically look for "Infinity" voices "free" "API" and voice ID OZ0L6eISlOejga3XjDFt Talia; distinguish community Voice Library voices from ElevenLabs-created Infinity voices. Is direct access possible without adding a shared voice to My Voices? Supply source links and exact quotes.Length of output: 10051
@aivoicedb-devThanks for the clarification. ElevenLabs lists Talia as an Infinity replacement for Sarah.voices()fetches the account’s voices when configured, butsynthesize()uses Talia directly when no voice is set. The live list therefore does not establish whether the default request succeeds.ElevenLabs says Voice Library voices are unavailable through the API on Free, while the cited migration guide says the Infinity replacements are Free-tier safe. I cannot confirm my earlier claim that Talia requests fail. I recommend testing synthesis with no voice set and a Free-tier API key. I am not marking the finding as addressed while that result remains unverified.
You are interacting with an AI system.