#7186 当前密钥没有访问权限,请检查权限设置 This token has no access to model whisper-1 (request id: 20260911144629534454106YffmyJKq):Traceback (

46.250**9 Posted at: 1 hour ago

当前密钥没有访问权限,请检查权限设置 This token has no access to model whisper-1 (request id: 20260911144629534454106YffmyJKq):
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.PermissionDeniedError: Error code: 403 - {'error': {'message': 'This token has no access to model whisper-1 (request id: 20260911144629534454106YffmyJKq)', '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 密钥(Token)没有权限调用 whisper-1 模型导致的,与软件本身无关,是第三方 API 平台的权限限制。

原因说明

  • 报错 403 This token has no access to model whisper-1 表示该密钥在对应平台上未被授权访问 whisper-1 模型。
  • new_api_error 表明你用的是中转/聚合类 API 平台,这类平台通常需要在后台单独为令牌勾选允许调用的模型。

解决办法(按顺序尝试)

  1. 登录你所用 API 平台的后台,进入令牌/密钥管理,检查该令牌的「可用模型」是否包含 whisper-1,勾选并保存。
  2. 确认账户余额充足、该模型未下架或未被平台限制。
  3. 若平台不支持 whisper-1,请在软件中把语音识别渠道改为其他可用渠道,推荐:

    • faster-whisper(内置)(默认推荐,本地免费)
    • 或平台实际支持的语音识别模型名,并在渠道设置中把模型名改成平台支持的名称(如 whisper-large-v3 等,以平台文档为准)。
  4. 若仍不确定,直接在 API 平台用官方文档示例测试该密钥能否调用 whisper-1,若官方测试也 403,则联系平台客服开通权限。

请查阅相关文档:

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