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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/drones277/gemini-tg-image-genWhat 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
- "Generate an image of a futuristic cyberpunk city with neon lights and flying cars."
- "Create a professional logo for a coffee shop featuring a minimalist bean icon."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-drones277-gemini-tg-image-gen": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api
Related Skills
Drones Moltbook Cli
Skill by drones277
Tg Voice Whisper
Skill by drones277
tg-image-sender
Send test or generated images directly to Telegram chats using the message tool with Picsum.photos URLs or custom media. Use when the user requests to 'send photo', 'generate image here in TG', or show/test images in Telegram (e.g., 'пришли фото', 'покажи картинку').