Using the Gemini File API for Prompts with Media
Briefly

The Gemini API has a better way of handling large media files - the File API, with a 2GB file size limit per project and automatic deletion after 48 hours.
The File API supports various file types such as images, audio, text, and video, but does not support PDF under the plain text formats.
Read at Raymondcamden
[
|
]