Problem/Motivation
I'm trying to set up Text to Speech, but I'm having trouble with generating the audio file. I tried generating audio files using Postman, and there I could get it to work, but with the same configuration in Drupal, I'm getting a "Resource not found."
I'm using the endpoint: https://westeurope.tts.speech.microsoft.com/cognitiveservices/v1 and after checking the code, I could see that in the request, the path "audio/speech" gets appended to the endpoint. I checked MS documentation and could not find the path audio/speech anywhere in it. Which explains the Error I'm getting.
Is this a bug, or have I set up something incorrectly?
Steps to reproduce
Get API Key for azure TTS
Create Azure TTS model
Call DOMAIN/tts/node/XX/audio to generate audio file
Check logs to see error
Comments