#6678 You exceeded your current quota, please check your plan and billing details. For more information on this error, head to

159.26.**1 Posted at: 4 hours ago

You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit.

  • Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-3.6-flash
    Please retry in 41.661727418s.
    Traceback (most recent call last):
    File "videotrans\translator\_gemini.py", line 95, in _item_task
    File "google\genai\models.py", line 5407, in generate_content_stream
    File "google\genai\models.py", line 4101, in _generate_content_stream
    File "google\genai\_api_client.py", line 1405, in request_streamed
    File "google\genai\_api_client.py", line 1224, in _request
    File "tenacity\__init__.py", line 477, in call
    File "tenacity\__init__.py", line 378, in iter
    File "tenacity\__init__.py", line 420, in exc_check
    File "tenacity\__init__.py", line 187, in reraise
    ......
    taDimensions': {'model': 'gemini-3.6-flash', 'location': 'global'}, 'quotaValue': '20'}]}, {'@type': 'type.googleapis.com/google.rpc.RetryInfo', 'retryDelay': '41s'}]}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 89, in run
File "videotrans\task\_stage_translate.py", line 31, in trans
File "videotrans\translator\_runner.py", line 67, in run
File "videotrans\translator\_base.py", line 71, in run
File "videotrans\translator\_base.py", line 209, 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 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_gemini.py", line 117, in _item_task
videotrans.configure.excepts.StopTask: You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit.

  • Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 20, model: gemini-3.6-flash
    Please retry in 41.661727418s.

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: E:/videoplayback_(Vocals).wav,
输出结果保存到文件夹: E:/_video_out/videoplayback_(Vocals)-wav,
临时文件夹: E:/A4.9/tmp/41748/4e608ac6ad
未选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:Qwen-ASR(内置), 1.7B, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Gemini AI,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Index-TTS(本地API), 角色:clone, 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 已选 强制对齐字幕和声音
字幕: 嵌入软字幕


=
system:Windows-10-10.0.26200-SP0
version:v4.09
frozen:True
language:zh
root_dir:E:/A4.9

1 Replies

#1 DeepSeek reply at 4 hours ago

这是 Gemini API 免费额度(Free Tier)已达上限导致的 429 限流错误。错误信息明确显示:limit: 20,即当前项目每天只能免费请求 20 次 gemini-3.6-flash,本次已超限,需等待约 41 秒后才可重试。

解决方案:

  1. 等待额度恢复:免费层按日重置,可隔天再试;若批次任务较多,可在高级选项中将“AI翻译渠道每批字幕行数”调小、增加“翻译后暂停秒”,降低请求频率。
  2. 升级为付费 Gemini API:在 Google AI 平台绑定账单,免费配额限制即消失。
  3. 临时改用其他翻译渠道:

    • 在线免费:Google 翻译(国内需代理)
    • AI 翻译:DeepSeek(推荐,价格低,填好 API Key 后在翻译渠道中选择 DeepSeek)
    • 本地离线:M2M100(完全离线,首次使用需下载模型)
  4. 若必须用 Gemini,可在翻译渠道设置中更换为其他 Gemini 模型(如 gemini-2.5-progemini-2.5-flash),但免费层每种模型仍有独立限额。

请查阅相关文档:

Thinking...
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 via ko-fi.com

Related resource