Chisle
The coding-agent plugin that bills 52% of a bare model across 20 live tasks. Terse persona + tool-output compressor + context diet.
将AI Studio Playground和Build反代成API | AI Studio to OpenAI, Anthropic & Gemini Compatible API
Translation pending
Developer toolsGitHub @Mag1cFallSelf-installOwner unconfirmed
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
Repository information has not been collected yet.
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗三步开始使用:下载 Releases 并启动 → 在“账户”页添加 Google 账户 → 点击“启动服务”,把 http://127.0.0.1:2048 作为 OpenAI、Anthropic 或 Gemini 客户端的 Base URL
三个项目分别接入 AI Studio、Gemini 网页版与 Antigravity,把各自的模型转为 OpenAI、Anthropic 与 Gemini 兼容接口,供 Claude Code、Codex 等 Agent 客户端和 SillyTavern 等酒馆前端使用。
PROXY_GENERATION_DISABLED),默认关闭,可在 UPSTREAM_CHANNELS 中启用;启用后经 Build 发送的生成请求返回上游原因;免费账户的两个通道共用同一模型的每日请求次数WAA_BACKEND=camoufox 后由 Camoufox 持有官方 WAA 生命周期/v1/responses/compact 与 compaction、compaction_trigger 输入项的上下文压缩,Anthropic Messages 支持 context_management 的工具结果与思考清理和阈值压缩agent 字段调用 Deep Research,输出研究过程、带引用的报告与图表gemini-decision-1 经 /v1beta/decisions 对同一份输入一次回答多个是非、单选与评分问题,返回校准后的概率与置信度;输入可以是文本、图片、音频、视频与 PDF,只计输入 token;AI Studio 官网前端尚未调用这个模型,服务经网页的 CreateDecision 请求调用YOUTUBE_LINKS 后,消息文本中的 YouTube 链接同样作为视频读取model 字段路由;开启 DISCOVER_HIDDEN_MODELS 后,官网前端已配置、账户模型列表尚未列出的模型经上游确认可用后同样可以调用linux-amd64.tar.gz 后运行 ./aistudio2api,Camoufox 需要 Firefox 系运行库与 Xvfb,Debian/Ubuntu 执行 sudo apt-get update && sudo apt-get satisfy -y "libgtk-3-0, libasound2t64 | libasound2, libx11-xcb1, xvfb"从 Releases 下载 windows-amd64.zip 发布包,解压后双击 aistudio2api.exe:
aistudio2api.exe 唤回已运行的窗口从源码启动时:
git clone https://github.com/Mag1cFall/AIStudio2API.git
cd AIStudio2API
copy .env.example .env
cd web
npm ci
npm run build
cd ..
mkdir spidermonkey
curl.exe -L -o spidermonkey\windows.tar.gz https://github.com/Mag1cFall/firefox/releases/download/v158.0.1-aistudio2api.1/spidermonkey-v158.0.1-aistudio2api.1-windows-amd64.tar.gz
tar -xzf spidermonkey\windows.tar.gz -C spidermonkey
mkdir libwebp
curl.exe -L -o libwebp\libwebp.tar.gz https://github.com/Mag1cFall/libwebp/releases/download/v1.6.0-aistudio2api.1/libwebp-v1.6.0-aistudio2api.1-windows-amd64.tar.gz
tar -xzf libwebp\libwebp.tar.gz -C libwebp
$env:CC = "x86_64-w64-mingw32-clang"
$env:CXX = "x86_64-w64-mingw32-clang++"
$env:CGO_CPPFLAGS = "-I$PWD\spidermonkey\include -I$PWD\libwebp\include"
$env:CGO_LDFLAGS = "-L$PWD\spidermonkey\lib -L$PWD\libwebp\lib"
go build -o aistudio2api.exe ./cmd/aistudio2api
.\aistudio2api.exe
x86_64-w64-mingw32-clang 来自 llvm-mingw 的 ucrt-x86_64 包,解压后把其中的 bin 目录加入 PATH。
WAA_BACKEND=camoufox 时,程序在管理服务启动后于后台下载当前平台的 Camoufox 到 runtime/camoufox/,生成服务在下载完成后就绪;默认的 SpiderMonkey 后端在第一次使用浏览器登录时下载。下载期间管理页面显示进度,公开 API 请求返回说明下载进度的 503:
PROXY 的第一个代理发出,未设置时使用系统代理CAMOUFOX_PATH 可以指定已有的同版本可执行文件,版本不符时管理页面给出所需版本macOS 从 Releases 下载 darwin-universal.dmg,打开后把 AIStudio2API.app 拖入“应用程序”。应用使用 ad-hoc 签名,首次打开被系统拦截时,在“系统设置 → 隐私与安全性”中点击“仍要打开”,或执行:
xattr -dr com.apple.quarantine /Applications/AIStudio2API.app
macOS 版关闭窗口后在菜单栏继续运行:单击菜单栏图标显示窗口,右键打开菜单,点 Dock 图标或从“应用程序”再次打开时显示窗口。
Linux 下载 linux-amd64.AppImage 赋予执行权限后运行,或安装 linux-amd64.deb 后从应用菜单启动 AIStudio2API:
This is the beginning of the README. Read the rest at the original. Read the full README ↗