#8141 配音全部失败 :403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud

111.183**2 Posted at: 1 hour ago

配音全部失败 :403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=bc2f865950414b6689cfb6f807cc9dfd&Sec-MS-GEC=AA43DB6C320F87F9CFB85257828467330E1FDAE793B1A519090CE66852A45656&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'en-US-JennyNeural'}
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 107, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 101, in _tts
File "videotrans\tts\__init__.py", line 233, in run
File "videotrans\tts\_base.py", line 100, in run
File "asyncio\runners.py", line 44, in run
File "asyncio\base_events.py", line 649, in run_until_complete
File "videotrans\tts\_edgetts.py", line 228, in _exec
videotrans.configure.excepts.DubbingSrtError: 配音全部失败 :403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=bc2f865950414b6689cfb6f807cc9dfd&Sec-MS-GEC=AA43DB6C320F87F9CFB85257828467330E1FDAE793B1A519090CE66852A45656&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'en-US-JennyNeural'}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/xixisys.com/Videos/2026-10-14 16-32-48.mp4,
输出结果保存到文件夹: C:/Users/xixisys.com/Desktop/videos/2026-10-14 16-32-48-mp4,
临时文件夹: C:/Users/xixisys.com/Desktop/win-pyvideotrans-v4.11/tmp/35484/8358c84691
未选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Jenny(Female/US), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入硬字幕
代理地址:http://127.0.0.1:10808


=
system:Windows-10-10.0.19045-SP0
version:v4.11
frozen:True
language:zh
root_dir:C:/Users/xixisys.com/Desktop/win-pyvideotrans-v4.11

1 Replies

#1 DeepSeek reply at 1 hour ago

这是 Edge-TTS 免费接口的已知问题:微软已更改验证逻辑,导致旧版 pyVideoTrans(当前 v4.11)调用 Edge-TTS 时返回 403。请升级到 v4.16 或更新版本。

  1. 下载并覆盖最新完整包或补丁包(完整包约 2.7GB,补丁包约 360MB),然后重新运行 sp.exe:
    https://pyvideotrans.com/downpackage
  2. 如果使用源码部署(macOS/Linux/Windows),执行命令更新 edge-tts:

    uv add git+https://github.com/rany2/edge-tts.git

    若报错,先执行 uv remove edge-tts 再重新更新。

  3. 升级后仍失败,请检查代理设置。你的日志中代理为 http://127.0.0.1:10808,Edge-TTS 在代理下可能被干扰;可在软件根目录创建 edgetts-noproxy.txt 空文件强制 Edge-TTS 绕过代理,或暂时清空代理地址后重试。
  4. 如果急需出片,可先切换到其他配音渠道(如 gTTS、Qwen3-TTS 等)代替 Edge-TTS。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource