#8604 The audioTranscriptions operation does not work with the specified model, gpt-4o. Please choose different model and try

2408**fc17 Posted at: 1 hour ago

The audioTranscriptions operation does not work with the specified model, gpt-4o. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://


.com/
?linkid
:
Traceback (most recent call last):
File "videotrans\util\TestSTT.py", line 21, in run
File "videotrans\recognition\__init__.py", line 121, in run
File "videotrans\recognition\_base.py", line 99, in run
File "videotrans\recognition\_openairecognapi.py", line 39, in _exec
File "videotrans\recognition\_openairecognapi.py", line 99, 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 - {'error': {'message': 'The audioTranscriptions operation does not work with the specified model, gpt-4o. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://
.com/
?linkid
', 'type': 'upstream_error', 'param': '', 'code': 'OperationNotSupported'}}


=
system:Windows-10-10.0.19045-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/Program Files (x86)/pyvideotrans4.14

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因是:你在 OpenAI 语音识别渠道里选择了 gpt-4o 模型,而该模型不支持 audioTranscriptions(语音转录)接口,属于模型与操作类型不匹配,不是软件 bug。

解决步骤:

  1. 打开 菜单 → 翻译设置 → OpenAI 语音识别API(或对应设置窗口),将模型改为支持语音转写的模型:whisper-1、gpt-4o-transcribe 或 gpt-4o-mini-transcribe。
  2. 保存后重新选中该识别渠道,再点 开始执行。
  3. 若同时用于字幕翻译,翻译渠道需另选文本模型(如 gpt-4o 等),两个渠道的模型是分别配置的,不要混用。

另外强烈建议处理安装路径:你的软件位于 D:/Program Files (x86)/pyvideotrans4.14,带有空格和括号,属于官方明确不推荐的位置,容易引发 ffmpeg、临时文件、输出目录等各类异常。请将整个软件文件夹移动到浅层纯英文路径(如 D:/pyvideotrans)后再运行。

请查阅相关文档:

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