✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

Gemini 2.0 代理

使用 Deno 免费代理 Google Gemini,国内直连,不限地区/网络环境,打开即用。

免费使用 Gemini 地表最强大的 100万 Token 上下文模型。

兼容的 OpenAI 格式,可对接 AI 编程,接入ChatBox、Cherry Studio、Cursor、Cline 等 AI 客户端。

分享

  • Midjourney API:市面上最强大,完全免费开源的免费绘图平台。
  • MDrive:阿里云盘官方 API 授权的自动同步和备份工具,支持挂载到本地磁盘。
  • Grok:使用 Deno 免费代理马斯克 Grok3,免登录,国内直连,不限地区/不限网络/不限设备,打开即用。

Deno 部署

Bilibili 视频教程:https://www.bilibili.com/video/BV1DDA3eEEYn/

  1. 免费创建一个 Gemini API Key https://aistudio.google.com
  2. 点击 Fork 本项目(万分感谢帮助点个 Star
  3. 登录/注册 Deno https://dash.deno.com/
  4. 点击创建项目 https://dash.deno.com/new_project
  5. 选择此项目,填写项目名字(分配域名)
  6. 部署 Entrypoint 填写 src/deno_index.ts 其他字段留空
  7. 点击 Deploy Project
  8. 部署成功后获得域名,可以作为Chat API的代理使用。
  9. 下载安装 Cherry Studio -> 设置 -> 添加模型服务 -> 输入域名和 Token -> 添加模型 -> 开启 AI 会话。

Deno 调试

Windows 安装 Deno:

irm https://deno.land/install.ps1 | iex

Mac/Linux 安装 Deno:

curl -fsSL https://deno.land/install.sh | sh

启动项目:

cd gemini

deno run --allow-net --allow-read src/deno_index.ts

鸣谢

  • https://github.com/tech-shrimp/gemini-playground
  • https://github.com/PublicAffairs/openai-gemini

Featured Templates

View More

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.