Preface¶
When coding in environments like Cursor or Claude Code, having to separately open the Stable Diffusion WebUI to adjust parameters and memorize API paths leads to frequent context switching. While there are scattered scripts or one-off prompts in the community, there are few that consolidate capabilities like txt2img, ControlNet, LoRA, and upscaling into a reusable Agent Skill.
Below is an introduction to the Stable Diffusion Skill on SkillHub (Coordinate @user_8c8358bf/stable-diffusion-skill, Version 1.0.0). It is designed for users who have locally deployed an AUTOMATIC1111 style SD WebUI. It delegates common generation and post-processing workflows to an AI assistant via the SD WebUI API, following the Skill’s instructions. The tag requires_api_key=false indicates it does not depend on additional cloud API keys.
What is this¶
The Stable Diffusion Skill is a community Skill (Source: community, Publisher: user_8c8358bf) under the SkillHub category design-media. Its positioning is “a complete Stable Diffusion WebUI integration skill”: when a user wants to generate images, edit images, apply styles, use ControlNet, or manage SD models using Stable Diffusion, the assistant can interface with the local WebUI based on the guidelines within the Skill.
The official page states: This Skill is not affiliated with AUTOMATIC1111 in any way, and users must install the SD WebUI themselves; users assume full responsibility for the content generated.
Core Features¶
The following capabilities are derived from the official introduction and are all implemented via the SD WebUI API:
- Text-to-Image (txt2img)
- Image-to-Image (img2img)
- Inpainting
- ControlNet (Including ControlNet capabilities enabled on the WebUI side, such as pose control)
- LoRA Style Models
- Model Switching
- Super-resolution Upscaling (Descriptions note support for up to 2K/4K)
The Skill does not separately list specific interface paths or default ports on the public page; actual invocation should be based on your local WebUI’s API documentation and the SKILL.md file included in the Skill package.
Installation and Enablement¶
The installation method recommended by SkillHub is to let your current AI client pull the specified coordinate based on unified installation instructions, rather than executing git clone within this introduction.
- Open the SkillHub installation documentation: https://skillhub.cn/install/skillhub.md, and follow the steps to configure SkillHub and the client (Cursor / CLI supporting Skills, etc., refer to that document for details).
- Install this Skill using the following coordinate:
@user_8c8358bf/stable-diffusion-skill
The prompt example provided on the page is:
Please install `@user_8c8358bf/stable-diffusion-skill` according to https://skillhub.cn/install/skillhub.md.
You can send the above sentence to your AI to complete the installation in your environment.
Prerequisites (Official Disclaimer)
- Stable Diffusion WebUI must be installed and running on the local machine (common distributions in the AUTOMATIC1111 ecosystem are acceptable; the Skill itself does not bundle an installer).
- The WebUI must have the API enabled (specific toggles and launch parameters depend on the WebUI documentation you are using; the Skill’s public page does not hardcode hostnames or ports).
Different clients may have different directories and loading methods for Skills; refer to skillhub.md and your client’s documentation. This article does not differentiate details not specified on the official page.
Typical Usage¶
The public materials do not include specific curl examples, but they clarify trigger intentions: when a conversation includes requests such as “Generate an image with Stable Diffusion,” “img2img,” “Local image repair,” “ControlNet,” “Switch LoRA / Switch checkpoint,” or “Upscale to 2K/4K,” the assistant should load this Skill and call the corresponding capabilities via the SD WebUI API.
A reproducible starting approach:
- Complete the installation and confirm the WebUI process and API are available.
- Describe the task directly in the conversation, for example: “Use txt2img to generate a product diagram 1024 wide, and write the positive/negative prompts” or “Do inpainting on the background of this image.”
- The assistant will organize the request parameters (sampling steps, model name, LoRA, ControlNet weights, etc.) according to the Skill agreement, submit them to the local API, and return the result path or image.
Specific parameter names and JSON fields are subject to the instructions within the Skill package and the WebUI /docs interface.
Scenarios and Notes¶
Who is it for
- Users already running SD WebUI locally who want to fix the image generation workflow within the AI programming/conversation environment, reducing manual UI clicking or handwritten scripting.
- Design and media workflows that need to cover common chains like txt2img, editing, ControlNet, LoRA, and upscaling within a single Skill.
Limitations and Notes
- Must provide your own WebUI: The Skill does not provide cloud computing power, nor does it replace WebUI installation and model file management.
- No official affiliation with AUTOMATIC1111: Compatibility depends on whether your WebUI version and extensions (ControlNet, LoRA loader, etc.) are correctly installed.
- Compliance and Content: The disclaimer requires users to be responsible for generated images; please assess yourself regarding figures, copyright, and commercial use.
- Community Skill: The current version is v1.0.0 (first release); the SkillHub page shows approximately 979 downloads and 20 installations (data updates with the platform, refer to the page for actual numbers).
Conclusion¶
The Stable Diffusion Skill consolidates capabilities such as text-to-image, editing, ControlNet, LoRA, model switching, and upscaling on the local SD WebUI API into an installable Agent Skill on SkillHub. It is suitable for developers who already have a WebUI environment and wish to complete image generation tasks coherently within an AI assistant.
- SkillHub Page: https://www.skillhub.cn/skills/user_8c8358bf/stable-diffusion-skill
- API Resource Address: https://api.skillhub.cn/user_8c8358bf/stable-diffusion-skill