Repository navigation
Read aloud: ElevenLabs provider + speak replies live while they stream #43090
EliaSupernova
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What
Two small additions to the read-aloud work in #35910:
Why
eleven_v4_turbo, about half the credit cost ofeleven_v4) start speaking fast enough to follow along live.Working demo
I built this on a fork to check that it works in T3 Code's architecture. It is not a PR (I know outside feature PRs are closed); it is here only in case any of it is useful:
https://github.com/EliaSupernova/t3code/tree/read-aloud
How the demo works:
packages/shared. It turns streaming Markdown into speakable sentences and skips code fences, inline code, URLs, tables and tool output. Its tests check it against hand-written expected outputs.The demo hard-codes one voice and reads the key from the macOS Keychain (or
ELEVENLABS_API_KEY). A real version should use the existing cloud speech key store and settings from #35910, with a voice picker.All reactions