Expected Result: Voice notifications function with a Free tier ElevenLabs account
Problem Description: Most voice notifications silently fail due to the use of voice_ids not available to a Free tier ElevenLabs account. This makes the voice notification feature feel broken for new users trying to get PAI up and running. Also some hard-coded voice_ids require a Creator tier account.
Short-term Recommendation: Transition voice notifications in public Release files to free-tier voice_ids for maximum usability.
Long-term Recommendation (Edited): Move away from voice_ids spread throughout the installation's individual files to a centralized voice configuration so users can easily control all the voice_ids used in one central location. One potential way to do this is to add a new JSON field for VoiceServer/server.ts to consume like "caller_id", a new object in settings.json could map the caller_id value to a voice_id. If a caller_id is given in the curl payload it would over-ride any provided voice_id. If a caller_id is absent it could use a provided voice_id if provided, or default to the configured DA voice_id so voice notifications never fail.
Issue Details:
The most common failure point is voice_id fTtv3eikoepIosk8dTZ5 which is used with the Algorithm and several other notifications.
Every agent uses a non-free voice_id or the voice_id is not found:
8xsdoepm9GrzPPzYsiLP - creator tier
AXdMgz6evoL7OPd7eU12 - starter tier
fSw26yDDQPyodv5JgLow - creator tier
fTtv3eikoepIosk8dTZ5 - starter tier
iLVmqjzCGGvqtMCk6vVQ - creator tier
muZKMsIDGYtIkjjiUS82 - 404 not found
xvHLFjaUEpx4BOf7EiDd - 404 not found
ZF6FPAbjXT4488VcRRnw - starter tier
Full test results of every 'voice_id:' reference found in PAI v4.0.3 files including VoiceServer/voices.json:
** Testing hard-coded PAI voiceIds
** 8xsdoepm9GrzPPzYsiLP
{"status":"error","message":"TTS failed: ElevenLabs API error: 400 - {\"detail\":{\"type\":\"invalid_request\",\"code\":\"bad_request\",\"message\":\"You need to be on the creator tier or above to use this voice.\",\"status\":\"free_users_not_allowed\",\"request_id\":\"bd8b93694ad3cc4f7fcb2415de072f92\"}}","notification_sent":true}
** AXdMgz6evoL7OPd7eU12
{"status":"error","message":"TTS failed: ElevenLabs API error: 402 - {\"detail\":{\"type\":\"payment_required\",\"code\":\"paid_plan_required\",\"message\":\"Free users cannot use library voices via the API. Please upgrade your subscription to use this voice.\",\"status\":\"payment_required\",\"request_id\":\"6c61c1c07361f770bdf0417ba8518497\"}}","notification_sent":true}
** bIHbv24MWmeRgasZH58o
{"status":"success","message":"Notification sent"}
** bVMeCyTHy58xNoL34h3p
{"status":"success","message":"Notification sent"}
** fSw26yDDQPyodv5JgLow
{"status":"error","message":"TTS failed: ElevenLabs API error: 400 - {\"detail\":{\"type\":\"invalid_request\",\"code\":\"bad_request\",\"message\":\"You need to be on the creator tier or above to use this voice.\",\"status\":\"free_users_not_allowed\",\"request_id\":\"cbb440738efcc0e781f96fab47532e5b\"}}","notification_sent":true}
** fTtv3eikoepIosk8dTZ5
{"status":"error","message":"TTS failed: ElevenLabs API error: 402 - {\"detail\":{\"type\":\"payment_required\",\"code\":\"paid_plan_required\",\"message\":\"Free users cannot use library voices via the API. Please upgrade your subscription to use this voice.\",\"status\":\"payment_required\",\"request_id\":\"c1e37df43b23689eb19d2a9d0b0de665\"}}","notification_sent":true}
** iLVmqjzCGGvqtMCk6vVQ
{"status":"error","message":"TTS failed: ElevenLabs API error: 400 - {\"detail\":{\"type\":\"invalid_request\",\"code\":\"bad_request\",\"message\":\"You need to be on the creator tier or above to use this voice.\",\"status\":\"free_users_not_allowed\",\"request_id\":\"dc8a2c78e1c3fc73948dfdc95d113ad5\"}}","notification_sent":true}
** M563YhMmA0S8vEYwkgYa
{"status":"error","message":"TTS failed: ElevenLabs API error: 402 - {\"detail\":{\"type\":\"payment_required\",\"code\":\"paid_plan_required\",\"message\":\"Free users cannot use library voices via the API. Please upgrade your subscription to use this voice.\",\"status\":\"payment_required\",\"request_id\":\"27e735d16de63e25b0220ec5d47f0e3f\"}}","notification_sent":true}
** MClEFoImJXBTgLwdLI5n
{"status":"error","message":"TTS failed: ElevenLabs API error: 402 - {\"detail\":{\"type\":\"payment_required\",\"code\":\"paid_plan_required\",\"message\":\"Free users cannot use library voices via the API. Please upgrade your subscription to use this voice.\",\"status\":\"payment_required\",\"request_id\":\"7307899d6655cb7d303de8d71b1a1b9d\"}}","notification_sent":true}
** muZKMsIDGYtIkjjiUS82
{"status":"error","message":"TTS failed: ElevenLabs API error: 404 - {\"detail\":{\"type\":\"not_found\",\"code\":\"voice_not_found\",\"message\":\"A voice with voice_id 'muZKMsIDGYtIkjjiUS82' was not found.\",\"status\":\"voice_not_found\",\"request_id\":\"b5ffd676c7814f9f469902eeb73c3369\"}}","notification_sent":true}
** xvHLFjaUEpx4BOf7EiDd
{"status":"error","message":"TTS failed: ElevenLabs API error: 404 - {\"detail\":{\"type\":\"not_found\",\"code\":\"voice_not_found\",\"message\":\"A voice with voice_id 'xvHLFjaUEpx4BOf7EiDd' was not found.\",\"status\":\"voice_not_found\",\"request_id\":\"a0887adaa57e02fb73949ebb379327cb\"}}","notification_sent":true}
** ZF6FPAbjXT4488VcRRnw
{"status":"error","message":"TTS failed: ElevenLabs API error: 402 - {\"detail\":{\"type\":\"payment_required\",\"code\":\"paid_plan_required\",\"message\":\"Free users cannot use library voices via the API. Please upgrade your subscription to use this voice.\",\"status\":\"payment_required\",\"request_id\":\"5d11b9891442c2ce5530342d0fa8e7e8\"}}","notification_sent":true}
** Test complete
Expected Result: Voice notifications function with a Free tier ElevenLabs account
Problem Description: Most voice notifications silently fail due to the use of voice_ids not available to a Free tier ElevenLabs account. This makes the voice notification feature feel broken for new users trying to get PAI up and running. Also some hard-coded voice_ids require a Creator tier account.
Short-term Recommendation: Transition voice notifications in public Release files to free-tier voice_ids for maximum usability.
Long-term Recommendation (Edited): Move away from voice_ids spread throughout the installation's individual files to a centralized voice configuration so users can easily control all the voice_ids used in one central location. One potential way to do this is to add a new JSON field for VoiceServer/server.ts to consume like "caller_id", a new object in settings.json could map the caller_id value to a voice_id. If a caller_id is given in the curl payload it would over-ride any provided voice_id. If a caller_id is absent it could use a provided voice_id if provided, or default to the configured DA voice_id so voice notifications never fail.
Issue Details:
The most common failure point is voice_id fTtv3eikoepIosk8dTZ5 which is used with the Algorithm and several other notifications.
Every agent uses a non-free voice_id or the voice_id is not found:
8xsdoepm9GrzPPzYsiLP - creator tier
AXdMgz6evoL7OPd7eU12 - starter tier
fSw26yDDQPyodv5JgLow - creator tier
fTtv3eikoepIosk8dTZ5 - starter tier
iLVmqjzCGGvqtMCk6vVQ - creator tier
muZKMsIDGYtIkjjiUS82 - 404 not found
xvHLFjaUEpx4BOf7EiDd - 404 not found
ZF6FPAbjXT4488VcRRnw - starter tier
Full test results of every 'voice_id:' reference found in PAI v4.0.3 files including VoiceServer/voices.json: