Is google AI studio API accept url from amazon S3

I have list of images I want to provide to gemini flash API to classify this images. in progrmatic way can provide url of Amazon S3 that stored these image to API directly without download image on the server first and then convert it to base64. Is any API accept url of public image or url of Amazon S3 ?

Short answer - no.

On the AI Studio Gemini API - the URL for a fileData part must be one that was returned by the File API. On Vertex AI - the URL must be the gc: URL for a Google Cloud Storage bucket in the same region.

1 Like