baoyu-danger-gemini-web_skill

This skill generates text and images using Gemini Web API, supporting vision input and multi-turn conversations for seamless creative tasks.
  • TypeScript

5.8k

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill jimliu/baoyu-skills --skill baoyu-danger-gemini-web

  • SKILL.md7.3 KB

Overview

This skill provides text and image generation using a reverse-engineered Gemini Web API. It supports single-turn and multi-turn conversations, image generation from prompts, and vision input via reference images. Built for CLI integration, it can act as an image/text backend for other tools or direct user requests.

How this skill works

The skill runs as a TypeScript CLI that interacts with a Gemini Web client implementation. It loads cookies via a browser-based Google sign-in, accepts prompts and optional reference images, and returns generated text or image files. Sessions and preferences are stored on disk to enable multi-turn conversations and persistent settings.

When to use it

  • Generate images from text prompts or using reference images for variations.
  • Produce text responses or multi-turn chat where Gemini-style output is desired.
  • Provide a local CLI backend for other skills that require image generation.
  • Batch or script generation tasks via shell commands or npx invocations.
  • Test or prototype flows that need vision-capable language model outputs.

Best practices

  • Run the consent flow on first use and verify the consent file exists before automating calls.
  • Use session IDs for multi-turn flows to preserve conversation state and context.
  • Store large numbers of sessions or generated media in a dedicated data directory via environment variables.
  • Provide reference images when you need the model to base new images on existing visuals.
  • Use the --json flag for machine-readable output when integrating with other tools.

Example use cases

  • Generate a product mockup image from a prompt and a reference photo for consistent styling.
  • Run an automated captioning pipeline: feed images as references and collect text outputs as JSON.
  • Prototype a chatbot that needs Gemini text quality and keeps state across turns via session files.
  • Create prompt-driven image variations for creative exploration or A/B testing.
  • Scripted batch generation of social media assets using different models and output formats.

FAQ

Yes. The first run must record user consent in a local consent file before the skill proceeds.

How are credentials handled for Gemini access?

Authentication uses a browser-based Google sign-in and stores cookies locally; you can refresh with the --login option or customize the cookie/profile paths via environment variables.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
baoyu-danger-gemini-web skill by jimliu/baoyu-skills | VeilStrat