A colleague sends a 200-page report and asks what a footnote under one chart means. Reading a high-resolution image of every page is an expensive way to look for a caption. Reading only extracted text can lose the connection between a plotted line, its label and the note below it. On November 23, 2026, Google introduced Gemini API file-slicing controls that let an application use both representations in successive calls.
The application uploads the file once. It first asks where the figure appears, then requests a high-resolution image of the relevant page. The same idea works on a public document that provides an actual answer key. The U.S. Census Bureau’s income report runs to 59 physical PDF pages. Figure 2 sits on page nine even though the page itself is numbered three. Google’s announcement and example · Census report, physical page 9
- 01Two calls answer different questionsUse text to locate a figure and a rendered page to read the chart, units and notes in context. Reuse the Files API URI.
- 02Page ranges start at oneAn identical start and end page selects one physical page. A printed page number can be offset by cover matter and contents pages.
- 03A real report provides an answer keyFigure 2 in the Census Bureau’s 2023 income report appears on the ninth physical PDF page, which is printed as page 3.
- 04Account for the first callThe text skim, the detail image, instruction tokens and generated answers all contribute to the workflow. A single-page detail call alone does not establish total savings.
01 — The briefDecide what the footnote has to answer
The first design choice is the question. “Summarize this report” gives the model considerable discretion about what matters. “What was the all-races median household income in 2023 in Figure 2, and how were older amounts made comparable?” requires it to identify a series, a year, units and an adjustment method. Those requirements make it possible to judge the answer against the page.
For an imagined 200-page corporate report, the equivalent question might be whether a revenue bridge excludes acquisitions or whether a growth figure uses constant currency. The relevant chart may occupy half a page while its qualification appears in a smaller note below. The printed contents might point to a section and omit the chart entirely. Designing for those cases means preserving a way to inspect the layout after the initial search.
Choose a stable copy of the input before running either call. A newer annual report with the same title can move a figure by several pages or restate a historical number. Save the source URI and report edition in the application’s record. A useful answer links to the same file the reader can open. The Census report’s publication page and edition
02 — File handlingGive each call the same document
Google’s example uses the Files API to upload a Word document. Each subsequent Interactions request contains the returned URI and MIME type. On the first turn, a static processing block asks for the extracted text layer. On the second, the application sends the same URI with new page and resolution settings. The service handles the slice, so the application does not have to create a second file for the selected page.
The November announcement covers Gemini 4 models and describes the capability in AI Studio and the Gemini platform. Documents and slides support page selection and text or page-image layers. Spreadsheets use different fields for worksheet and cell ranges. An uploaded PDF is still subject to the applicable file-size and page limits even if the requested portion is tiny. An application receiving a long file needs to handle rejection at upload separately from a later request for the wrong page. Google’s supported types and slicing options
A team choosing between this workflow and extracting a searchable archive once should also consider how often readers return to the same files. A single footnote question and a daily search over thousands of reports make different demands on indexing, provenance and retention. Document automation choices for a business workflow
03 — First readSearch the text for a locator
In Google’s worked example, Gemini 4 Hydrogen receives the whole document as page_text and is asked where the revenue bridge chart appears. Gemini 4 Neon receives the follow-up page image. The two calls use different models by choice. A team can evaluate another supported combination on its documents. The important change between reads is what evidence each call sees. Google’s two-call sample · Gemini 4 Neon and Hydrogen compared
For the Census question, search for the figure number together with terms distinctive enough to separate the chart from the surrounding prose, such as “race and Hispanic origin” and “1967 to 2023.” Ask the first call to return candidate physical pages and nearby caption text. A contents entry is a lead. It often repeats the title perfectly while containing none of the underlying data.
A scanned annual report might have little extractable text. It can also put the figure title into the image itself. If the first call finds nothing, use low-resolution page-image previews over a likely section or locate the section from the contents. Let the model report uncertainty between two pages. A second look at two candidates can cost less than quietly accepting the wrong chart. How document OCR changes extraction choices
04 — Second readRequest one physical page
Google documents start_page and end_page as one-based and inclusive. The slice for physical page nine begins at 9 and ends at 9. The image resolution goes on the outer document block. The following fragment shows the processing and resolution fields to attach alongside the document URI and MIME type in a detail request. It is a request fragment, so the application still provides the model, input document and question.
{
"resolution": "high",
"processing": {
"type": "static",
"page_options": {
"start_page": 9,
"end_page": 9,
"content_layers": ["page_image"]
}
}
}Ask the second call to return the figure number and title, the label and value at the requested endpoint, the inflation basis and the physical page used. In the 200-page example, the text search might locate physical page 78. Substitute 78 in both fields only after checking that the locator counted physical PDF pages. A report that starts its printed numbering after an introduction can produce an apparently valid answer from the wrong page if the request uses the printed page number without accounting for the front matter. Gemini’s page fields, defaults and resolution options
| What the detail call sees | Likely cause | Next request or check |
|---|---|---|
| A list of chart titles and dotted leaders | Contents page matched the search terms | Resolve the printed page to its physical position and reopen the chart. |
| The right caption but no readable qualification | Low resolution or an incomplete view | Request the complete rendered page at high resolution. |
| A footnote marker that continues at a page break | Selected range is too short | Read the adjoining physical page and keep both page references. |
05 — Census figureCheck the number against the note
Open physical PDF page nine of Income in the United States: 2023. The contents page lists Figure 2 on printed page 3. The chart tracks real median household income by race and Hispanic origin. The all-races series ends at $80,610 for 2023. The axis identifies the amounts as 2023 inflation-adjusted dollars. This is household income, which differs from the pay of a single worker. Figure 2 in the original Census report
The note supplies an important part of the answer. It identifies C-CPI-U for 2000–2023 and R-CPI-U-RS for years before 2000. It also explains that the data points fall at the midpoints of their respective years. A reader answering the inflation question should report the two intervals. Simply saying “adjusted for inflation” leaves out the change of series that made the footnote worth reading.
A response that gives $80,610 from nearby body text can still fail the task. Check that the reported unit and the period split both appear on the cited figure page. If only the table of contents is attached, an answer that happens to recall the correct number has supplied no visible support for it. These values come from the Census PDF and serve as a reference for evaluating a future model response.
06 — Token accountingCount both reads before claiming savings
Google’s document reference gives approximate image budgets of 280 tokens per page at low resolution, 560 at medium and 1,120 at high. Multiplying 200 by 1,120 gives approximately 224,000 image tokens for rendering 200 pages at high resolution under that simple assumption. One selected page uses about 1,120 image tokens at the same setting. Those numbers describe an image-input component. The second number is only part of the two-call total. Google’s documented per-page budgets
The text skim still has to process the extracted words. Both calls have instructions and generated responses. A page of dense tabular text may be more expensive to skim than a title page. When the first model is Hydrogen and the second is Neon, the monetary comparison requires the applicable input and output rates for each. An effective comparison records each call’s usage along with the accuracy of the footnote answer. A cheaper call that selects the wrong page can add the cost of another read.
07 — ImplementationMake wrong pages easy to catch
Give the user a short answer and a visible page reference. For the Census example, the minimum useful output includes the physical page, the printed label, the series and year, the dollar basis and the two inflation series. Ask the user who owns the data which omission would change their decision. That identifies the fields the application should require before presenting a complete answer.
Evaluate a few cases where the correct response asks for another page. Include a chart with a missing unit, an appendix that reuses a figure number from the main report and a scanned document with little text. Record whether the application opened the right page, whether the extraction matched it and whether the citation points the reader back to that same version. Checking citations in research answers · Digital Applied’s AI transformation services
Return the answer with a page somebody can open
The useful deliverable is a value, its basis and a pointer to the page that supports both. If someone else can open that physical page and find the endpoint and footnote, the application has done more than retrieve a plausible number.