#1523 requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://openspeech.bytedance.com/api/v3/auc/bigmodel

2408:824e* Posted at: 2 days ago 👁22

403 Client Error: Forbidden 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 205, 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: 403 Client Error: Forbidden for url: https://openspeech.bytedance.com/api/v3/auc/bigmodel/recognize/flash


=
system:Windows-10-10.0.19045-SP0
version:v3.84
frozen:True
language:zh
root_dir:D:/video_win-videotrans-v3.84

1 Replies

这是字节跳动火山引擎语音识别API返回的403错误,表示访问被拒绝。可能的原因和解决方案如下:

  1. API密钥无效或过期:请检查您在软件设置中填写的火山引擎API密钥是否正确且未过期。登录火山引擎控制台,确认密钥状态。
  2. 账户余额不足:火山引擎语音识别服务是付费的,请确保您的账户有足够的余额。
  3. API调用频率超限:如果短时间内发送过多请求,可能会被限制访问。请稍后再试。
  4. 服务未开通:确认您已在火山引擎控制台开通了"语音识别"相关服务。

解决步骤

  • 登录火山引擎控制台 (https://console.volcengine.com/)
  • 检查语音识别服务状态和账户余额
  • 重新生成有效的API密钥
  • 在pyVideoTrans的设置中更新正确的API密钥

如果问题持续,建议暂时使用其他语音识别选项,如本地的faster-whisper或免费的Edge-TTS。

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