【求助】学生认证 Gemini Pro 如何反代到 OpenCode 使用?
- 内容介绍
- 文章标签
- 相关推荐
请教各位佬友:如何将学生认证赠送的一年 gemini pro 反代到 opencode 中使用?
尝试 1:opencode-antigravity-auth 插件
结果:403 错误
This service has been disabled in this account for violation of Terms of Service.
Please submit an appeal to continue using product.
尝试 2:opencode-gemini-auth 插件
使用模型:google/gemini-3.1-pro-preview-customtools
结果:配置了 OPENCODE_GEMINI_PROJECT_ID 和 GOOGLE_CLOUD_PROJECT 环境变量后仍然报错
Error: Google Gemini requires a Google Cloud project.
Enable the Gemini for Google Cloud API on a project you control,
then set provider.google.options.projectId in your OpenCode config
(or set OPENCODE_GEMINI_PROJECT_ID / GOOGLE_CLOUD_PROJECT).
网友解答:--【壹】--:
反代查的很严重好像,很容易封号吧
--【贰】--:
应该不会封,但是只能提取文字,没有任何工具调用的能力
不过claude还是最好不要去尝试,虽然理论上能用
--【叁】--:
还敢?反代必死的
--【肆】--:
搜一下CPA吧 cliproxyapi 不过反代有风险
--【伍】-
请教各位佬友:如何将学生认证赠送的一年 gemini pro 反代到 opencode 中使用?
尝试 1:opencode-antigravity-auth 插件
结果:403 错误
This service has been disabled in this account for violation of Terms of Service.
Please submit an appeal to continue using product.
尝试 2:opencode-gemini-auth 插件
使用模型:google/gemini-3.1-pro-preview-customtools
结果:配置了 OPENCODE_GEMINI_PROJECT_ID 和 GOOGLE_CLOUD_PROJECT 环境变量后仍然报错
Error: Google Gemini requires a Google Cloud project.
Enable the Gemini for Google Cloud API on a project you control,
then set provider.google.options.projectId in your OpenCode config
(or set OPENCODE_GEMINI_PROJECT_ID / GOOGLE_CLOUD_PROJECT).
网友解答:--【壹】--:
反代查的很严重好像,很容易封号吧
--【贰】--:
应该不会封,但是只能提取文字,没有任何工具调用的能力
不过claude还是最好不要去尝试,虽然理论上能用
--【叁】--:
还敢?反代必死的
--【肆】--:
搜一下CPA吧 cliproxyapi 不过反代有风险
--【伍】-

