I’m setting up image generation using Google Flash 2.5.
Inputs are a prompt, AND an uploaded image.
I’m creating multiple images off one reference image uploaded, so first I upload that image to Gemini files. (image file is API GET from Amazon s3, and returns as a URL, not .png file- but upload works)
The issue I’m having is that Gemini is assigning a generic mime type to the file uploaded (application/octet-stream), when it need to be image/png or image/jpeg.
In the API connector, I’m uploading the image as “form-data” (file checked). Gemini docs say you can add meta data to the file upload and define the mime type, but bubble’s API connector allows only file or json. Adding a parameter such as “name”, doesn’t work.
Any advice or tips would be appreciated! Alternatively, I’d be willing for somone experience to hope on a call at an hourly rate to advise me.
(note- I’m relatively new on bubble and non technical)