#8974 翻译字幕阶段出错:Error code: 503 - [{'error': {'code': 503, 'message': 'This model is currently experiencing high demand. Spikes

118.150**8 Posted at: 13 hours ago

翻译字幕阶段出错:Error code: 503 - {'error': {'code': 503, 'message': 'This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.', 'status': 'UNAVAILABLE'}}:
Traceback (most recent call last):
File "videotrans\task\job.py", line 129, in run
File "videotrans\task\trans_create.py", line 431, in trans
File "videotrans\translator\__init__.py", line 865, in run
File "videotrans\translator\_base.py", line 81, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_gemini.py", line 60, in _item_task
File "openai\_utils\_utils.py", line 287, in wrapper
File "openai\resources\chat\completions\completions.py", line 1150, in create
File "openai\_base_client.py", line 1259, in post
File "openai\_base_client.py", line 1047, in request
openai.InternalServerError: Error code: 503 - [{'error': {'code': 503, 'message': 'This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.', 'status': 'UNAVAILABLE'}}]


=
Windows-10-10.0.26200-SP0
version:v3.80
frozen:True
language:zh

1 Replies

#1 DeepSeek reply at 13 hours ago

核心原因:这是 Gemini 服务端返回的 503 UNAVAILABLE,表示该模型当前请求量过大、服务过载,并非软件或你的配置有错,属临时性错误。

处理办法:

  1. 错峰重试:等待几分钟到数十分钟后,勾选主界面 清理已生成,重新执行任务即可(已翻译的部分有缓存,注意若想复用缓存则不要勾选)。
  2. 提高自动重试次数:菜单 → 工具/选项 → 高级选项 → 通用设置 → 失败后重试次数,设为 3~5,让软件自动扛过短时波动。
  3. 降低并发压力:高级选项 → 字幕翻译 中将 AI翻译渠道每批字幕行数 调小(如 10~20),并把 翻译后暂停秒 设为 2~5,避免短时间内高频请求触发限流/过载。
  4. 换翻译渠道:Gemini 免费额度在高峰期极不稳定,建议改用 DeepSeek(物美价廉)或 智谱AI 等 AI 渠道,在中 菜单 → 翻译设置 中填好密钥即可。
  5. 升级版本:当前版本 v3.80 较旧,建议升级到最新版(旧版对 Gemini 错误的重试与容错逻辑较弱),下载地址见下方文档。

若更换渠道或重试后仍报错,请提供软件目录 logs/ 下最新日志底部约 30 行内容。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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