Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform
I've fixed the problem, it's actually a bug in Python's requests module. The content-length was miscalculated, and it seems to be optional for TTS
I remove the content-length like so, and now everything works:
session = requests.Session()
request = requests.Request('POST', url=api_endpoint, headers=headers, data=data)
prepped_request = request.prepare()
del prepped_request.headers['Content-Length']
response = session.send(prepped_request)