Architecture and patterns for developing image editor tools and UI in the SwarmUI image editor. Not to be confused with the 'advanced media editor', that is separate.
Add or edit SwarmUI backend API routes, including handler signatures, registration, permissions, HTTP or WebSocket behavior, and generated route documentation.
Add or edit SwarmUI browser frontend JavaScript, including shared utilities, class-based helpers and singletons, DOM behavior, API calls, initialization, and script loading.
Add or modify SwarmUI text-to-image generation parameters, including their registration, UI behavior, validation, metadata, feature gating, and ComfyUI workflow consumption.
Add or modify SwarmUI's C# WorkflowGenerator, including ordered generation steps, reusable graph helpers, WGNodeData media routing, model-specific behavior, Comfy node contracts, and feature gating.