#5455 videotrans.configure.excepts.TranslateSrtError: This model is currently experiencing high demand. Spikes in demand are u

2402:800* Posted at: 9 hours ago

This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.:Traceback (most recent call last):
File "videotrans\translator\_base.py", line 68, in run
File "videotrans\translator\_base.py", line 142, in _run_srt
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 421, in exc_check
tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\__init__.py", line 860, in run
File "videotrans\translator\_base.py", line 71, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_gemini.py", line 112, in _item_task
videotrans.configure.excepts.TranslateSrtError: This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.


=
system:Windows-10-10.0.26100-SP0
version:v4.03
frozen:True
language:en
root_dir:G:/pyvideo

1 Replies

这是由于 Gemini API 服务端负载过高触发的临时限流导致翻译失败。Gemini 对免费账户或高并发请求有较严格的速率限制。

解决方案:

  1. 降低请求频率:进入 菜单 → 工具/选项 → 高级选项 → 字幕翻译调整,将 翻译后暂停秒 修改为 5~10(秒),减少对 Gemini API 的请求速度。
  2. 切换翻译渠道:如果急需完成翻译,可临时更换为其他渠道(如 DeepSeekOpenAI ChatGPTGoogle 翻译 等),这些渠道目前可能更稳定。
  3. 稍后重试:如果是偶发高峰,稍等几分钟后重新执行任务即可。

若问题持续,请检查 Gemini API Key 的配额(免费账户每日请求上限较低),或考虑升级至付费版本。

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. Dondate: ko-fi.com/jianchang512

Related resource