speech api fails where Speech Studio succeeds?

Jory 0 Reputation points
2024-10-10T18:09:20.84+00:00

I am using the Standard Tier, with a couple paragraphs of text and only a few ssml tags. The ssml pasted into Speech Studio renders correctly, even exports to an audio file correctly. The same ssml rendered through the python API causes the error below. I can reduce the text to 2 sentences and 2 voices, and it renders perfectly via the API, but for larger texts (~2k chars) seems to fail via the API and yet still work in Speech Studio. I wonder if it is a concurrent limits issue?

usp_tts_engine_adapter.cpp:1040 Response: On Error: Code:7, Message: Connection was closed by the remote host. Error code: 1011. Error details: Internal server error

Region: northcentralus

Voices: OpenAI

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

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.