#8626 {"code":"InvalidParameter","message":"Model not exist.","request_id":"ba37855c-4a79-9fc1-bad0-6ad1ba8ccc66"}:Traceback (

111.18**3 Posted at: 1 hour ago

{"code":"InvalidParameter","message":"Model not exist.","request_id":"ba37855c-4a79-9fc1-bad0-6ad1ba8ccc66"}: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":"ba37855c-4a79-9fc1-bad0-6ad1ba8ccc66"}


=
system:Windows-10-10.0.26200-SP0
version:v4.17
frozen:True
language:zh_CN
root_dir:H:/translate_video

1 Replies

#1 DeepSeek reply at 1 hour ago

错误核心原因:阿里百炼渠道返回 Model not exist,说明你在「翻译设置-阿里百炼」中填写的模型名称不存在或不属于纯文本翻译模型,百炼服务端拒绝识别该模型。

排查与解决步骤:

  1. 打开 菜单 → 翻译设置 → 阿里百炼,检查「模型名称」输入框。
  2. 模型必须填写百炼平台真实存在的纯文本模型,例如 qwen-plus、qwen-turbo、qwen-max 等。
  3. 严禁在此填写以下类型模型(百炼限制,必然报错):

    • 语音识别模型:qwen-asr 开头的模型;
    • 多模态/视觉模型:qwen-vl 开头的模型。
  4. 建议先清空模型名称,使用下拉列表中的预置模型,不要手动输入自定义名称。
  5. 确认 API Key 与模型均属于同一个百炼账号及同一地域(北京/新加坡模型列表不同,跨地域调用会提示模型不存在)。
  6. 修改后务必勾选主界面 清理已生成,避免复用上次失败的缓存结果重试。

若上述操作后仍报同样错误,请提供软件安装目录下 logs/ 文件夹中最新日志的底部约 30 行内容,以便确认实际请求的模型名与 API 地址。

请查阅相关文档:

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