stablediffusion
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "stablediffusion" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-570cc2598ce65c715b975259fadfffe3260740fdc52b3832b80f6821a110ff49. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/stable-diffusion-prompt-optimizer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Analyze and enhance Stable Diffusion prompts using the Automatic1111 WebUI /sdapi/v1/txt2img API endpoint, applying prompt weighting, generating negative prompts, and using A1111-specific syntax (e.g., (keyword:weight)).
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Stable Diffusion 提示词优化器"
slug: "stable-diffusion-prompt-optimizer"
version: "1.0.0"
displayName: "Stable Diffusion 提示词优化器"
summary: "使用Automatic1111 WebUI API /sdapi/v1/txt2img端点分析和增强Stable Diffusion提示词。应用提示词加权、负向提示词生成以及A1111特定语法如(keyword:weight)。"
license: "MIT"
description: "使用Automatic1111 WebUI API /sdapi/v1/txt2img端点分析和增强Stable Diffusion提示词。应用提示词加权、负向提示词生成以及A1111特定语法如(keyword:weight)。"
github_stars: 72984
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Image & Creative Automation"
framework: "Gemini"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 72984Stable Diffusion 提示词优化器
Analyzes and enhances Stable Diffusion prompts using the Automatic1111 WebUI API /sdapi/v1/txt2img endpoint. Applies prompt weighting, negative prompt generation, and A1111-specific syntax like (keyword:weight).
Installation
Use the upstream install or setup path that matches your environment:
- conda env create -f environment.yaml
- conda activate ldm
- conda install pytorch torchvision -c pytorch
- pip install transformers==4.19.2 diffusers invisible-watermark
Requirements and caveats from upstream:
- python scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms
- and renders images of size 512x512 (which it was trained on) in 50 steps. All supported arguments are listed below (type python scripts/txt2img.py --help).
Basic usage or getting-started notes:
-
A suitable conda environment named ldm can be created
-
and activated with:
-
You can also update an existing latent diffusion environment by running
-
Extracted from upstream docs: https://raw.githubusercontent.com/CompVis/stable-diffusion/HEAD/README.md
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
文档内容重复 Reported severity: Minor
Skill 的描述和文档中部分内容重复,如 description 和 summary 字段内容高度相似。
Recommendation: 建议优化文档内容,避免重复,突出核心功能和独特价值。
-
缺乏端到端示例 Reported severity: Minor
文档中提到了多个依赖项和环境配置,但未提供具体的端到端示例来展示其核心功能。
Recommendation: 建议添加具体的端到端示例,帮助用户更好地理解和使用 Skill。
Highlights
- 明确的场景定位:分析和增强 Stable Diffusion 提示词,适用于图像生成领域。
- 提供了详细的安装步骤和依赖项说明,帮助用户快速上手。
Areas to improve
-
触发词描述重复 Reported severity: Minor
Skill 的描述中部分内容重复,如 description 和 summary 字段内容高度相似。
Recommendation: 建议优化触发词描述,避免重复,确保触发词精准且边界清晰。
Highlights
- 触发词较为明确,提到了使用 Automatic1111 WebUI API /sdapi/v1/txt2img 端点。
Areas to improve
-
文档内容重复 Reported severity: Minor
Skill 的描述和文档中部分内容重复,如 description 和 summary 字段内容高度相似。
Recommendation: 建议优化文档内容,避免重复,突出核心功能和独特价值。
-
缺乏清晰的步骤划分 Reported severity: Minor
文档中提到了多个依赖项和环境配置,但未提供清晰的步骤划分和出口条件。
Recommendation: 建议优化文档结构,提供清晰的步骤划分和出口条件,帮助用户更好地理解和使用 Skill。
Highlights
- 文档结构较为完整,包含了安装步骤、基本用法和上游文档的引用。
Areas to improve
-
依赖外部 API Reported severity: Major
Skill 依赖于外部 API(Automatic1111 WebUI),这增加了执行失败的风险。
Recommendation: 建议提供更多的错误处理机制或异常覆盖,以提高执行可靠性。
-
安装步骤复杂 Reported severity: Minor
Skill 的安装步骤较为复杂,涉及多个依赖项和环境配置,这增加了执行失败的风险。
Recommendation: 建议简化安装步骤,或提供更详细的错误处理机制,帮助用户顺利完成安装。
Highlights
- 提供了详细的安装步骤和依赖项说明,帮助用户快速上手。
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 29
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- conda.io
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.