Skip navigation
New in the Gemini API: Native file slicing controls ๐Ÿ“„โœ‚๏ธ
0:00 / 0:21

New in the Gemini API: Native file slicing controls ๐Ÿ“„โœ‚๏ธ

Google for Developers

@googledevs2.6M followers

Visit on X
1,098 likesDownloadOriginal post

84,572 views

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 Google AI Studio and Gemini platform across all Gemini 4 models.

4 Comments

Comments from the original post on X (Twitter)

  • Google for Developers's profile picture

    @googledevs

    Learn more:

    9 likes

  • fenomenokim's profile picture

    @fenomenokim

    dropping local pdf and office scripts cleans up so much harness glue. just watch the 48h files api expiry if you're reusing uris across longer runs

    4 likes

  • Joost Heijden's profile picture

    @joostvdheijden

    @grok hoe pas je dit toe binnen eigen projecten als je via de api werkt?

    1 like

  • ใ‚บใƒœใƒฉใฎAIไธธๆŠ•ใ’ๆ•™ๅฎค's profile picture

    @zubora_maruage

    ใ€Œๅ…จ้ƒจ่ชญใพใ›ใ‚‹ใ€ใ‹ใ‚‰ใ€Œๅฟ…่ฆใชใƒšใƒผใ‚ธใ ใ‘่ชญใพใ›ใ‚‹ใ€ใธใฎ่ปขๆ›ใ€ใ™ใ”ใๅคงไบ‹ใ ใจๆ€ใ„ใพใ—ใŸใ€‚ๆ–™้‡‘ใŒ่ชญใ‚“ใ ๅˆ†ใ ใ‘ใซใชใ‚‹ใฎใ‚‚ใใ†ใงใ™ใŒใ€ใ†ใกใฎๆ•™ๅฎคใง่จ€ใ†ใ€Œไปปใ›ใ‚‹ๅ‰ใซ็ฏ„ๅ›ฒใ‚’ๆฑบใ‚ใ‚‹ใ€ใจใ„ใ†ไบบ้–“ใฎไป•ไบ‹ใŒใ€ๅ…ฌๅผใฎๆฉŸ่ƒฝใจใ—ใฆๅฝขใซใชใฃใŸๆ„Ÿใ˜ใŒใ—ใพใ™ใ€‚ๆธกใ™็ฏ„ๅ›ฒใ‚’ๆฑบใ‚ใ‚‹ใฎใŒไบบ้–“ใ€่ชญใ‚€ใฎใŒAIใ€ใจใ„ใ†ๅˆ†ๆ‹…ใŒๅˆ†ใ‹ใ‚Šใ‚„ใ™ใใชใ‚Šใพใ—ใŸใ€‚