Sending user-uploaded images to 3rd-party API

I’m creating a CustomGPT where users upload an image that’s then supposed to be sent to a 3rd-party API (via Rapidapi).

The problem is that the files .oaiusercontent .com image is not a valid URL and returns a 404.

Tried sending it to AWS and convert to .jpg but didn’t help either.

Does anyone have a working solution?