Progress is tracked for every image
Image processing continues even if the user closes the browser. Each file shows whether it is waiting, ready or needs attention after an error.
Previous work by Niko Fagerström
Maskmill needed AI background removal that works as part of each customer order. I designed and built the connection between image processing, payments, file storage and production.
The workflow I built automatically produces PNG, JPG and mask files and preserves the source material for corrections. Customers receive the finished files through the same service, and production staff can make human corrections when needed.
Scope: Order form, upload validation, post-payment queueing, background processing, image compositing, cloud storage, previews, and correction workflow.
Images are processed from a queue, with progress tracked for each file. Failed jobs can be handled separately. Finished images become available for the customer to download.
The customer uploads images and selects crop and background color options. Those settings are stored directly on the order.
Oversized or unsupported images are converted to fit the processing limits before AI handling starts.
After payment, files are marked as waiting for processing. A background service picks up the queue automatically.
An external AI service returns the image mask. The system combines it with the original image and creates the finished customer files.
Finished images are saved for download. The background mask is kept separately so an editor has the right files for any corrections.
Image processing continues even if the user closes the browser. Each file shows whether it is waiting, ready or needs attention after an error.
AI separates the subject from the background. The system then creates an image with a transparent or chosen background, along with a lightweight preview.
If an image needs a manual correction, the original image and background mask are ready. The editor does not need to start again.
I connected AI background removal with Maskmill orders, payments and file handling. I also built a way to correct images manually when the AI result needs more work.
Want to add AI to your service? Tell me where it could help.