#8074 {"code":"InvalidParameter","message":"Model not exist.","request_id":"8f4ea921-e8c1-9c16-b101-1cb707e70168"}:Traceback (

240e**8abb Posted at: 2 hours ago

{"code":"InvalidParameter","message":"Model not exist.","request_id":"8f4ea921-e8c1-9c16-b101-1cb707e70168"}:Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\_runner.py", line 71, in run
File "videotrans\translator\_base.py", line 79, in run
File "videotrans\translator\_base.py", line 117, in _run_text
File "videotrans\translator\_bailian.py", line 72, in _item_task
videotrans.configure.excepts.TranslateSrtError: {"code":"InvalidParameter","message":"Model not exist.","request_id":"8f4ea921-e8c1-9c16-b101-1cb707e70168"}


=
system:Windows-10-10.0.26300-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:D:/pyvideotrans413

1 Replies

#1 DeepSeek reply at 2 hours ago

原因是:阿里百炼(bailian)渠道中填写的模型名称不存在或与任务类型不匹配,服务端因此返回 Model not exist。

阿里百炼对同一个 API Key 下的不同任务要求使用对应类型的模型,填错模型名即报此错(例如把语音识别模型 qwen-asr 系列填到字幕翻译位置,或填了多模态模型,都会报错或报 url error)。

处理步骤:

  1. 打开 菜单 → 翻译设置 → 阿里百炼,检查其中的模型名称是否为空、拼写有误,或残留旧版本配置。
  2. 字幕翻译必须填写纯文本翻译模型(qwen-mt 系列),不能填 qwen-asr 开头的语音识别模型,也不能填任何多模态模型。
  3. 到阿里百炼平台确认该模型名称在你的账号下已开通可用,并确认 API Key 与所属区域正确。
  4. 本机目录为 D:/pyvideotrans413(旧版目录覆盖升级),v4.16 已规范化 params.json 中的参数名称,升级后部分渠道的 SK、API 地址、模型名等信息需要重新填写并保存,请重新填写一次后再测试。
  5. 阿里百炼同时是「翻译渠道」,其设置入口在 菜单 → 翻译设置,不要与语音识别的百炼设置混淆。

若按上述重新填写正确模型名后仍报错,请提供软件目录下 logs/ 文件夹中最新的日志文件(复制底部约 30 行)以便进一步分析。

请查阅相关文档:

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