#4885 videotrans.configure.excepts.DubbingSrtError: TTS speak request failed, please verify your input and ensure the service

123.165* Posted at: 2 hours ago

TTS speak request failed, please verify your input and ensure the service is operational.:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 184, in run
File "videotrans\tts\_base.py", line 134, in run
videotrans.configure.excepts.DubbingSrtError: TTS speak request failed, please verify your input and ensure the service is operational.


=
system:Windows-10-10.0.22631-SP0
version:v4.01
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v4.01-0602

1 Replies

TTS 请求失败通常是因为所选配音渠道的服务不可用或配置错误。请按以下步骤排查:

  1. 确认使用的配音渠道:目前在“配音渠道”下拉框中选择了哪个?例如 Edge-TTS(免费)、GPT-SoVITS、F5-TTS、CosyVoice 等。
  2. 检查服务状态

    • 若为 Edge-TTS:该渠道无需配置,但可能被网络限流。请在“高级选项”中将“同时配音线程数”设为 1,“配音后暂停秒”设为 5。
    • 若为 GPT-SoVITS / F5-TTS / CosyVoice 等本地API:请确保对应的TTS服务已经启动,且API地址(如 http://127.0.0.1:7860)填写正确。
    • 若为 clone 角色(原音色克隆):检查参考音频是否已放置在软件根目录下的 f5-tts/ 文件夹中,且文件名、格式(.wav,3-10秒)正确。
  3. 网络代理:如果使用了代理,请在主界面“网络代理”处填写正确的代理地址(格式如 http://127.0.0.1:7890);若不确定或不需要,请保持留空。
  4. 临时验证:切换到最简单的 Edge-TTS 免费渠道,选一个默认角色,再次点击“试听配音”看是否正常。如果正常,则说明原渠道配置有问题。

若仍无法解决,请提供软件安装目录下 logs/ 文件夹中最新的 .log 文件(复制底部30行报错信息),以便进一步定位。

Post Your Reply
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.

Related resource

Similar issues already exist