#1278 RuntimeError: {'code': 1, 'msg': ' id dont support language '}

171.8* Posted at: 10 hours ago 👁9

配音阶段出错:[clone-voice] 运行时错误:{'code': 1, 'msg': ' id dont support language '}:
Traceback (most recent call last):
File "videotrans\task\job.py", line 185, in run
File "videotrans\task\trans_create.py", line 422, in dubbing
File "videotrans\task\trans_create.py", line 671, in _tts
File "videotrans\tts\__init__.py", line 270, in run
File "videotrans\tts\_base.py", line 193, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\tts\_clone.py", line 71, in _run
RuntimeError: {'code': 1, 'msg': ' id dont support language '}


=
system:Windows-10-10.0.26100-SP0
version:v3.82
frozen:True
language:zh
root_dir:D:/win-videotrans-v3.82_20251019_125144/win-videotrans-v3.82_20251019_125144

1 Replies

这个错误是因为您选择的克隆语音(clone-voice)模型不支持当前目标语言。

解决方案:

  1. 检查目标语言设置: 确认您选择的配音语言是否被该克隆语音模型支持。某些克隆语音模型可能只支持特定语言(如中文或英文)。
  2. 更换配音渠道:

    • 在主界面的"配音渠道"中,切换到其他TTS选项,如 Edge-TTSOpenAI TTSAzure TTS
    • 或者选择其他支持您目标语言的本地TTS模型。
  3. 重新选择克隆语音: 如果您确实需要使用克隆语音功能,请确保:

    • 在"语音识别设置"中选择了正确的源语言
    • 在"TTS设置"中选择了与目标语言匹配的克隆语音模型

如果问题持续存在,请提供更详细的日志文件(位于 D:/win-videotrans-v3.82_20251019_125144/win-videotrans-v3.82_20251019_125144/logs/ 目录下)以便进一步分析。

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions