#2290 requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://openspeech.bytedance.com/api/v3/auc/bigmo

2409:8a44* Posted at: 9 hours ago 👁10

401 Client Error: Unauthorized for url: https://openspeech.bytedance.com/api/v3/auc/bigmodel/recognize/flash:
Traceback (most recent call last):
File "videotrans\util\TestSTT.py", line 18, in run
File "videotrans\recognition\__init__.py", line 207, in run
File "videotrans\recognition\_base.py", line 78, in run
File "videotrans\recognition\_zijiemodel.py", line 70, in _exec
File "requests\models.py", line 1026, in raise_for_status
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://openspeech.bytedance.com/api/v3/auc/bigmodel/recognize/flash


=
system:Windows-10-10.0.19045-SP0
version:v3.83
frozen:True
language:zh
root_dir:L:/win-videotrans-v3.78-0821

1 Replies

此错误表明您在使用“字节火山语音识别大模型极速版”时,API 密钥(Key)无效或已过期,导致服务器返回“401 Unauthorized”未授权错误。

请按以下步骤解决:

  1. 检查并更新API密钥

    • 前往主界面菜单栏,点击 设置/配置
    • 在“翻译设置”或“语音识别设置”区域,找到“字节火山”或“Doubao”相关的配置项。
    • 确保您填写的 Access KeySecret Key 完全正确,且未过期。您需要前往字节火山引擎控制台重新申请或查看有效的密钥。
  2. 确认服务已开通

    • 登录字节火山引擎控制台,确保您已开通“语音技术”相关的服务(如“语音识别-大模型极速版”),并且账户余额充足或套餐包未用完。
  3. 测试连接

    • 在软件设置中正确填写密钥后,返回主界面,在“语音识别”下拉框中选择“字节火山语音识别大模型极速版”,然后点击旁边的“测试”按钮,验证连接是否成功。

如果以上步骤无法解决,请检查网络代理设置(如果您需要使用代理访问),或尝试更换其他语音识别渠道(如 faster-whisper(本地))。

有用的文档链接:字节火山语音识别大模型极速版

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.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions