Hello, I wanted to inquire about how to upload an mp4 and if the Gemini 1.5 PRO API supports videos?
If anyone has an example or a link to the documentation, I would appreciate it.
I tried it through the web and I can do it correctly, I just need to access this through the REST API:
1 Like
I dind´t have any problem I’m curiorus of your issue and want to see the answer. I hope someone come to rescue you.
1 Like
Yes @esteban_fuhrmann, Gemini 1.5 Pro supports video. As per my knowledge However, currently, it is only available in Google Cloud under the model gemini-1.5-pro-preview-0409
, other than Google Cloud Vertex AI. You need to use Vertex AI on Google Cloud. If you are using Maker Suite now AI studio, then this model is not available. You need to use Vertex AI on GC.
1 Like
As @innovatix said - if you want to be able to upload a video and have it included as part of your prompt in the Gemini API, you’ll need to use Vertex AI.
For AI Studio’s API, you need to break it up into frames and include all the frames in your prompt. See cookbook/quickstarts/Video.ipynb at main · google-gemini/cookbook · GitHub
1 Like