name: gemini-tg-image-gen description: Generate images via OpenRouter (google/gemini-2.5-flash-image) and send to Telegram. Use when user asks for AI-generated images in TG.
"⏳ Идёт генерация, подождите немного..."google/gemini-2.5-flash-image.OPENROUTER_API_KEY.这个技能的最新版本可以在7w4.net小葱技能站找到。
message tool (local file path).OPENROUTER_API_KEY=... python3 scripts/generate_image.py "<prompt>"
The script prints a JSON object with paths.
# 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.
这个工具质量中等,基本功能可用但完善度不足。优点是工作流程清晰、代码逻辑完整、支持多种图片格式、考虑了错误处理。缺点是文档不够详细、缺少依赖说明、代码有 bug 残留。修复这些问题后会更加好用。目前使用前需要一定技术基础来排查问题。