← Back to Skills Marketplace
SiliconFlow Image Gen
by
MaxStormSpace
· GitHub ↗
· v1.0.0
855
Downloads
3
Stars
8
Active Installs
1
Versions
Install in OpenClaw
/install siliconflow-image-gen
Description
Generate images using SiliconFlow API (FLUX.1, Stable Diffusion, etc.)
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install siliconflow-image-gen - After installation, invoke the skill by name or use
/siliconflow-image-gen - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is SiliconFlow Image Gen?
Generate images using SiliconFlow API (FLUX.1, Stable Diffusion, etc.). It is an AI Agent Skill for Claude Code / OpenClaw, with 855 downloads so far.
How do I install SiliconFlow Image Gen?
Run "/install siliconflow-image-gen" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is SiliconFlow Image Gen free?
Yes, SiliconFlow Image Gen is completely free (open-source). You can download, install and use it at no cost.
Which platforms does SiliconFlow Image Gen support?
SiliconFlow Image Gen is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created SiliconFlow Image Gen?
It is built and maintained by MaxStormSpace (@lilei0311); the current version is v1.0.0.
More Skills