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

    • @perchanceM
      link
      English
      1
      edit-2
      4 months ago

      Hmm, for whatever reason, that works fine for me. That said, with a VPN enabled, the response is has the 401 Unauthorized status with the following JSON instead of the audio:

      {
        "detail": {
          "status": "detected_unusual_activity",
          "message": "Unusual activity detected. Free Tier usage disabled..."
        }
      }
      

      What do you see in the network panel in devtools when it doesn’t work?

      • VioneTOPM
        link
        English
        1
        edit-2
        4 months ago

        Something like that too. Though, I don’t have any VPN enabled (on Microsoft Edge, Windows 10), I guess they are quite limiting the free tier API now i.e. there is a limit to consecutive requests.