Do you have cloud service to process the project including recognizing mask area, subtract, mask path, mask feather, opacity, mask expansion and so on like we do the Conte-Aware fill functionality on our MacBook Pro.
But, the existing functionality it should be better to keep and run locally for your customer(users).