rany2 / edge-tts

Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
https://pypi.org/project/edge-tts/
GNU General Public License v3.0
5.3k stars 544 forks source link

support new OpenAI tts #214

Closed fastfading closed 5 months ago

fastfading commented 5 months ago

https://learn.microsoft.com/zh-cn/azure/ai-services/speech-service/language-support?tabs=tts

en-US-AlloyMultilingualNeural4(男) en-US-EchoMultilingualNeural4(男) en-US-FableMultilingualNeural4(中性) en-US-OnyxMultilingualNeural4(男) en-US-NovaMultilingualNeural4(女) en-US-ShimmerMultilingualNeural4(女) en-US-AlloyMultilingualNeuralHD4(男) en-US-EchoMultilingualNeuralHD4(男) en-US-FableMultilingualNeuralHD4(中性) en-US-OnyxMultilingualNeuralHD4(男) en-US-NovaMultilingualNeuralHD4(女) en-US-ShimmerMultilingualNeuralHD4(女)

4 Azure AI 语音中的 OpenAI 文本转语音声音为公开预览版,仅在美国中北部 (northcentralus) 和瑞典中部 (swedencentral) 提供。

rany2 commented 5 months ago

Unfortunately, this program could only work with voices that are supported by the Edge Browser. I do not use the Azure AI services directly, but only through the proxy used by the Edge Browser.