Rechercher

PythonReactSEOPDF
OpenClaw

gemini-tg-image-gen

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

drones2770 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install drones277/gemini-tg-image-gen

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

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

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.

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/drones277/gemini-tg-image-gen
Version
—
Commit
66fbb70d4449d842a20f685bc2520073454fcf88
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# 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`.

Skills associés

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.