协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
stable-diffusion-webui【开发与工程】Use and maintain AUTOMATIC1111 Stable Diffusion WebUI workflows, including launch/configuration, REST API automation, extensions, model assets, LoRA, textual inversion, training, extras, and postprocessing.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when the task names Stable Diffusion WebUI, AUTOMATIC1111, launch.py, /sdapi/v1/*, Gradio WebUI launch flags, WebUI extensions/scripts, checkpoints/VAEs/Lora/embeddings/upscalers, textual inversion, hypernetworks, Extras, or WebUI postprocessing workflows.
This skill is self-contained guidance distilled from the Stable Diffusion WebUI repository. It does not require the original checkout unless the user is explicitly auditing or modifying a checkout; bundled helper scripts are safe stdlib tools for source inspection, payload construction, extension scaffolding, and layout validation.
| User task | Read |
|---|---|
| Start WebUI/API mode, choose launch flags, configure auth/CORS/TLS/subpath, avoid downloads, diagnose startup | launch-and-config |
Build /sdapi/v1/* calls, create txt2img/img2img payloads, encode images, inspect script metadata, troubleshoot API 400/401/422 | api-automation |
| Write or debug WebUI scripts/extensions, callbacks, postprocessing scripts, preload hooks, extension metadata, Gradio component hooks | extension-scripting |
| Place or refresh checkpoints, VAEs, embeddings, hypernetworks, Lora/extra networks, upscalers, hashes, model directories | assets-and-models |
| Plan textual inversion or hypernetwork training, preprocessing-for-training, Extras upscaling, face restoration, postprocessing | training-and-postprocessing |
python launch.py --api --api-auth user:pass --ckpt <checkpoint.safetensors> starts UI plus authenticated API; use --nowebui for API-only mode.GET /sdapi/v1/samplers, /schedulers, /sd-models, /upscalers, /scripts, and /script-info should precede generation payload construction.Example source-audit helper usage when the user is already working in a WebUI checkout:
python scripts/inspect_webui_source.py --repo . --json
--listen, --share, --ngrok, broad CORS, server-stop endpoints, or insecure extension access without explicit auth and trust boundaries.--allow-code or --disable-safe-unpickle unless the user accepts arbitrary-code or pickle risk..safetensors assets, explicit model paths, small API smoke payloads, and read-only metadata endpoints while diagnosing.