Google Gemini API: Intelligent Processing of Documents and Videos

Date: November 24, 2026

Soft & Solution Group – Google Gemini API File Slicing

Modern businesses work with large volumes of documents and multimedia content. PDF reports, presentations, Excel workbooks, audio recordings and videos contain valuable information, but analysing every page, cell or minute can consume time, computing resources and a significant number of tokens in AI systems.

On November 23, 2026, Google introduced new file-slicing controls in the Gemini API. Developers can ask the model to inspect selected document pages, spreadsheet cell ranges, or specific audio and video segments instead of processing the entire file. Google also announced native upload support for Microsoft Office and OpenDocument formats.

For businesses, this change can support more efficient document analysis and automation workflows. Soft & Solution Group sees targeted data processing as an opportunity to build more practical AI solutions in which models focus on the information a workflow actually needs.

What is File Slicing in the Gemini API?

File Slicing gives developers control over which parts of a file are sent to the model for analysis. Rather than processing an entire document or recording, a request can specify the pages, worksheets, cells or time intervals relevant to a task.

For example, an application can analyse pages 10 to 15 of a PDF report, a selected cell range in a spreadsheet, or a short segment of a training video. Selection takes place server-side, and the uploaded file can be reused across later interactions through the Files API.

Which file formats and content types are supported?

The controls support PDF, Microsoft Office and OpenDocument documents and presentations, including Word, PowerPoint and spreadsheet formats. For documents and presentations, developers can select a page range, resolution, and whether the model should receive extracted text, page images, or both.

For spreadsheets, developers can specify a worksheet and cell range, as well as the content layers to analyse, such as data, formulas or visual elements. Audio and video can be selected by time interval; video processing can also control frame rate, resolution, and whether the model examines transcripts, frames or audio.

How can processing costs and time be reduced?

When a model receives only the relevant portion of a file, it does not need to analyse every page, cell or minute of the source material. Google says tokens are counted and billed for the selected content inspected by the model. This can reduce token usage for long documents and large recordings, although actual savings depend on the file and the way the feature is used.

A workflow can begin with a quick text-based review to locate relevant content, then request higher-resolution analysis only for the pages, charts or frames that matter. This makes it easier to build applications that analyse reports, technical documentation and training materials.

What opportunities does this create for businesses?

Companies can use this approach to analyse contracts, financial reports, procurement documents, presentations, sales spreadsheets and training materials. An AI system could retrieve only the pages related to a clause, the cells containing a particular expense category, or the minutes in a recorded meeting where a topic is discussed.

This can make automation workflows more focused and easier to integrate into existing applications. For IT teams, reusing the same file across several steps and selecting different portions as needed can simplify the development of agents that analyse documents in stages.

How does it work with AI agents and automation tools?

An important capability is that the selection controls can also be used when an external tool or function returns a file to the model as a result. This allows agents to request additional parts of a document during an interaction, rather than requiring developers to prepare every extract in advance.

For example, an agent can first review the text of a report, identify the page containing a chart, and then request that page at a higher resolution. This supports more dynamic analysis workflows in which the model determines what additional information is needed to complete a task.

What should developers keep in mind?

File Slicing does not remove the limits that apply to the uploaded source file. File-size and page limits continue to apply to the entire file, even when the model is asked to inspect only a portion. Developers should therefore check the documentation limits and carefully select ranges, resolution and content layers.

Selecting certain pages or cells should also not be confused with anonymising or redacting data. The source file is uploaded to the service, so businesses should assess information classification, privacy policies, access permissions and security requirements before submitting sensitive documents.

How can businesses prepare to use this technology?

Organisations can start by identifying workflows in which employees regularly analyse long documents, spreadsheets or recordings. They can then select a limited use case, compare processing time and token usage between full-file and targeted analysis, and validate the accuracy of the results.

It is important to define file retention and access rules, test results with representative materials, and maintain human oversight for high-impact decisions. The greatest benefit comes when the technology is integrated into a clear business process rather than used as an isolated feature.

Conclusion: AI is becoming more selective in how it processes information

The new File Slicing controls in the Gemini API point to an important direction in AI application development: processing information in a more targeted way, based on the specific needs of a task. Selecting pages, cells and audio or video segments can help optimise costs and enable more advanced automation workflows.

For businesses, the value is not only faster processing, but also the ability to integrate AI into daily operations with control, security and measurable outcomes. Soft & Solution Group recommends testing these capabilities in concrete business processes while evaluating efficiency, privacy and analysis quality.

As Ermal Beqiri, founder of Soft & Solution Group, explains:

“The future of automation depends not only on the power of AI models, but also on the ability to provide them with the right information, at the right time, in a controlled way.”

Loading…