← Back to Skills Marketplace
Yu Product Image Generator
by
davidunderwood7970
· GitHub ↗
· v1.0.0
· MIT-0
103
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install yu-product-image-generator
Description
AI 商品图生成器 - 多方案选择、12 种语言、分镜规划与批量生成
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install yu-product-image-generator - After installation, invoke the skill by name or use
/yu-product-image-generator - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Yu Product Image Generator?
AI 商品图生成器 - 多方案选择、12 种语言、分镜规划与批量生成. It is an AI Agent Skill for Claude Code / OpenClaw, with 103 downloads so far.
How do I install Yu Product Image Generator?
Run "/install yu-product-image-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Yu Product Image Generator free?
Yes, Yu Product Image Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Yu Product Image Generator support?
Yu Product Image Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Yu Product Image Generator?
It is built and maintained by davidunderwood7970 (@davidunderwood7970); the current version is v1.0.0.
More Skills