Unable to upload more than 10 videos at once in Google AI Studio UI and using Gemini API

We are trying to upload more than 10 videos at a time but we are unable to upload them and it is showing the below error:
BadRequest: 400 POST https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?%24alt=json%3Benum-encoding%3Dint: Unable to submit request because it has 12 video files but the model only supports up to 10. Learn more: Generate content with the Gemini Enterprise API  |  Generative AI  |  Google Cloud

Can anyone help us how can we upload more 10 videos at once if possible.

1 Like