How to implement API call that requires local filepath

Hi, I am looking for a way to implement an API call as documented here"

The call (I am giving the Curl command below) depends on a localfile upload, but I cannot find a way to load the local filename into Bubble (e.g. with File Uploader or Image Uploader) options. Is there any solution you can suggest?

"curl -X POST “” -H “Content-Type: multipart/form-data” -F “file_type=image” -F “source=@David_photo_1.JPG;type=image/jpeg”

It’s not asking for the local final name, you upload the file with the image uploader. You would replace the “@David_photo_1.JPG” with the uncheck Private, so now when you call the API from the front end you can feed it the uploader’s value