【求助】学生认证 Gemini Pro 如何反代到 OpenCode 使用?

2026-04-11 12:031阅读0评论SEO资讯
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

请教各位佬友:如何将学生认证赠送的一年 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 不过反代有风险


--【伍】--:

opencode-gemini-auth 封号包封!


--【陆】--:

号还没封,但是不能opencode中不给用了


--【柒】--:

对,但是号还没封,只是不给我在opencode中用了


--【捌】--:

pro就那么点额度,反代干啥,不如网页版查查资料算了


--【玖】--:

反代网页版算反代吗?GitHub - lumingya/universal-web-api: 🤖通用性反代程序,通过模拟人类操作支持将任意网站转化为标准的OpenAi格式的api。 · GitHub


--【拾】--:

哈哈,现在看来只能用网页的Gemini了


--【拾壹】--:

佬用过这个吗?好不好用,会被封吗

标签:快问快答
问题描述:

请教各位佬友:如何将学生认证赠送的一年 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 不过反代有风险


--【伍】--:

opencode-gemini-auth 封号包封!


--【陆】--:

号还没封,但是不能opencode中不给用了


--【柒】--:

对,但是号还没封,只是不给我在opencode中用了


--【捌】--:

pro就那么点额度,反代干啥,不如网页版查查资料算了


--【玖】--:

反代网页版算反代吗?GitHub - lumingya/universal-web-api: 🤖通用性反代程序,通过模拟人类操作支持将任意网站转化为标准的OpenAi格式的api。 · GitHub


--【拾】--:

哈哈,现在看来只能用网页的Gemini了


--【拾壹】--:

佬用过这个吗?好不好用,会被封吗

标签:快问快答