Gemini API 新功能:原生文件切片控制 📄✂️ 将内容密集的 PDF、Office 和 OpenDocument 文件、音频及视频直接传给 Gemini 4 模型,在服务端仅截取你需要的页面、单元格或时间段。 — 通过 Files API 上传一次,即可跨多轮对话切片 — 先低成本浏览(page_text / 转录文本),再放大细看(高分辨率) — 只为 Gemini 查看过的切片支付 token 费用 — 无需在本地运行 ffmpeg 或进行繁重的 PDF 渲染 今天起,所有 Gemini 4 模型均可通过 @GoogleAIStudio 和 Gemini 平台中的 API 使用此功能。
看原文
New in the Gemini API: Native file slicing controls 📄✂️ Pass dense PDFs, Office & OpenDocument files, audio, and video directly to Gemini 4 models, and slice just the pages, cells, or timestamps you need server-side. — Upload once via the Files API, slice across turns — Skim cheap (page_text / transcripts), then zoom in (high res) — Pay tokens only for the slices Gemini inspects — Zero local ffmpeg or PDF rendering bloat Available today via the API in @GoogleAIStudio and Gemini platform across all Gemini 4 models.