I recently integrated the OpenAI API with vision into my flutter flow project. The API has parameters of an image link rather than an image file; however, I want to be able to pass an image file to the API rather than a string containing the image path.
I have a button in my UI that basically allows a user to upload a picture, as an image file. I was wondering how I can pass the image as a url/path for my API call?