修复EdgeTTS朗读引擎403错误 main · v1.0.0-dev.241109 1 parent00f4420commitf63eaba File tree src/core plugins/built-in/tts edge.ts utils date.ts src/core/plugins/built-in/tts/edge.ts +27-4Lines changed: 27 addition
您好,更新到6.1.14版本后,运行了一段时间,又出现aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url=URL('wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF
getItem('tts_user_id'); if (!userId) { userId = 'user_' + Math.random().toString(36).substr(2, 9); localStorage.setItem('tts_user_id', userId); } return userId; } // 修改获取声音列表函数 async function fetchVoices() { try { console.log(`Fetching voices for ...
voice_tmp_path=awaitself.my_tts.edge_tts_api(data) 990+ 991+ ifvoice_tmp_pathisNone: 992+ logging.error(f"edge-tts合成失败,请检查配置是否正确 或 网络问题") 993+ return 987994 988995 logging.info(f"edge-tts合成成功,合成内容:【{content}】,输出到={voice_tmp_path}") ...
fix: edge-tts api 403 main 1 parent1ffc873commite51e215 File tree requirements.txt 1 file changed +1 -1 lines changed requirements.txt +1-1 Original file line numberDiff line numberDiff line change @@ -1,4 +1,4 @@ 1-
# 注意此处,在打包整合包时,需要改为 venv\python.exe venv\Scripts\edge-tts.exe cmd = f'edge-tts --voice {message["data"]["voice"]} --text "{message["content"]}" --write-media {voice_tmp_path} --rate={message["data"]["rate"]} --volume={message["data"]["volume"]}' subproces...
配音时出现以下错误 ERROR:VideoTrans:[edgeTTS]text='2024年10月16日,周三,据以色列国防军报道,其比斯拉克旅的一个部队在拉法地区的塔尔·阿尔·苏丹执行巡逻任务。'err="403, message='Invalid response status', url=URL('wss://speech.platform.bing.com/consumer/sp