📦 OpenRouter Image Generation — AI绘图
v1.0.0通过 OpenRouter API 调用 Google Gemini 模型,将文字或参考图一键生成高质量图像,支持纯文本生成与参考图引导两种模式。
0· 550·10 当前·10 累计
下载技能包
最后更新
2026/4/21
安全扫描
OpenClaw
可疑
medium confidenceThe skill implements the described OpenRouter/Gemini image generation, but the package metadata omits the required OPENROUTER_API_KEY and the runtime will transmit prompts and any reference images to an external API (and writes a debug dump), so you should confirm the credential/billing and privacy implications before installing.
评估建议
What to check before installing:
- You must provide an OPENROUTER_API_KEY (the skill will not work without it). The published registry metadata did not declare this — verify and set the environment variable only if you trust the skill and OpenRouter.
- Any prompt text and any reference image you pass will be uploaded to https://openrouter.ai; do not send private/confidential images or proprietary artwork unless you accept that those assets go to the external service.
- The script writes a debug ...详细分析 ▾
ℹ 用途与能力
The SKILL.md and scripts/generate.py match the skill name/description: they call OpenRouter's /chat/completions to generate images (text-to-image and optional reference-image guidance). The required behavior (sending images/prompts to OpenRouter) is coherent with the stated purpose.
ℹ 指令范围
Runtime instructions are narrowly scoped to image generation: they read an optional reference image, base64-encode it, POST to OpenRouter, decode a base64 image from the response, save output, and write a .debug.json when no image is returned. This is expected, but it means user prompts and any provided reference images will be transmitted to openrouter.ai (privacy/billing concern). The debug JSON can contain the full API response and should be treated as potentially sensitive.
✓ 安装机制
No install spec is provided (instruction-only with a bundled script). Nothing is downloaded or executed during install, which minimizes install-time risk.
⚠ 凭证需求
The script and SKILL.md require OPENROUTER_API_KEY (or --api-key) to operate, which is proportionate to the capability. However the registry metadata in the provided manifest lists 'Required env vars: none' and 'Primary credential: none' — a clear metadata omission/incoherence. The skill will fail without an API key, so the manifest should declare OPENROUTER_API_KEY as a required credential.
✓ 持久化与权限
The skill does not request persistent/always-on privileges, does not modify other skills or system-wide configs, and runs only when invoked. No elevated platform privileges are requested.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/3/12
Initial release: text-to-image and reference-image-guided generation via Google Gemini on OpenRouter. Pure Python stdlib, zero dependencies. Includes prompt engineering tips from real-world usage.
● 无害
安装命令
点击复制官方npx clawhub@latest install openrouter-image-gen
镜像加速npx clawhub@latest install openrouter-image-gen --registry https://cn.longxiaskill.com