Gemini API adds file slicing controls for PDFs, Office docs, audio and video

OfficialLoganK · x · 2026-11-24

Google shipped a quality-of-life update to the Gemini API introducing file slicing controls.

Developers can now pass PDFs, Office files (docs, slides, spreadsheets), audio and video directly to the API and request only what they need — specific PDF pages, spreadsheet cells, media segments, or layers — without pre-processing the whole file.

Related event: Gemini API Adds File Slicing Controls(2 posts)→

Original post →

More from coding & agent

coding & agent channel →