#1640 RuntimeError: {'reqid': '32c54db1-0d00-4aa7-9e80-77b8162e7318', 'code': 45000292, 'message': 'quota exceeded for types:

151.242* Posted at: 3 hours ago 👁10

运行时错误:{'reqid': '32c54db1-0d00-4aa7-9e80-77b8162e7318', 'code': 45000292, 'message': 'quota exceeded for types: text_words_lifetime'}:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 18, in run
File "videotrans\tts\__init__.py", line 310, in run
File "videotrans\tts\_base.py", line 177, in run
File "videotrans\tts\_base.py", line 210, in _local_mul_thread
File "videotrans\tts\_doubao2.py", line 174, in _item_task
RuntimeError: {'reqid': '32c54db1-0d00-4aa7-9e80-77b8162e7318', 'code': 45000292, 'message': 'quota exceeded for types: text_words_lifetime'}


=
system:Windows-10-10.0.19045-SP0
version:v3.86
frozen:True
language:zh
root_dir:G:/win-videotrans-v3.48

1 Replies

这是字节火山 TTS 接口的配额已用完错误。错误代码 45000292 和消息 'quota exceeded for types: text_words_lifetime' 表示您账户的文本转语音服务(按字符数计费)的月度或总配额已耗尽。

解决方案:

  1. 检查配额: 登录您的字节火山控制台,进入“语音技术”服务,查看“用量统计”或“配额管理”,确认您的 TTS 配额是否已用完。
  2. 等待重置或购买: 如果配额是按月重置的,请等待下个月自动恢复。如果需要立即使用,请在控制台购买或申请增加配额包。
  3. 切换配音渠道: 在软件主界面第4行的“配音”下拉菜单中,暂时切换到其他可用的 TTS 服务,例如 Edge-TTS(免费) 或其他您已配置且有余量的服务(如 Azure TTS 或 OpenAI TTS)。

临时处理步骤:

  1. 停止当前任务。
  2. 在主界面“配音”处更换一个可用的配音角色和渠道。
  3. 重新开始任务。

如果您必须使用字节火山 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

Trending Questions