← 返回 Skills 市场
lilei0311

SiliconFlow Image Gen

作者 MaxStormSpace · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
855
总下载
3
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install siliconflow-image-gen
功能描述
Generate images using SiliconFlow API (FLUX.1, Stable Diffusion, etc.)
安全使用建议
This skill appears to do what it says: send prompts to SiliconFlow and save resulting images. Before installing, verify the skill source (there are minor metadata mismatches and the top-level registry said no required env var while the files do require SILICONFLOW_API_KEY). Confirm you trust api.siliconflow.cn and are willing to provide that API key. Ensure curl is available on the host (the script calls curl via subprocess). Inspect or run the included scripts/generate.py yourself; check permissions on ~/.openclaw/openclaw.json (it may contain other keys) and avoid placing unrelated high-privilege secrets there. If you want stricter isolation, consider running the script manually rather than granting an agent autonomous invocation.
功能分析
Type: OpenClaw Skill Name: siliconflow-image-gen Version: 1.0.0 The OpenClaw AgentSkills skill bundle is classified as benign. The `scripts/generate.py` script correctly implements its stated purpose of generating images via the SiliconFlow API. It accesses the `SILICONFLOW_API_KEY` from environment variables or `~/.openclaw/openclaw.json` as declared in `SKILL.md` and `skill.json`. Network calls to `api.siliconflow.cn` and subsequent image downloads are performed using `subprocess.run` with a list of arguments, effectively preventing shell injection vulnerabilities from user-controlled inputs (prompt, model, size, output path). No evidence of intentional harmful behavior, data exfiltration beyond the stated API interaction, persistence mechanisms, or prompt injection attempts against the agent were found in any of the files.
能力评估
Purpose & Capability
Name/description, SKILL.md, skill.json, and scripts/generate.py all align: the skill calls SiliconFlow's image API and needs an API key. One minor inconsistency: the registry metadata at the top of the report listed 'Required env vars: none', but the skill files (SKILL.md and skill.json) correctly declare SILICONFLOW_API_KEY as required.
Instruction Scope
Runtime instructions and the script only perform image generation: they read SILICONFLOW_API_KEY (from env or ~/.openclaw/openclaw.json), POST to https://api.siliconflow.cn/v1/images/generations, and optionally download the returned image. This stays within the stated purpose, but the script invokes curl via subprocess rather than using a Python HTTP library and expects the external curl binary to exist (the declared required-binaries list in registry metadata is missing that requirement).
Install Mechanism
No install spec provided (instruction-only + included script). Nothing in the package downloads or executes third-party code at install time. Risk is standard for a local script that executes curl.
Credentials
Only a single provider-specific credential is requested (SILICONFLOW_API_KEY), which is appropriate for a cloud image-generation integration. The script reads ~/.openclaw/openclaw.json only to auto-detect the same provider key. There is no evidence the skill requests unrelated secrets or multiple unrelated credentials.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide settings, and has no special persistence/privilege demands beyond being an invocable skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install siliconflow-image-gen
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /siliconflow-image-gen 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of siliconflow-image-gen. - Generate images using SiliconFlow API, supporting FLUX.1 (various tiers) and Stable Diffusion 3.5 - Auto-detects SiliconFlow API key from environment or OpenClaw config file - Automatically downloads and saves generated images locally - Designed for seamless integration with OpenClaw Agent - CLI usage for specifying prompts, models, and output destinations
元数据
Slug siliconflow-image-gen
版本 1.0.0
许可证
累计安装 8
当前安装数 8
历史版本数 1
常见问题

SiliconFlow Image Gen 是什么?

Generate images using SiliconFlow API (FLUX.1, Stable Diffusion, etc.). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 855 次。

如何安装 SiliconFlow Image Gen?

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

SiliconFlow Image Gen 是免费的吗?

是的,SiliconFlow Image Gen 完全免费(开源免费),可自由下载、安装和使用。

SiliconFlow Image Gen 支持哪些平台?

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

谁开发了 SiliconFlow Image Gen?

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

💬 留言讨论