Uploading a gif file to Gemini files api with mine type image/gif gets for Gemini 2.0 an exception of invalid input file when trying to fetch a prompt with it.
This is working on Gemini 1.5 and is broken on Gemini 2.0
Seems like Gemini 2.0 has a bug and can not process gif files
Hi @Yonathan_Tzur , Welcome to the forum.
Below is the supported MIME type:
- PNG -
image/png
- JPEG -
image/jpeg
- WEBP -
image/webp
- HEIC -
image/heic
- HEIF -
image/heif
For more details you can go through the documention.
Thanks