#4790 TaskCfgTTS(is_cuda=False, uuid='e48719b846', cache_folder='D:/software/win-pyvideotrans-v3.99-0508/tmp/12548/e48719b846'

39.158* Posted at: 3 hours ago

配音阶段出错 [豆包语音合成模型2.0] {'reqid': '979225db-26c7-4665-b19a-33cff08e5e6a', 'code': 45000292, 'message': 'quota exceeded for types: text_words_lifetime'}
Traceback (most recent call last):
File "videotrans\task\job.py", line 213, in run
File "videotrans\task\_dubbing.py", line 51, in dubbing
File "videotrans\task\_dubbing.py", line 209, in _tts
File "videotrans\tts\__init__.py", line 393, in run
File "videotrans\tts\_base.py", line 193, in run
File "videotrans\tts\_base.py", line 211, in _local_mul_thread
File "videotrans\tts\_doubao2.py", line 161, in _item_task
RuntimeError: {'reqid': '979225db-26c7-4665-b19a-33cff08e5e6a', 'code': 45000292, 'message': 'quota exceeded for types: text_words_lifetime'}
TaskCfgTTS(is_cuda=False, uuid='e48719b846', cache_folder='D:/software/win-pyvideotrans-v3.99-0508/tmp/12548/e48719b846', target_dir='D:/software/win-pyvideotrans-v3.99-0508/output/translate', source_language=None, source_language_code=None, source_sub=None, source_wav=None, source_wav_output=None, target_language=None, target_language_code='zh-cn', target_sub='D:/software/win-pyvideotrans-v3.99-0508/output/translate/13. Drawing All Over Clothes & Hair 2.Simplified Chinese.srt', target_wav='D:/software/win-pyvideotrans-v3.99-0508/output/translate/13. Drawing All Over Clothes & Hair 2.Simplified Chinese.wav', target_wav_output=None, name='D:/software/win-pyvideotrans-v3.99-0508/output/translate/13. Drawing All Over Clothes & Hair 2.Simplified Chinese.srt', noextname='13. Drawing All Over Clothes & Hair 2.Simplified Chinese', basename='13. Drawing All Over Clothes & Hair 2.Simplified Chinese.srt', ext='srt', dirname='D:/software/win-pyvideotrans-v3.99-0508/output/translate', shound_del_name=None, tts_type=6, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='vivi', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:D:/software/win-pyvideotrans-v3.99-0508

1 Replies

该错误是由于豆包语音合成模型2.0 的文本字数生命周期配额(text_words_lifetime)已耗尽导致的。API 返回 quota exceeded,表示账户在该服务上的免费或付费额度已用完。

解决方法:

  1. 登录 火山引擎控制台
  2. 找到“语音合成”或“豆包语音合成”相关服务。
  3. 查看当前配额使用情况,若超出免费额度,请购买扩展包或等待额度重置(通常按自然月或周期重置)。
  4. 确认配额充足后,重新执行任务。
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.

Related resource