Fast APi of pretrained model

Hi all,

What is the easiest way to use the pretrained model of ade20k Xception in python?
I’m a programmer but just not a python programmer. I managed to use the pretrained Deeplab model in javascript. But I suppose the Xception model is in Python is better trained? I would host this as a web api using Fast API or Flask. The API should accept a link to a image. Run the detection and sends back the result image (with all the colors).

Kind regards.
Roel