- Add /api/image/masked endpoint that applies mask as alpha channel - Simplify mask preview modal: just toggle between 'With Background' and 'Masked Only' - Remove complex CSS mask/blend mode approach - Server returns pre-composited masked image (transparent where mask is black)
- Added logging throughout the application - Updated mask extraction to load and pass base image to ComfyUI - Added polygon overlay support for mask extraction - Added urllib.parse import for URL encoding - Better error handling and status reporting
- Routes for file operations, layer management, polygon drawing - Mask extraction endpoint with ComfyUI integration - Krita integration endpoints - Basic API tests