Text-toi-Speech: Error code: 1007. Error details: Unsupported voice en-US-AIGenerate2Neural.

visla allan 1 Reputation point
2023-01-03T01:53:33.923+00:00

Hi, I met a special voice: en-US-AIGenerate2Neural and en-US-AIGenerate1Neural, when I use these two voice to create audio, it always throw out Error code: 1007. Error details: Unsupported voice en-US-AIGenerate2Neural. But When I use other voice like 'en-US-GuyNeural', it works fine. Here is my ssml String:

<speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xmlns:emo="http://www.w3.org/2009/10/emotionml" xml:lang="en-US">  

<voice name="en-US-AIGenerate2Neural"><mstts:express-as style='general'>Failure is the path to success.<bookmark mark='1048243047738904578'/></mstts:express-as></voice></speak>

And my region is eastus. Other voice is fine.

Thank you so much.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,950 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,821 Reputation points
    2023-01-03T07:45:16.957+00:00

    @visla allan Thanks for the question. you are trying to use the en-US-AIGenerate2Neural and en-US-AIGenerate1Neural voices with an SSML string, but these voices are not supported by the Text-to-Speech API. These voices are not listed in the list of available voices for the Text-to-Speech API.

    You can find a list of available voices for the Text-to-Speech API by using the List voices method of the API.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.