阅读(legado)、爱阅记 Azure TTS
https://github.com/yy4382/tts-importer
轻松将 Azure TTS 语音合成服务导入阅读软件。现支持阅读(legado)、爱阅记、源阅读
爱阅记iTTS模版
{
"_ClassName": "JxdAdvCustomTTS",
"_TTSConfigID": "lOcJUjSG5oPHFfNbRBq1hNqUGzrptfG5",
"_TTSName": "Azure Xiaoxiao\",
"httpConfigs": {
"headers": {
},
"useCookies": 1
},
"loginUrl": "",
"maxWordCount": "",
"ttsConfigGroup": "Azure",
"ttsHandles": [
{
"forGetMethod": 0,
"httpConfigs": {
"customFormatParams": "params[text]",
"headers": {
"Content-Type": "application/ssml+xml",
"ocp-apim-subscription-key": "{Your-Key}",
"User-Agent": "AiyueTTS",
"X-Microsoft-OutputFormat": "audio-24khz-48kbitrate-mono-mp3"
},
"useCookies": 1
},
"maxPageCount": 1,
"nextPageForGetMedthod": 1,
"nextPageParams": {
},
"params": {
"text": "@dyn:\np=def:& @=>和;\ntxt=keyword.jxd_executeRegexRules:p;\nformat('<speak version=\"1.0\" xmlns=\"http://www.w3.org/2001/10/synthesis\" xmlns:mstts=\"https://www.w3.org/2001/mstts\" xml:lang=\"zh-CN\"><voice name=\"zh-CN-XiaoxiaoNeural\">%@</voice></speak>',txt)"
},
"parser": {
"playData": "ResponseData"
},
"processType": 1,
"requestByWebView": 0,
"url": "https://{Your-Ragin}.tts.speech.microsoft.com/cognitiveservices/v1"
}
]
}