stable-diffusion-helper
БесплатноБез исполняемых скриптовНе проверенGenerate and troubleshoot Stable Diffusion images: model installation and selection, prompt and negative-prompt engineering, CFG, sampler and step tuning, and…
от jackspace★ 16 звёзд на GitHubОб этом скилле
Stable Diffusion Helper Skill
Expert guidance for Stable Diffusion image generation, optimization, and troubleshooting.
Capabilities
This skill provides expert assistance with:
Model Installation & Management
- Installing SD models (base, Realistic Vision, ChilloutMix, etc.)
- Model comparison and selection
- VRAM optimization strategies
- Docker container configuration
Prompt Engineering
- Photorealistic prompt formulas
- Reality-anchored prompting techniques
- Negative prompt strategies (anti-cartoon shields)
- Subject description best practices
Settings Optimization
- CFG scale recommendations (breakthrough: 4.5 for photorealism)
- Sampling steps optimization
- Sampler selection for different use cases
- Resolution strategies for limited VRAM
ADetailer Configuration
- Face detection setup (face_yolov8n.pt)
- Hand detection setup (hand_yolov8n.pt)
- Multi-pass configuration (face + hands)
- Custom ADetailer prompts for photorealism
Troubleshooting
- Glossy/anime eyes fixes
- Cartoonish/plastic skin solutions
- OOM (Out of Memory) error resolution
- Poor hand generation workarounds
Key Knowledge Base
Photorealism Breakthrough Configuration
Critical Settings:
- CFG Scale: 4.5 (MOST IMPORTANT - lower than typical 7.0)
- Sampling Steps: 40
- Sampler: DPM++ 2M Karras
- Resolution: 512×512 (portraits), 512×768 or 768×512 (full-body)
Main Prompt Template:
RAW candid photograph, unfiltered reality, authentic skin texture with visible pores and fine lines, subsurface scattering, real human imperfections, natural uneven skin tone, professional photo shoot, [SUBJECT], documentary photography style, Leica M10, Summilux 50mm f/1.4, natural diffused lighting, overcast golden hour, real skin blemishes, subtle wrinkles, natural oiliness, lifelike, hyperrealistic not CGI, shot on Kodak Portra 400, muted colors, organic imperfections, tangible reality
Negative Prompt (Anti-Cartoon Shield):
cartoon, anime, 3D render, CGI, illustration, painting, drawing, airbrushed, smooth skin, plastic skin, doll-like, mannequin, wax figure, synthetic, artificial, digital art, cell shading, flat colors, oversaturated, oversharpened, unrealistic, fake, computer generated, video game, Unreal Engine, Unity, rendered, illustrated, drawn, painted, sketched, perfect skin, flawless skin, porcelain skin, baby smooth, blur tool, beauty filter, Facetune, Instagram filter, TikTok filter, makeup filter, ugly, distorted, deformed, bad anatomy, poorly drawn, extra limbs, disfigured, low quality, blurry
Model Comparison
SD 1.5 Base (v1-5-pruned-emaonly.safetensors):
- Best for: Head/shoulder portraits
- VRAM: 1.3-1.5GB active
- CFG: 4.5-5.0 optimal
- Limitations: Poor full-body anatomy
Realistic Vision V5.1 (realisticVisionV51.safetensors):
- Best for: Full-body shots
- VRAM: 1.5-1.8GB active
- CFG: 3.5-5.0 optimal
- Strengths: Improved anatomy, better hands/feet
VRAM Optimization Flags
For 2GB VRAM setups:
--lowvram --medvram --no-half-vae --enable-insecure-extension-access
Common Issues & Solutions
Problem: Glossy/Anime Eyes
- Lower CFG to 4.5
- Add to ADetailer prompt:
matte finish eyes, natural iris texture - Add to ADetailer negative:
glossy eyes, shiny eyes, anime eyes
Problem: Cartoonish Skin
- Lower CFG to 4.5 (CRITICAL)
- Emphasize:
visible pores, subsurface scattering, natural imperfections - Negative:
smooth skin, plastic skin, perfect skin, airbrushed
Problem: OOM Errors
- Reduce resolution to 512×512
- Reduce batch size to 1-2
- Verify flags:
--lowvram --medvram - Disable Hires.fix
Problem: Poor Hand Generation
- Enable 2nd ADetailer tab with
hand_yolov8n.pt - Use hand-specific prompts
- Consider cropping hands out of frame
- Use img2img to refine hands separately
Usage Examples
Example 1: Portrait Setup
User: "Help me set up photorealistic portrait generation"
Assistant Response: I'll help you configure photorealistic portrait generation. Here's the optimal setup:
1. Model Selection:
- Use SD 1.5 Base or Realistic Vision V5.1
- Both work well for portraits
2. Settings:
CFG Scale: 4.5 (CRITICAL - this is the breakthrough setting)
Steps: 40
Sampler: DPM++ 2M Karras
Resolution: 512×512
Batch Size: 4
3. Prompt Formula:
RAW candid photograph, unfiltered reality, authentic skin texture with visible pores and fine lines, subsurface scattering, real human imperfections, natural uneven skin tone, professional photo shoot, [your subject here], documentary photography style, Leica M10, Summilux 50mm f/1.4, natural diffused lighting, overcast golden hour, real skin blemishes, subtle wrinkles, natural oiliness, lifelike, hyperrealistic not CGI, shot on Kodak Portra 400, muted colors, organic imperfections, tangible reality
4. Enable ADetailer:
- Model: face_yolov8n.pt
- Positive pr
Установить stable-diffusion-helper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл stable-diffusion-helper?
Generate and troubleshoot Stable Diffusion images: model installation and selection, prompt and negative-prompt engineering, CFG, sampler and step tuning, and VRAM optimization. Use when setting up SD models, improving photorealism, or diagnosing poor generation quality.
Как установить скилл stable-diffusion-helper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл stable-diffusion-helper запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic