Gemini API slices files: a few seconds of video or a few PDF pages, billed only for what it reads
AI-generated summary The Gemini API update lets tool results carry video, audio, and documents directly so models can read them like user-sent files. Developers can use file slicing to send only specific pages, cells, or time ranges to the Gemini model and pay only for that portion.