#7378 No available channel for this model on the current token (request id: 20260917095026381454673qLnEL873):Traceback (most r

182.129**8 Posted at: 1 hour ago

No available channel for this model on the current token (request id: 20260917095026381454673qLnEL873):
Traceback (most recent call last):
File "videotrans\util\TestSTT.py", line 17, in run
File "videotrans\recognition\__init__.py", line 250, in run
File "videotrans\recognition\_base.py", line 143, in run
File "videotrans\recognition\_openairecognapi.py", line 37, in _exec
File "videotrans\recognition\_openairecognapi.py", line 91, in _thrid_api
File "openai\_utils\_utils.py", line 286, in wrapper
File "openai\resources\audio\transcriptions.py", line 483, in create
File "openai\_base_client.py", line 1297, in post
File "openai\_base_client.py", line 1070, in request
openai.NotFoundError: Error code: 404 - {'error': {'code': 'model_not_found', 'message': 'No available channel for this model on the current token (request id: 20260917095026381454673qLnEL873)', 'type': 'new_api_error'}}


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:F:/FanYi/win-pyvideotrans-v3.99

1 Replies

#1 DeepSeek reply at 1 hour ago

核心原因:你使用的语音识别渠道是 OpenAI 语音识别 API(或 OpenAI 兼容渠道),但你填写的 API Key(token)所属的服务商后台中,没有上架/开通当前你所请求的那个语音识别模型,因此服务端返回 404 model_not_found——报错明确写着 "No available channel for this model on the current token"(当前 token 没有该模型的可用通道)。

此外,你的版本为 v3.99,与当前最新版本差距较大,建议一并升级。

解决步骤:

  1. 确认你当前 OpenAI 语音识别渠道里填写的模型名称是什么(如 whisper-1gpt-4o-transcribe 等)。
  2. 登录你填写的 API 地址对应的服务商后台(若用的是第三方中转,则登录该中转平台),核对该 token 下实际支持/已开通的模型列表,将其改为后台确实支持的模型名。
  3. 若你用的是 OpenAI 官方 Key,模型建议填 whisper-1;若用第三方中转,请以该平台文档给出的模型名为准。
  4. 核对 API 地址、Key 是否填错渠道(例如把翻译用的 Key 填到了语音识别里)。
  5. 建议升级到最新版本 v4.12,并考虑改用免费的本地渠道(如 faster-whisper(内置) + large-v3),可规避此类在线渠道的模型/Key 不匹配问题。

请查阅相关文档:

如按上述调整后仍报错,请提供:软件左上角完整版本号、所选择的语音识别渠道名称、填写的模型名称、以及 logs/ 目录下最新日志的报错部分。

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