← 返回 Skills 市场
281
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install sih-ai-photo-changer
功能描述
AI图片生成与编辑工具,使用Sih.AI API进行自然语言驱动的图片处理。支持换装、换背景、换脸、风格转换(动漫/粘土/油画等)、美颜修图等功能。当用户需要通过自然语言描述来编辑图片(如"把衣服换成bikini"、"背景换成海边"、"转换成动漫风格")时使用此skill。
安全使用建议
This skill will upload images (including local files you point it at) to a third-party service using an API key embedded in the script. Consider the following before installing or running it:
- Do not run the script with sensitive or private images until you confirm where data is sent and who controls the API account. The embedded key means images will be processed under someone else's account.
- Ask the maintainer to remove the hard-coded API token and require users to provide their own key (e.g., via an environment variable). Preferably, the SKILL.md should document the exact API host and data handling/privacy behavior.
- If you already ran the script with your images, assume those images were transmitted to api.vwu.ai and review privacy implications. If you are the owner of the exposed token, rotate it immediately; if not, notify the service owner.
- If you need this functionality but want to avoid third-party exposure, request a version that uses a user-provided API key and clearly documents where data is sent and retained.
Given the hard-coded credential and lack of endpoint disclosure, treat this skill as suspicious and proceed only after the maintainer addresses these issues.
功能分析
Type: OpenClaw Skill
Name: sih-ai-photo-changer
Version: 1.0.3
The skill bundle contains a hardcoded API bearer token in `scripts/image_gen.py`, which is a significant security risk. Furthermore, the script lacks input validation for the local file path provided in the `image_input` argument; this could be exploited via prompt injection to trick the agent into reading and exfiltrating sensitive local files to the external API endpoint (api.vwu.ai) by encoding them as base64 'images'.
能力评估
Purpose & Capability
The code and SKILL.md implement image editing via a remote API, which matches the described purpose. However the script calls https://api.vwu.ai while the description refers to 'Sih.AI', and a bearer token is embedded in the code rather than declared as a user-provided credential. That mismatch and embedded credential are unexpected for a simple integration.
Instruction Scope
SKILL.md instructs the user to run scripts/image_gen.py and describes converting local files to Base64 and calling an API, but it does not name the actual API host or reveal that local images will be uploaded to an external service using a hard-coded token. Transmitting local image files (including potentially sensitive images) to an undocumented external endpoint is a privacy risk and should be disclosed explicitly.
Install Mechanism
There is no install spec (instruction-only skill with an included script). That minimizes install risk. The script requires the 'requests' library but no installation instructions are provided — minor usability issue but not a direct security problem.
Credentials
The skill requests no environment variables, yet the script contains a hard-coded API token (API_TOKEN = "sk-..."). A legitimate design would require the user to supply their own API key via an env var or config; embedding someone else's secret in code is disproportionate and suspicious because it gives the remote service access to all images processed and could allow abuse of that account.
Persistence & Privilege
The skill is not 'always' and does not request system-wide privileges. However, because it can be invoked normally by the agent, autonomous invocation would allow the agent to send images to the remote endpoint using the embedded token. Autonomous invocation combined with the hard-coded credential increases the blast radius and privacy risk.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sih-ai-photo-changer - 安装完成后,直接呼叫该 Skill 的名称或使用
/sih-ai-photo-changer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
修复base64编码格式:sihai-image-27模型使用纯base64,无需data:image前缀
v1.0.2
更新API调用方式,简化为纯Python脚本实现,支持图片URL和本地文件输入
元数据
常见问题
Sih.AI Photo Changer 是什么?
AI图片生成与编辑工具,使用Sih.AI API进行自然语言驱动的图片处理。支持换装、换背景、换脸、风格转换(动漫/粘土/油画等)、美颜修图等功能。当用户需要通过自然语言描述来编辑图片(如"把衣服换成bikini"、"背景换成海边"、"转换成动漫风格")时使用此skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 281 次。
如何安装 Sih.AI Photo Changer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sih-ai-photo-changer」即可一键安装,无需额外配置。
Sih.AI Photo Changer 是免费的吗?
是的,Sih.AI Photo Changer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Sih.AI Photo Changer 支持哪些平台?
Sih.AI Photo Changer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Sih.AI Photo Changer?
由 a3273283(@a3273283)开发并维护,当前版本 v1.0.3。
推荐 Skills