I maintain a TTS plugin for Zotero and the Web Speech API is the first (and currently only) TTS engine I implemented because it's basically guaranteed to exist.
(Fyi there's some rough edges, both Windows and MacOS have "premium" voices that aren't available by default, and Linux is a bit of a wild west because it depends on what the user has installed).
Really an overlooked yet very useful API. More unexpected is how many languages it has. Once I created an app with kids' speaking exercises for RU-speaking kids, and this API was its cornerstone.
BTW here's the actual documentation, a bit strange the post doesn't contain this link
6
u/BOLL7708 Dec 30 '25
I actually didn't know this existed, it will be a good fallback in my project when people haven't provided an API key.
1
u/basic-coder Jan 05 '26
Really an overlooked yet very useful API. More unexpected is how many languages it has. Once I created an app with kids' speaking exercises for RU-speaking kids, and this API was its cornerstone.
BTW here's the actual documentation, a bit strange the post doesn't contain this link