brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
stable-diffusion-webuiUse and maintain AUTOMATIC1111 Stable Diffusion WebUI workflows, including launch/configuration, REST API automation, extensions, model assets, LoRA, textual inversion, training, extras, and postprocessing.
Independent GitHub snapshot · Automated classification · Original documentation governs
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.