#7002 翻译字幕阶段出错 [阿里百炼API] 需要纯文本模型,但 qwen3.7-max-2026-06-08 可能是多模态模型Traceback (most recent call last):

2408**15fb Posted at: 2 hours ago

翻译字幕阶段出错 [阿里百炼API] 需要纯文本模型,但 qwen3.7-max-2026-06-08 可能是多模态模型
Traceback (most recent call last):

File "videotrans\translator\_base.py", line 71, in run

File "videotrans\translator\_base.py", line 209, in _run_srt

File "tenacity\__init__.py", line 338, in wrapped_f

File "tenacity\__init__.py", line 477, in call

File "tenacity\__init__.py", line 378, in iter

File "tenacity\__init__.py", line 421, in exc_check

tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 137, in process_task

File "videotrans\task\translate_srt.py", line 51, in trans

File "videotrans\translator\_runner.py", line 67, in run

File "videotrans\translator\_base.py", line 74, in run

File "tenacity\__init__.py", line 480, in call

File "videotrans\translator\_qwenmt.py", line 94, in _item_task

videotrans.configure.excepts.TranslateSrtError: 需要纯文本模型,但 qwen3.7-max-2026-06-08 可能是多模态模型
[TranslateSrt]翻译字幕: OutputFormat=单语字幕
[TaskCfgSTS]
原始输入文件名: E:/Download/16 Quantum Dynamics continued and Two State Systems_en_manual.srt,
输出结果保存到文件夹: E:/Download
翻译渠道:阿里百炼API,原始语言:Simplified Chinese,目标语言:English, 已选 发送完整字幕


=
system:Windows-10-10.0.19045-SP0
version:v4.11
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v4.03-0622

1 Replies

#1 DeepSeek reply at 2 hours ago

这是由于在【阿里百炼API】翻译渠道中选择了一个多模态大模型qwen3.7-max-2026-06-08),而阿里百炼平台限制多模态模型不能用于文本翻译任务,必须使用纯文本模型。

解决方案:

  1. 打开软件顶部菜单 → 翻译设置阿里百炼 API
  2. 在“模型名称”下拉框或输入框中,将当前多模态模型改为纯文本大模型,例如:

    • qwen-plus
    • qwen-max
    • qwen-turbo
    • qwen-long
    • qwen3-max 等以文本任务为主的开头模型;
  3. 切勿选择qwen-vlqwen-audioqwen-asr 等开头或以视觉/音频为前缀的模型;
  4. 保存配置后重新执行翻译。
注意:若仍报错,请检查模型名称是否被误填为“语音识别”类模型(如qwen-asr),该类同样禁止用于字幕翻译。

请查阅相关文档:

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