跳到正文
数字商店
原文
Google for Developers· @googledevs · X·· 8 天前AI 评分67
AI 导读

Google for Developers 宣布 Gemini API 新增原生文件切片控制,可将密集 PDF、Office 与 OpenDocument 文件、音频和视频直接传给 Gemini 4 模型,并在服务端只切取所需页面、单元格或时间戳。

正文 · 原文

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.

来源:Google for Developers · x.com