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".
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install stability-ai或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install stability-ai⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/stability-ai/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: 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". ---
.env.example to .env.STABILITY_API_KEY in .env.API_HOST if using a custom endpoint.(The script automatically handles dependencies on first run)
# Basic generation
scripts/generate "A futuristic city with neon lights"
# Aspect ratio (1:1, 16:9, 9:16, 21:9, 4:3, 3:4)
scripts/generate "Landscape painting" --ratio 16:9
# Style preset
scripts/generate "Portrait of a warrior" --style photographic
# Seed for reproducibility
scripts/generate "Abstract art" --seed 42
# Negative prompt
scripts/generate "Beautiful sunset" --negative "blurry, low quality"
# Output format (png, jpg, webp)
scripts/generate "Nature scene" --format webp
# Advanced: Custom model, steps, CFG scale
scripts/generate "Fantasy landscape" \
--model stable-diffusion-3-medium \
--steps 50 \
--cfg 7.0 \
--ratio 21:9
# V2 API (experimental)
scripts/generate "Modern architecture" --v2
# Combined options
scripts/generate "Cyberpunk street at night" \
--ratio 16:9 \
--style neon-punk \
--seed 123 \
--format jpg \
--steps 45 \
--cfg 6.5
Available styles: enhance, anime, photographic, digital-art, comic-book, fantasy-art, line-art, analog-film, neon-punk, isometric, low-poly, origami, modeling-compound, cinematic, 3d-model, pixel-art, tile-texture
Supported: 1:1 (default), 16:9, 9:16, 21:9, 4:3, 3:4
Each generated image includes a JSON metadata file with:
stable-diffusion-xl-1024-v1-0)references/models.md for complete model list, API versions, and credit costs.Automatically keeps the last 20 generated images. Older files and their metadata are removed to save disk space.
安装 Stability Ai 后,可以对 AI 说这些话来触发它
Help me get started with Stability Ai
Explains what Stability Ai does, walks through the setup, and runs a quick demo based on your current project
Use Stability Ai to generate high-quality images via Stability AI API (SDXL, SD3, Stabl...
Invokes Stability Ai with the right parameters and returns the result directly in the conversation
What can I do with Stability Ai in my design & creative workflow?
Lists the top use cases for Stability Ai, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/stability-ai/ 目录(个人级,所有项目可用),或 .claude/skills/stability-ai/(项目级)。重启 AI 客户端后,用 /stability-ai 主动调用,或让 AI 根据上下文自动发现并使用。
Stability Ai 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
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".
Stability Ai 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Stability Ai
Identifies repetitive steps in your workflow and sets up Stability Ai to handle them automatically