{"id":376534,"date":"2026-01-18T07:15:18","date_gmt":"2026-01-18T07:15:18","guid":{"rendered":"https:\/\/www.newsbeep.com\/uk\/376534\/"},"modified":"2026-01-18T07:15:18","modified_gmt":"2026-01-18T07:15:18","slug":"increased-file-size-limits-and-expanded-inputs-support-in-gemini-api","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/uk\/376534\/","title":{"rendered":"Increased file size limits and expanded inputs support in Gemini API"},"content":{"rendered":"<p data-block-key=\"he1nq\">Today, we\u2019re introducing significant updates to how you ingest data into the Gemini API: support for <a href=\"http:\/\/ai.google.dev\/gemini-api\/docs\/file-input-methods#registration\" rel=\"nofollow noopener\" target=\"_blank\">Google Cloud Storage (GCS) object registration<\/a>, <a href=\"http:\/\/ai.google.dev\/gemini-api\/docs\/file-input-methods#external-urls\" rel=\"nofollow noopener\" target=\"_blank\">HTTPS\/Signed URLs<\/a> and <a href=\"https:\/\/ai.google.dev\/gemini-api\/docs\/file-input-methods\" rel=\"nofollow noopener\" target=\"_blank\">increased inline file size limits<\/a>. These changes are designed to help you bring your own data \u2014 wherever it lives \u2014 directly into Gemini API. There\u2019s no longer a need to re-upload data from existing storage, allowing you to scale your AI applications to production faster.<\/p>\n<p>Bring your own data: GCS and external URLs<\/p>\n<p data-block-key=\"7jlb\">Previously, using large files (video, long audio, massive documents) required uploading them to the Gemini <a href=\"https:\/\/ai.google.dev\/gemini-api\/docs\/files\" rel=\"nofollow noopener\" target=\"_blank\">Files API<\/a>, where they persisted for only 48 hours. While sufficient for prototyping, this ephemeral storage became a bottleneck for production apps relying on persistent data in cloud storage platforms.<\/p>\n<p data-block-key=\"efu9p\">We are removing this friction with two new input methods.<\/p>\n<p data-block-key=\"9oml7\">1. External URLs (public \/ signed):<\/p>\n<p data-block-key=\"b1o2o\">We now support both files stored in public domains, as well as private storage (via signed URLs)<\/p>\n<p>You can pass any publicly accessible URL (like a PDF or image on the web) directly in your generation request.We support pre-signed URLs for accessing data from AWS S3, Azure Blob Storage or other cloud providers.<\/p>\n<p data-block-key=\"cnlqb\">The Gemini API securely fetches the content during processing, eliminating the need to download content to your backend just to forward it to the API.<\/p>\n<p data-block-key=\"4uptu\">2. Register GCS files: If your data is already in Google Cloud Storage (GCS), you no longer need to move bytes. You can now register your GCS files directly with the Files API.<\/p>\n<p>Increased inline limits<\/p>\n<p data-block-key=\"3e5kf\">For developers who prefer using inline files for speed and simplicity, we are increasing the maximum payload size for inline data from 20MB to 100MB (base64 encoded, with varying limits based on data types). This is ideal for prototyping, real-time applications, and handling larger images or short audio clips without needing any intermediate storage.<\/p>\n<p data-block-key=\"2u4l1\">With these updates, you now have a robust toolkit for data ingestion tailored to your specific needs:<\/p>\n","protected":false},"excerpt":{"rendered":"Today, we\u2019re introducing significant updates to how you ingest data into the Gemini API: support for Google Cloud&hellip;\n","protected":false},"author":2,"featured_media":376535,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[554,733,4308,3085,86,56,54,55],"class_list":{"0":"post-376534","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-artificial-intelligence","8":"tag-ai","9":"tag-artificial-intelligence","10":"tag-artificialintelligence","11":"tag-none","12":"tag-technology","13":"tag-uk","14":"tag-united-kingdom","15":"tag-unitedkingdom"},"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/376534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/comments?post=376534"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/376534\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media\/376535"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media?parent=376534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/categories?post=376534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/tags?post=376534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}