Skip to main content
Content updated: 2026-06-09

Gemini Video Understanding

As of 2026-04-08, repeated tests between Crazyrouter site and local 4000 port show:
  • gemini-3.1-pro can read video/mp4
  • The currently stable main process is fileData.fileUri
  • Video files must be on a public URL accessible by Gemini upstream

Minimum Verified Request

Key structure that has successfully returned in similar production environments:

Request Essentials

  • The currently recommended way for video understanding is fileData.fileUri
  • mimeType should be filled with the actual file, such as video/mp4
  • fileUri must be accessible by Gemini upstream
  • If the file is in a private network, requires authentication, or the URL cannot be connected directly, it is currently very likely to fail
For image understanding, use inlineData first. Do not directly copy the successful method for images to videos. For images, see Gemini Image Understanding.