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