#9033 阿里百炼API: Model not exist.,Traceback (most recent call last):

120.40**2 Posted at: 1 hour ago

阿里百炼API: Model not exist.,
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: Model not exist.


=
system:Windows-10-10.0.19045-SP0
version:v4.19
frozen:True
language:zh_CN
root_dir:D:/.appdata

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:你在「阿里百炼」渠道填写的模型名称在该账号下不存在、未开通或不属于本任务类型(翻译必须使用纯文本对话模型),因此服务端直接返回 Model not exist.,与网络、密钥格式无关。

处理步骤:

  1. 打开 菜单 → 翻译设置 → 阿里百炼,检查「模型名称」输入框。翻译渠道只能填写纯文本大模型(如 qwen 系列文本对话模型),不可填写 qwen-asr 开头的语音模型,也不可使用多模态模型,这是阿里百炼接口的限制。
  2. 登录阿里百炼控制台,在「模型广场 / 模型列表」中核对模型名称的完整拼写(区分大小写、版本号后缀),把控制台中的名称原样复制到软件里,不要手动敲。
  3. 确认 API Key 所属区域与模型是否一致:北京地域与新加坡地域的模型清单不同,跨境账号常见「模型在另一个地域才存在」。
  4. 若该模型需申请开通或属于付费/限流模型,先在控制台完成开通,再回到软件点击「测试」。
  5. 无法确定时,可先在渠道设置中改回默认的通用文本模型测试,确认密钥与网络正常后,再切换到你要用的模型。

补充:若修改模型名后仍报同一错误,说明 API Key 与所填模型不属于同一账号或同一地域,请更换 Key 后重试。

请查阅相关文档:

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