#2995 RuntimeError: <400> InternalError.Algo.InvalidParameter: Input should be 'Cherry', 'Serena', 'Ethan' or 'Chelsie': input

182.119* Posted at: 17 days ago 👁42

运行时错误: InternalError.Algo.InvalidParameter: Input should be 'Cherry', 'Serena', 'Ethan' or 'Chelsie': input.voice:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 18, in run
File "videotrans\tts\__init__.py", line 299, in run
File "videotrans\tts\_base.py", line 177, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_qwentts.py", line 60, in _run
RuntimeError: InternalError.Algo.InvalidParameter: Input should be 'Cherry', 'Serena', 'Ethan' or 'Chelsie': input.voice


=
system:Windows-10-10.0.19045-SP0
version:v3.86
frozen:True
language:zh
root_dir:D:/peiyin/win-pyvideotrans-v3.86

1 Replies

这是由于在 Qwen-TTS 配音渠道中使用了不支持的音色名称导致的。

  1. 检查音色名称:根据错误信息,Qwen-TTS 服务端当前仅支持 'Cherry''Serena''Ethan''Chelsie' 这几个音色。请确保在 pyVideoTrans 的配音设置中,为 Qwen-TTS 选择的音色是这四个之一。
  2. 确认 Qwen-TTS 模型类型:此错误通常发生在使用了 自定义音色模型 (CustomVoice) 时。请确认你启动的 Qwen-TTS 服务是自定义音色模型(例如 Qwen3-TTS-12Hz-0.6B-CustomVoiceQwen3-TTS-12Hz-1.7B-CustomVoice),并且该模型内置了上述四个音色。
  3. 重启服务与软件:如果确认音色名称正确且服务模型匹配,尝试重启 Qwen-TTS 的 API 服务,然后重启 pyVideoTrans 软件。

请查阅相关文档:

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