ADetailer is an extension for the Stable Diffusion WebUI that provides automatic object detection and masking for inpainting tasks. It integrates models like YOLOv8 and MediaPipe to detect faces, hands, persons, and other objects, creates masks from these detections, and then performs inpaint operations on the masked regions using the Stable Diffusion model. The extension features configurable detection parameters, mask preprocessing options, ControlNet integration, and advanced prompting capabilities. It follows the WebUI extension architecture with proper script callbacks and UI integration.
Stability Matrix is a cross-platform desktop application (Windows, macOS, Linux) that serves as a unified package manager, model browser, and inference UI for AI image generation tools like Stable Diffusion, ComfyUI, Fooocus, and Forge. The codebase is built with .NET 9 using Avalonia UI (with legacy WPF remnants) and follows the MVVM pattern with CommunityToolkit.Mvvm and DI via Injectio. Key entry points include the MainWindow, PackageManagerPage, InferencePage (text-to-image, image-to-image, video, upscale), and CheckpointBrowserPage (CivitAI, HuggingFace, OpenModelDB). The system manages Python virtual environments, installs packages via pip/uv, and orchestrates inference through ComfyUI's API or built-in Gemini providers. External dependencies include Refit for API clients, LiteDB for local caching, and SkiaSharp for image processing. The architecture is a modular monolith with clear separation of concerns via service interfaces, view models, and custom controls.