#4896 请求的资源不存在,请检查模型名称或API地址 Error code: 404 - {'error': {'message': 'No endpoints found for google/gemini-2.0-flash-001.', 'c

123.110* Posted at: 1 day ago

请求的资源不存在,请检查模型名称或API地址 Error code: 404 - {'error': {'message': 'No endpoints found for google/gemini-2.0-flash-001.', 'code': 404}, 'user_id': 'user_3BQKhZQyNEhcklm3TUc3JGJk0G0'}


=
system:Windows-10-10.0.19043-SP0
version:v3.98
frozen:True
language:zh
root_dir:D:/pyvideotrans

1 Replies

该错误是由于 Gemini 翻译渠道的模型名称填写不正确导致的。软件要求填写类似 gemini-2.0-flash(或 gemini-1.5-pro)的格式,而非 google/gemini-2.0-flash-001

解决方法:

  1. 打开菜单 → 翻译设置 → Gemini 设置面板。
  2. 模型名称 改为正确的值,例如:gemini-2.0-flashgemini-1.5-pro(根据你使用的具体模型)。
  3. 确认 API 地址(Base URL)https://generativelanguage.googleapis.com/v1beta/openai/(与官方一致)。
  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. Dondate: ko-fi.com/jianchang512

Related resource