← 返回 Skills 市场
davidunderwood7970

Yu Product Image Generator

作者 davidunderwood7970 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
103
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install yu-product-image-generator
功能描述
AI 商品图生成器 - 多方案选择、12 种语言、分镜规划与批量生成
安全使用建议
Key issues to consider before installing or using this skill: - Hardcoded API keys: The repo contains plain-text keys (NANO_BANANA_API_KEY and VOLCENGINE_API_KEY) and a DEFAULT_API_KEY set in main.py/config/settings.py. These are sensitive and should not be relied on — they may belong to someone else, may be revoked, or may leak your usage to a third party. Ask the author to remove hardcoded keys and require supplying keys via documented environment variables. - Undeclared credentials and endpoints: The skill metadata declares no required env vars, yet the code reads/depends on credentials (NANO_BANANA_API_KEY, VOLCENGINE_API_KEY, DASHSCOPE_API_KEY) and talks to external endpoints (grsai.dakka.com.cn, grsaiapi.com, volces.com). Confirm which API keys are actually required and update the skill metadata accordingly before use. - External posting behavior: The code imports utils/feishu_sender (a Feishu messaging utility). SKILL.md does not mention posting to Feishu or other external services. Inspect utils/feishu_sender.py to see whether it transmits images/data and whether it requires additional tokens. If you do not expect external sharing, disable or remove that behavior. - Network I/O and data exfiltration risk: The skill sends image data (reference images are base64-encoded and included in payloads) to remote image-generation services. If your images contain sensitive content, be aware they will travel off-host. Run in a sandboxed environment if you must test. - Remediation steps before use: (1) Ask the publisher to remove embedded secrets and document required env vars; (2) Require that API keys are provided by the user via env vars (and declare them in metadata); (3) Audit utils/feishu_sender.py and any other utils that perform outbound POSTs; (4) Run the skill in an isolated environment initially and monitor outbound network connections; (5) Rotate any leaked credentials if you find they are yours. Given these mismatches (hardcoded keys, undeclared env vars, and undisclosed external messaging), treat the skill as suspicious until the author fixes credential handling and documents external endpoints and data flows.
功能分析
Type: OpenClaw Skill Name: yu-product-image-generator Version: 1.0.0 The skill bundle contains multiple hardcoded credentials and a pre-configured data exfiltration path. Specifically, 'config/settings.py' and 'main.py' contain hardcoded API keys for image generation services (Nano Banana and Volcengine). More critically, 'utils/feishu_sender.py' contains a hardcoded Feishu 'APP_ID' and 'APP_SECRET', as well as a hardcoded recipient 'user_id' (ou_9ac9a7fa7050b46022dcdaf6c02a3ee3). This setup enables the skill to exfiltrate generated product images to a specific external Feishu account controlled by the author. While these may be unintentional leftovers from development, the combination of exposed secrets and a hardcoded external destination for user-generated content is highly risky.
能力标签
requires-oauth-token
能力评估
Purpose & Capability
The code matches the stated purpose (image analysis, scheme generation, image generation, packaging). However the repository contains hardcoded API keys and multiple external service endpoints (Nano Banana / Grsai, Volcengine, and a Feishu sender utility). The skill metadata declares no required env vars or credentials, which is inconsistent: a legitimate image-generation skill would normally declare the API key(s) it needs or instruct the user how to supply them.
Instruction Scope
SKILL.md describes a user-facing conversational flow and local image generation/packaging only. The actual code performs network calls to external generation endpoints (grsai.dakka.com.cn, grsaiapi.com, volces.com) and imports a utils/feishu_sender module (not referenced in SKILL.md). The SKILL.md does not disclose sending images/messages to third-party services, nor does it document use of the embedded API keys — mismatch between instructions and implementation.
Install Mechanism
There is no install spec — it's instruction+code only. No external archives or installer downloads are present in the manifest. That reduces installer risk; risk comes from runtime network calls and embedded credentials, not install-time behavior.
Credentials
The package includes multiple hardcoded credentials in config/settings.py and main.py (e.g. NANO_BANANA_API_KEY = "sk-6fe41fd...", VOLCENGINE_API_KEY = "eaf6834a-...") and the ImageAnalyzer also references DASHSCOPE_API_KEY via getenv. The skill metadata declares no required env vars or primary credential. Hardcoded keys are a security and provenance problem (could be leaked/abused) and the use of undeclared env vars is inconsistent with the metadata.
Persistence & Privilege
No elevated privileges or 'always: true' presence requested. The skill writes files to local output directories and /tmp, creates ZIP/HTML previews, and uses network calls, but it does not request persistent platform-wide privileges or alter other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install yu-product-image-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /yu-product-image-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Added support for 3 distinct design styles for product images. - Introduced 12-language support, including an option for no text. - Implemented storyboard planning and editing before image generation. - Enabled bulk generation and download of product images. - Improved interactive workflow for easy user guidance and customization.
元数据
Slug yu-product-image-generator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Yu Product Image Generator 是什么?

AI 商品图生成器 - 多方案选择、12 种语言、分镜规划与批量生成. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 103 次。

如何安装 Yu Product Image Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install yu-product-image-generator」即可一键安装,无需额外配置。

Yu Product Image Generator 是免费的吗?

是的,Yu Product Image Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Yu Product Image Generator 支持哪些平台?

Yu Product Image Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Yu Product Image Generator?

由 davidunderwood7970(@davidunderwood7970)开发并维护,当前版本 v1.0.0。

💬 留言讨论