
Baoyu Danger Gemini Web
This is a reverse-engineered Gemini Web API client that lets you generate both text and images without going through official channels. It handles multi-turn conversations, accepts reference images for vision tasks, and supports the full Gemini 3.0 model lineup including the thinking variant. The consent flow is thorough, maybe overly so, but makes sense given you're using an unofficial API that could break anytime. Useful when you need Gemini's image generation capabilities in your Claude workflow or want to compare outputs across models. Authentication happens through browser cookie extraction, and it caches everything locally. If Google's official API pricing bothers you or you need features not yet in the official release, this fills the gap.
- skills.sh installs
- 174
- GitHub stars
- 102
- last updated
- Aug 21, 2026
Install
$ npx -y skills add xy121718/baoyu-skills --skill baoyu-danger-gemini-web --agent claude-codeInstalls into .claude/skills of the current project.
Files
Gemini Web Client
Text/image generation via Gemini Web API. Supports reference images and multi-turn conversations.
Script Directory
Important: All scripts are located in the scripts/ subdirectory of this skill.
Agent Execution Instructions:
- Determine this SKILL.md file's directory path as
SKILL_DIR - Script path =
${SKILL_DIR}/scripts/<script-name>.ts - Replace all
${SKILL_DIR}in this document with the actual path
Script Reference:
| Script | Purpose |
|---|---|
scripts/main.ts | CLI entry point for text/image generation |
scripts/gemini-webapi/* | TypeScript port of gemini_webapi (GeminiClient, types, utils) |
Consent Check (REQUIRED)
Before first use, verify user consent for reverse-engineered API usage.
Consent file locations:
- macOS:
~/Library/Application Support/baoyu-skills/gemini-web/consent.json - Linux:
~/.local/share/baoyu-skills/gemini-web/consent.json - Windows:
%APPDATA%\baoyu-skills\gemini-web\consent.json
Sponsors
Details
- Repository
- github.com/xy121718/baoyu-skills
- Category
- Backend & APIs
- First seen
- Jun 3, 2026