Skip to content
Back to skills

Gemini Tg Image Gen

BSecurity

Generate images via OpenRouter (google/gemini-2.5-flash-image) and send to Telegram. Use when user asks for AI-generated images in TG.

  • 21 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 7, 2026
toolspythongobashapi

Works with

  • api

Security analysis

B88/100
  • criticalAccesses sensitive system or user directories

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill gemini-tg-image-gen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gemini Tg Image Gen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gemini Tg Image Gen
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-gemini-tg-image-gen/badge)](https://www.skillsdirectory.com/skills/modbender-gemini-tg-image-gen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gemini-tg-image-gen
description: Generate images via OpenRouter (google/gemini-2.5-flash-image) and send to Telegram. Use when user asks for AI-generated images in TG.
---

# Gemini TG Image Gen (OpenRouter)

## Workflow

1. Immediately notify user in Telegram: `"⏳ Идёт генерация, подождите немного..."`
2. Use OpenRouter model `google/gemini-2.5-flash-image`.
3. Read API key from env: `OPENROUTER_API_KEY`.
4. Run script to generate and save image locally.
5. Send the image to Telegram using the `message` tool (local file path).
6. NO_REPLY.

## Usage

```bash
OPENROUTER_API_KEY=... python3 scripts/generate_image.py "<prompt>"
```

The script prints a JSON object with `paths`.

## Telegram Send

```
# step 1: waiting message
message action=send channel=telegram text="⏳ Идёт генерация, подождите немного..."

# step 5: send image
message action=send channel=telegram media="/root/.openclaw/workspace/tmp/openrouter_image_*.png" caption="Generated: <prompt>"
```

After sending, use `NO_REPLY`.

Files in this skill

  • SKILL.md1.1 KB
  • scripts/generate_image.py5.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.