ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified media Safety 4/5

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.

Why use this skill?

Learn to use gemini-tg-image-gen to create stunning AI images directly in your Telegram chat using OpenRouter models and OpenClaw automation.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/drones277/gemini-tg-image-gen
Or

What This Skill Does

The gemini-tg-image-gen skill acts as an intelligent bridge between your Telegram interface and the powerful google/gemini-2.5-flash-image model hosted via OpenRouter. When a user requests an image through Telegram, this skill automates the entire lifecycle: it notifies the user, communicates with the image generation API, handles local file storage, and delivers the resulting visual directly back into the chat. It ensures a seamless experience by automating the prompt-to-image pipeline without requiring the user to leave the messaging platform.

Installation

To integrate this skill into your environment, run the following command within your OpenClaw interface: clawhub install openclaw/skills/skills/drones277/gemini-tg-image-gen

Ensure you have your OpenRouter API key configured in your environment variables as OPENROUTER_API_KEY. The skill leverages a local workspace, specifically /root/.openclaw/workspace/tmp/, to cache generated images before dispatching them to Telegram.

Use Cases

This skill is perfect for creators, marketing managers, and power users who need rapid visual content generation. Use it to create illustrative assets for chat conversations, generate quick mockups for design ideas, or simply to add creative flair to automated reports and daily summaries. It transforms a text-based bot into a multimedia assistant capable of generating unique graphics on command.

Example Prompts

  1. "Generate an image of a futuristic cyberpunk city with neon lights and flying cars."
  2. "Create a professional logo for a coffee shop featuring a minimalist bean icon."
  3. "Show me a high-quality photo of a golden retriever wearing sunglasses on a beach."

Tips & Limitations

  • Prompting: Be descriptive to get the best results from the Gemini model. Include style keywords like 'photorealistic', 'oil painting', or 'vector art'.
  • Latency: Image generation is resource-intensive. The skill proactively sends a waiting message to maintain engagement while the OpenRouter API processes your request.
  • Storage: Generated images are saved locally to a temporary path. Periodically clear the /root/.openclaw/workspace/tmp/ directory to prevent storage buildup if you use the skill frequently.

Metadata

Author@drones277
Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-drones277-gemini-tg-image-gen": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#image-generation#telegram-bot#ai-art#openrouter
Safety Score: 4/5

Flags: file-write, file-read, external-api