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

2604**c3c2 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=f3173ccb36cc452db48812ca46de2bb6&Sec-MS-GEC=C4CA0A6D99F65E09D64A2D33B4474717015F1443A4F4C1FB822A39D6155E6C3F&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'en-HK-YanNeural'}
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 230, in run
File "videotrans\tts\_base.py", line 94, 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=f3173ccb36cc452db48812ca46de2bb6&Sec-MS-GEC=C4CA0A6D99F65E09D64A2D33B4474717015F1443A4F4C1FB822A39D6155E6C3F&Sec-MS-GEC-Version=1-143.0.3650.75'
all_voices={'en-HK-YanNeural'}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: C:/Users/Administrator/Desktop/WeChat_20261014164153.mp4,
输出结果保存到文件夹: E:/视频/WeChat_20261014164153-mp4,
临时文件夹: E:/更改视频语言win-pyvideotrans-v4.12/tmp/7948/49424e06a8
已选 清理已存在
未启用CUDA加速
未选 降噪
语音识别:faster-whisper(内置), large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yan(Female/HK), 配音语言:英语, 已选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕
已选 仅输出mp4


=
system:Windows-10-10.0.19045-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:E:/更改视频语言win-pyvideotrans-v4.12

1 Replies

#1 DeepSeek reply at 1 hour ago

Edge-TTS 返回 403 是微软免费接口的验证逻辑变更所致,旧版本无法兼容。

  • 请升级到 v4.16 或最新版本(Windows 预打包版直接下载完整包或补丁包覆盖即可)。
  • 升级后如仍报错,可改用其他配音渠道,例如 gTTS(免费) 或本地内置 Qwen3-TTS、OmniVoice 等。

请查阅相关文档:

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