#2095 RuntimeError: {'reqid': 'cd86ec98-949a-4151-9324-ae1908df8143', 'code': 45000292, 'message': 'quota exceeded for types:

119.34* Posted at: 7 hours ago 👁12

运行时错误:{'reqid': 'cd86ec98-949a-4151-9324-ae1908df8143', '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': 'cd86ec98-949a-4151-9324-ae1908df8143', '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:D:/win-pyvideotrans-v3.86

1 Replies

您遇到的错误 quota exceeded for types: text_words_lifetime 表明您使用的 字节火山引擎(Doubao)的文本转文字(TTS)配额已经用完

核心原因:您选择的配音角色(TTS)是“字节火山引擎”提供的,该服务有使用量限制(例如每月免费额度),您当前的额度已耗尽。

解决方案

  1. 更换配音渠道(立即生效):在主界面第4行“配音”设置中,将渠道切换为其他免费或您仍有额度的服务,例如:

    • Edge-TTS(免费,微软在线)
    • VITS-cnen(免费,本地内置)
    • piper-tts(免费,本地内置)
    • 或其他您已配置且有余量的API(如Azure、OpenAI等)。
  2. 检查并补充配额(如需继续使用字节火山):

    • 登录 字节火山引擎控制台
    • 在“用量统计”或“资源包管理”中查看您的“文本转语音”服务的剩余额度。
    • 如果免费额度已用完,需要购买资源包或开通付费。

操作步骤

  1. 停止当前任务。
  2. 在主界面“配音”区域,点击下拉菜单,选择上述推荐的免费渠道(如“Edge-TTS”)及一个角色。
  3. (可选)点击“试听”确认效果。
  4. 重新开始翻译任务。

为了避免未来因配额问题中断,建议在长期或批量处理任务时,优先使用本地免费的TTS渠道(如VITS-cnen)。

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