Search

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 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install drones277/gemini-tg-image-gen

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill 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.

Source information

Source
github
Repository
openclaw/skills
Path
skills/drones277/gemini-tg-image-gen
Version
—
Commit
66fbb70d4449d842a20f685bc2520073454fcf88
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

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`.

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

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.