#6199 Model not exist.Traceback (most recent call last):

104.28* Posted at: 13 hours ago

Model not exist.
Traceback (most recent call last):
File "videotrans\task\only_one.py", line 52, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 206, in run
File "videotrans\recognition\_base.py", line 92, in run
File "videotrans\recognition\_openairecognapi.py", line 37, in _exec
File "videotrans\recognition\_openairecognapi.py", line 97, in _thrid_api
File "openai\_utils\_utils.py", line 298, in wrapper
File "openai\resources\audio\transcriptions.py", line 485, in create
File "openai\_base_client.py", line 1332, in post
File "openai\_base_client.py", line 1105, in request
openai.BadRequestError: Error code: 400 - {'code': 'InvalidParameter', 'message': 'Model not exist.', 'request_id': 'd8f17370-86de-9fb6-ae7b-3ca91ec1947d'}

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/video/hopemusic102_2025-12-19-13-20-22_1766121622778.mp4,
输出结果保存到文件夹: D:/video/_video_out/hopemusic102_2025-12-19-13-20-22_1766121622778-mp4,
临时文件夹: D:/pyVideoTrans/win-pyvideotrans-v4.07/tmp/4136/ae7071c35d
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:OpenAI语音识别API, model_name: , 发音语言: 泰国语, 断句方式:默认断句
翻译渠道:OpenAI ChatGPT,原始语言:泰国语,目标语言:简体中文, 已选 发送完整字幕
未选 配音角色,不进行配音
字幕: 嵌入硬字幕
代理地址:


=
system:Windows-10-10.0.22631-SP0
version:v4.07
frozen:True
language:zh
root_dir:D:/pyVideoTrans/win-pyvideotrans-v4.07

1 Replies

这是你选择了“OpenAI语音识别API”渠道,但该渠道的“模型名称”为空/未正确选择,导致请求发送时缺少有效模型参数,OpenAI 服务端返回 Model not exist

解决办法:

  1. 打开菜单 → 翻译设置 → 找到「OpenAI语音识别API」配置面板。
  2. 确认已填写有效的 API Key。
  3. 在该面板中选择或填写一个可用的模型名称,例如:whisper-1gpt-4o-transcribegpt-4o-mini-transcribe
  4. 保存设置后,重新执行翻译任务。

如果仍报错,请确认你当前使用的 API 账户/中转服务是否支持所选模型,以及该模型是否已开通访问权限。

请查阅相关文档:

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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource