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

2408**c34d 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

这是模型选错导致的:gpt-4o 是对话/多模态模型,不支持音频转录接口(audioTranscriptions),必须改用专门音频转录模型。

解决办法:

  1. 打开 菜单 → 翻译设置 → OpenAI语音识别 (或主界面语音识别渠道行,选择OpenAI API后点击右侧设置按钮)。
  2. 将模型名称由 gpt-4o 改为以下任一转录模型:

    • whisper-1(最通用、稳定,推荐)
    • gpt-4o-transcribe
    • gpt-4o-mini-transcribe
  3. 保存后重新执行。若使用第三方中转API(错误信息中的 upstream_error 说明是中转站),请确认该中转站支持上述转录模型,部分中转站只转发对话接口、不支持 /v1/audio/transcriptions,此时换用官方API或改用本地 faster-whisper(内置)。

另外提醒:您的软件路径在 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