Transfer video file data directly to prompt

Hi, I have a problem with transferring video data directly to prompt, no such problem with photo and audio.

Welcome to the forum. I think you are having the problem with Blob data. Image and Audio work, video doesn’t. The solution is to use the File API on video.

Hope that helps!

3 Likes

Hi @ostia27 , Use File API for video prompts and ensure that your video content does not exceed one hour in duration. This is because the current versions of Gemini 1.5 Pro and Flash have a maximum capacity to process approximately 60 minutes of video data.

1 Like