← 返回 Skills 市场
1999azzar

Stability Ai

作者 azzar budiyanto · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1067
总下载
0
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install stability-ai
功能描述
Generate high-quality images via Stability AI API (SDXL, SD3, Stable Image Core). Use when user asks to "generate image", "make a picture", or "draw this".
安全使用建议
What to check before installing: 1) The SKILL.md and generate.py require STABILITY_API_KEY (and optionally API_HOST) but the registry metadata doesn't declare any required env vars — ask the publisher to correct that. 2) Verify where you'll store the API key (.env is plaintext) and consider using a limited-scope key or dedicated account. 3) Confirm how dependencies are installed — SKILL.md promises auto-install but no install script is provided; prefer explicit install steps or run in an isolated virtualenv/container. 4) Note the SKILL.md calls scripts/generate but only scripts/core/generate.py exists — ask whether a wrapper is missing. 5) Review the code yourself (or in a sandbox) to confirm there are no unexpected network endpoints or secret exfiltration — the script appears to call only the configured API_HOST and no other external hosts. 6) If uncertain about the publisher (source/homepage unknown), run this skill in an isolated environment and avoid using high-value API keys until you verify behavior.
功能分析
Type: OpenClaw Skill Name: stability-ai Version: 1.0.0 The skill bundle is designed to generate images via the Stability AI API. The `SKILL.md` provides clear, benign instructions and usage examples. The `scripts/core/generate.py` script uses standard libraries (`requests`, `python-dotenv`, `pillow`) to interact with the Stability AI API, save generated images and metadata to a specified output directory (defaulting to `./assets/generated`), and perform cleanup of old files. There is no evidence of intentional malicious behavior such as data exfiltration, unauthorized remote execution, persistence mechanisms, or prompt injection attempts against the AI agent. While the script has file system write/delete capabilities, these are directly aligned with its stated purpose, and arguments are parsed safely via `argparse`, preventing direct shell injection.
能力评估
Purpose & Capability
The skill purpose (call Stability AI to generate images) aligns with the included Python script which posts to stability.ai endpoints. However the registry metadata claims no required environment variables or primary credential while the SKILL.md and generate.py clearly require STABILITY_API_KEY (and optionally API_HOST). That metadata mismatch is a meaningful coherence issue.
Instruction Scope
SKILL.md instructs creating a .env with STABILITY_API_KEY and running scripts/generate. The runtime instructions stay within image-generation scope and the script only uses STABILITY_API_KEY and optional API_HOST. Note: the SKILL.md suggests dependencies are 'automatically handled on first run' despite no install spec; also it tells users to store secrets in .env (a common but plaintext approach).
Install Mechanism
There is no install spec (lowest install surface). A requirements.txt lists requests, python-dotenv, pillow which is reasonable. The SKILL.md's claim that dependencies will be auto-handled is vague — no installer script or manifest entry is provided, so behavior on first run is unclear.
Credentials
Only STABILITY_API_KEY (and optional API_HOST) appear in code — appropriate for a Stability AI client. The concern is that the registry metadata does not declare these required env vars or a primary credential, which is an inconsistency that could mislead users about what secrets are needed or stored.
Persistence & Privilege
The skill does not request persistent platform privileges or 'always' inclusion. It writes generated images and metadata to disk and performs an auto-cleanup of older files (keeps last 20). Also SKILL.md's example CLI uses scripts/generate but the repository only contains scripts/core/generate.py — there is a path/usage mismatch to clarify. No evidence of modifying other skills or system-wide config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install stability-ai
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /stability-ai 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Stability AI Skill 1.0.0 – Initial Release - Generate high-quality images using Stability AI models (SDXL, SD3, Stable Image Core) via command line. - Supports prompt-based image creation with options for style presets, aspect ratio, output format (png, jpg, webp), reproducibility seed, negative prompts, and advanced model parameters. - Includes metadata JSON for each image with prompt, settings, and generation details. - Integrates auto-cleanup to keep only the most recent 20 generated images and metadata. - Simple setup via .env configuration; handles dependencies automatically on first run.
元数据
Slug stability-ai
版本 1.0.0
许可证
累计安装 5
当前安装数 5
历史版本数 1
常见问题

Stability Ai 是什么?

Generate high-quality images via Stability AI API (SDXL, SD3, Stable Image Core). Use when user asks to "generate image", "make a picture", or "draw this". 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1067 次。

如何安装 Stability Ai?

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

Stability Ai 是免费的吗?

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

Stability Ai 支持哪些平台?

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

谁开发了 Stability Ai?

由 azzar budiyanto(@1999azzar)开发并维护,当前版本 v1.0.0。

💬 留言讨论