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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gemini-tg-image-gen" with this command: npx skills add drones277/gemini-tg-image-gen

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 Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Fast Douyin Publish

抖音视频自动发布助手。一键上传视频到抖音,支持自动文案生成和标签优化。

Registry SourceRecently Updated
General

Skills Finder

Intelligent skill matcher that searches multiple skill marketplaces (ClawHub & Skills.sh) in real-time. Supports ANY language for user input, multi-step skil...

Registry SourceRecently Updated
General

Claw Self Improving Plus

Turn raw mistakes, corrections, discoveries, and repeated decisions into structured learnings and promotion candidates. Use when the user wants a conservativ...

Registry SourceRecently Updated