I’ve been made aware that the code I’ve written to access text-to-speech from ElevenLabs API is no longer working.
I’ve tested it and it seems that the CORS-Proxy that is being used in ai-character-chat
currently doens’t allow POST
methods (which is being used to ‘post’ the text to be ‘spoken’ in ElevenLabs).
Not a major/priority issue but might be nice to be fixed. I also wonder how many are using text to speech (even just using the Speech Synthesis code) in the ai-character-chat
…
Previously it worked fine, but now it doesn’t. Here’s the code for the ElevenLabs API that I wrote. Here is a HAR file of the requests.
Okay, thanks for the example, I think it’s all fixed now. Hopefully I didn’t break anything. Been up for two days straight tho so I wouldn’t bet on it, but I do some basic tests and it seems good. Will check lemmy messages first thing tomorrow 🫡