Is there an app api that allows photos to be extracted from a smart phone

I’m in search of an app with api calls that allows a person to extract specific jpg files from a camera gallery from my phone without having to first download it to each my laptop directory or the cloud?