gemini-tg-image-gen
Installation
SKILL.md
Gemini TG Image Gen (OpenRouter)
Workflow
- Immediately notify user in Telegram:
"⏳ Идёт генерация, подождите немного..." - Use OpenRouter model
google/gemini-2.5-flash-image. - Read API key from env:
OPENROUTER_API_KEY. - Run script to generate and save image locally.
- Send the image to Telegram using the
messagetool (local file path). - NO_REPLY.
Usage
OPENROUTER_API_KEY=... python3 scripts/generate_image.py "<prompt>"
The script prints a JSON object with paths.