发布时间:2023-05-08 文章分类:WEB开发, 电脑百科 投稿人:李佳 字号: 默认 | | 超大 打印

微软TTS API 接口:

类型:websocket

{
    url: "wss://eastus.tts.speech.microsoft.com/cognitiveservices/websocket/v1",
    query: {
        Authorization: "xxxxx",
        X-ConnectionId:"xxxxx"
    }
}

edge TTS API 接口:

类型:websocket

{
    url: "wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1",
    query: {
        TrustedClientToken: "xxxxx"
    }
}