A comprehensive Stable Diffusion WebUI integration for generating and editing high-quality AI images through a local API.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install stable-diffusion-skill
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install stable-diffusion-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Stable Diffusion skill enables AI agents to interface directly with local Stable Diffusion WebUI instances (AUTOMATIC1111). It provides a robust set of tools for high-fidelity image generation, including support for text-to-image, image-to-image, and advanced upscaling. By utilizing this integration within Openclaw Skills, developers can create powerful visual automation workflows while maintaining full control over their models and data privacy locally.
This skill is designed for maximum flexibility, allowing agents to handle complex creative tasks. From simple prompt-based generation to intricate multi-layered edits, it effectively bridges the gap between natural language instructions and professional-grade image synthesis.
To use this skill, you must have a local instance of Stable Diffusion WebUI (AUTOMATIC1111) running with the --api argument enabled.
# Install required Python dependencies
pip install requests Pillow
# Set your local SD WebUI URL (default is http://127.0.0.1:7860)
export SD_WEBUI_URL="http://127.0.0.1:7860"
# Check the connection status to ensure the API is reachable
python sd_client.py --action status
The skill manages its operations using environment variables and structured directory outputs.
| Key Component | Description |
|---|---|
SD_WEBUI_URL |
The endpoint for the local Stable Diffusion API service. |
SD_OUTPUT_DIR |
The local directory where all generated images are stored. |
sd_client.py |
The main execution script handling all API calls and actions. |
prompt_helper.py |
Tooling for keyword optimization and language translation. |
Loading
A comprehensive thinking framework based on Charlie Munger's multidisciplinary mental models for decision-making and cognitive bias detection.

An AI-powered cognitive agent that simulates the strategic mental models and decision-making heuristics of ByteDance founder Zhang Yiming.

An AI agent skill that applies Nassim Nicholas Taleb's Incerto mental models to identify tail risks and build antifragility.

A cognitive operating system that applies Richard Feynman's mental models to help you simplify complexity and avoid intellectual self-deception.

A dedicated AI skill for accessing the Open Brewery DB to find and retrieve detailed information on craft breweries across the United States.

A technical architecture skill for building scalable CSS systems and responsive layout frameworks.








































