Increased file size limits and expanded inputs support in Gemini API
Summary
The Gemini API has introduced significant updates to data ingestion, allowing users to bring their own data directly into the API from external sources without re-uploading. This includes support for passing files via public or signed HTTP/HTTPS URLs, which enables secure fetching from providers like AWS S3 or Azure Blob Storage. Additionally, developers can now register files directly from Google Cloud Storage (GCS) with the Files API, eliminating the need to move data bytes. Furthermore, the maximum payload size for inline file data has been increased from 20MB to 100MB (base64 encoded), which is beneficial for prototyping and real-time applications. These changes aim to reduce friction for production scaling by accommodating persistent data in existing cloud storage.
(Source:Gemini)