xy121718 avatar

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-code

Installs 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:

  1. Determine this SKILL.md file's directory path as SKILL_DIR
  2. Script path = ${SKILL_DIR}/scripts/<script-name>.ts
  3. Replace all ${SKILL_DIR} in this document with the actual path

Script Reference:

ScriptPurpose
scripts/main.tsCLI 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

More from xy121718/baoyu-skills

All 8
1aibtcdev avatarx402aibtcdev/skillsx402 paid API endpoints, inbox messaging, project scaffolding, and OpenRouter AI integration. Execute and probe x402-enabled endpoints from multiple sources, se172skills.sh installs
2personamanagmentlayer avatardjango-expertpersonamanagmentlayer/pclExpert-level Django development for robust Python web applications with ORM, admin, and authentication170skills.sh installs
3incept5 avatareve-app-cliincept5/eve-skillpacksBuild agent-friendly CLIs for Eve-compatible apps. Wrap REST APIs with domain commands, auto-auth, structured errors, and --json output. Agents use CLIs instead162skills.sh installs
4base avatarregistering-agent-base-devbase/skillsInvoke this skill when a user is building or running any automated transaction sender on Base (trading bot, arbitrage bot, sniper bot, yield farmer, AI agent, o161skills.sh installs
5cinience avataralicloud-ai-chatbot-testcinience/alicloud-skillsSmoke test for alicloud-ai-chatbot. Validate minimal authentication, API reachability, and one read-only query path.161skills.sh installs
6cinience avataralicloud-ai-content-aicontent-testcinience/alicloud-skillsSmoke test for alicloud-ai-content-aicontent. Validate minimal authentication, API reachability, and one read-only query path.160skills.sh installs