← 返回 Skills 市场
Generate product photos for ecommerce
作者
Marko Balažic
· GitHub ↗
· v1.0.1
441
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install productai-skill
功能描述
Generate professional AI product photos using ProductAI.photo service. Use when users need to create, enhance, or transform product images for e-commerce, ma...
安全使用建议
This skill appears to do what it claims (a ProductAI.photo client and CLI). Before installing or handing over an API key, consider the following:
- Don't paste a production API key into an untrusted chat or agent; prefer a test key or token with limited quota while validating the skill. Rotate the key if it is exposed.
- The setup saves your API key to ~/.openclaw/workspace/productai/config.json with 0o600 permissions (script enforces this). That is standard for CLI tools but still means any local process with your user privileges can read it.
- The code performs basic SSRF protection by blocking HTTP and obvious private hostnames, but hostname-only checks can be bypassed if a hostname resolves to a private IP. If you will supply untrusted input for image URLs, review or harden URL-to-IP resolution checks (resolve DNS and verify IP ranges) before production use.
- Generated image URLs returned by the API are downloaded without additional URL validation; if you have concerns, inspect returned URLs before download or add validation for domains you trust.
- Minor inconsistencies exist (e.g., setup.py default model string differs from other docs: 'nano-banana-2' vs 'nanobanana', and package.json lists Python deps in an npm manifest). These look like documentation/config mismatches rather than malicious behavior, but you may want to correct them.
Recommended steps before trusting this skill: review the productai_client.py and setup.py locally, test with a low-privilege/test API key, monitor your ProductAI dashboard for unexpected usage, and consider applying additional SSRF protections if you will process untrusted image URLs.
功能分析
Type: OpenClaw Skill
Name: productai-skill
Version: 1.0.1
The OpenClaw skill bundle for ProductAI.photo is benign. It demonstrates strong security practices, including explicit Server-Side Request Forgery (SSRF) prevention by validating image URLs to block non-HTTPS schemes and private/local IP addresses in `scripts/productai_client.py`. It also implements path traversal prevention for output filenames in `scripts/batch_generate.py` and secures the API key configuration file with `0o600` permissions in `scripts/setup.py`. All network requests include timeouts, and batch processing respects API rate limits. There is no evidence of malicious intent, data exfiltration, unauthorized command execution, or harmful prompt injection attempts in any of the code or documentation files.
能力评估
Purpose & Capability
Name/description (generate product photos) matches the included files and runtime behavior. The package contains a client, setup helper, and CLI scripts that call a ProductAI API endpoint (api.productai.photo). No unrelated cloud credentials, system services, or external tools are required.
Instruction Scope
SKILL.md and scripts instruct the agent/user to run an interactive setup that stores a ProductAI API key in ~/.openclaw/workspace/productai/config.json and then call API endpoints to generate/upscale images. That is within scope. Note: the repository includes programmatic setup examples that would let an agent write the API key on behalf of a user (expected for this integration, but users should be careful when sharing keys in chat).
Install Mechanism
This is instruction-only with no automated install spec. Python scripts are provided and require standard Python deps (requests, pillow). No downloads from unknown URLs or archive extraction are present.
Credentials
The integration only needs the ProductAI API key and local config file; no unrelated environment variables or broad credential sets are requested. The API key is stored in a user-scoped config file (permission 600) as documented. No other secrets are requested.
Persistence & Privilege
Skill does not request always:true, does not modify global agent settings beyond writing its own config.json, and requires user action to set up the API key. Autonomous invocation is allowed by default (platform normal), but the skill itself doesn't escalate privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install productai-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/productai-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
• Updated API documentation with all the official endpoints from your file
• Added new models: kontext-max
• Documented aspect_ratio parameter with extended ratios for nanobanana models
• Added resolution parameter (1K/2K/4K)
• Complete error handling documentation
• Created CHANGELOG.md to track versions
v1.0.0
First version
元数据
常见问题
Generate product photos for ecommerce 是什么?
Generate professional AI product photos using ProductAI.photo service. Use when users need to create, enhance, or transform product images for e-commerce, ma... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 441 次。
如何安装 Generate product photos for ecommerce?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install productai-skill」即可一键安装,无需额外配置。
Generate product photos for ecommerce 是免费的吗?
是的,Generate product photos for ecommerce 完全免费(开源免费),可自由下载、安装和使用。
Generate product photos for ecommerce 支持哪些平台?
Generate product photos for ecommerce 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Generate product photos for ecommerce?
由 Marko Balažic(@shapes)开发并维护,当前版本 v1.0.1。
推荐 Skills