Inboxsmith

AI news videos

Gemini API Adds File Slicing Controls

Google has launched native file slicing controls in the Gemini API, across Google AI Studio and the Gemini platform, alongside native file upload support for Microsoft Office and OpenDocument formats. You can pass PDFs, Office files, spreadsheets, audio and video directly to the API and request only the pages, cells, media segments and content layers you need, and tokens are billed only for the parts the model inspects.

Watch on YouTube

Transcript

Pass a large file, pay only for the slice. The Gemini API added file slicing controls.

You can pass documents, spreadsheets, audio, or video, then request only the pages, cells, or media segments needed.

Documents take a page range, resolution, and text or page images. Spreadsheets take a worksheet tab with a cell range. Recordings take time intervals.

Previously an agent ran document and video conversion tools on the client to cut large files. Now slicing happens server side.

Google published this itself. The savings figures are from launch partners, and a partner reported fourteen times fewer tokens for page text than a rendered PDF.

Inboxsmith builds AI phone and email agents for small business. Please like and subscribe for more news.

Sources

Every claim in this video comes from the top ranking coverage of this topic. The claims and where each one came from:

We make Inboxsmith.

An AI receptionist that never misses a business call.

See how it works