Back to Skills

baoyu-danger-gemini-web

Generates images and text via reverse-engineered Gemini Web API. Supports text generation, image generation from prompts, reference images for vision input, and multi-turn conversations. Use when other skills need image generation backend, or when user requests "generate image with Gemini", "Gemini text generation", or needs vision-capable AI generation.

14,162stars1,632forksUpdated 4/12/2026

Security Assessment

Safe(100/100)
Security Score100/100

About baoyu-danger-gemini-web

The baoyu-danger-gemini-web skill leverages the reverse-engineered Gemini Web API to offer robust capabilities for text and image generation. This skill allows users to generate content based on text prompts or reference images, making it ideal for applications that require visual or textual content creation. By providing access to an API that supports multi-turn conversations and vision capabilities, it fills a significant gap where other skills might lack the necessary backend for image generation.

FAQ

How do I use the baoyu-danger-gemini-web skill?

To use this skill, execute scripts from the `scripts/` subdirectory of the skill, ensuring that either `bun` or `npx` is installed. The skill provides both text and image generation capabilities through a CLI, and can be used when other skills request 'generate image with Gemini' or 'Gemini text generation'.

What are the system requirements for baoyu-danger-gemini-web?

The skill requires either `bun` or `npx` for execution. It also depends on the availability of specific consent files and configuration files in the relevant directories for user preferences.

What is the purpose of the consent check?

The consent check is required before first use to confirm user approval for utilizing the reverse-engineered Gemini Web API. The consent file ensures compliance with usage terms and contains an 'accepted' flag for validation.

All Files

29 files
scripts/gemini-webapi/types/image.ts3.4 KB
View
scripts/gemini-webapi/utils/cookie-file.ts2.3 KB
View
scripts/gemini-webapi/utils/get-access-token.ts7.4 KB
View
scripts/gemini-webapi/utils/http.ts1.6 KB
View
scripts/gemini-webapi/utils/load-browser-cookies.ts9.6 KB
View
scripts/gemini-webapi/utils/logger.ts1.2 KB
View
scripts/gemini-webapi/utils/upload-file.ts1.1 KB
View
scripts/gemini-webapi/utils/rotate-1psidts.ts1.5 KB
View
scripts/package.json0.2 KB
View
scripts/vendor/baoyu-chrome-cdp/package.json0.2 KB
View
scripts/gemini-webapi/client.ts21.3 KB
View
scripts/gemini-webapi/constants.ts3.8 KB
View
scripts/gemini-webapi/types/candidate.ts1.3 KB
View
scripts/bun.lock0.3 KB
View
scripts/gemini-webapi/components/index.ts0.0 KB
View
scripts/gemini-webapi/index.ts0.3 KB
View
scripts/gemini-webapi/types/grpc.ts0.4 KB
View
scripts/gemini-webapi/types/modeloutput.ts0.8 KB
View
SKILL.md7.1 KB
View
scripts/gemini-webapi/components/gem-mixin.ts5.6 KB
View
scripts/gemini-webapi/exceptions.ts1.2 KB
View
scripts/gemini-webapi/types/gem.ts1.8 KB
View
scripts/gemini-webapi/types/index.ts0.2 KB
View
scripts/gemini-webapi/utils/decorators.ts1.1 KB
View
scripts/gemini-webapi/utils/index.ts1.0 KB
View
scripts/gemini-webapi/utils/parsing.ts1.3 KB
View
scripts/gemini-webapi/utils/paths.ts2.3 KB
View
scripts/main.ts15.3 KB
View
scripts/vendor/baoyu-chrome-cdp/src/index.ts17.6 KB
View

Install baoyu-danger-gemini-web

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill