API to modify facial features

Hi, all,
I’d like to use AI to modify the face to fit portrait photos of an individual. That requires an API to modify the facial features. How can I do that?
Any suggestions, resource hints are welcome.

Thanks.