メインコンテンツへスキップ
更新日: 2026-06-06

Gemini Image Understanding

As of 2026-04-08, successful Crazyrouter and local :4000 retests show:
  • gemini-2.5-pro can reliably read images through inlineData
  • remote image URLs through fileData.fileUri have shown repeated fetch and upstream-body failures
  • the primary recommended request shape for image understanding is therefore inlineData

Verified Minimal Request

Observed production response shape:

Request Notes

  • Prefer inlineData for image understanding
  • Keep mimeType aligned with the actual file format, such as image/png or image/jpeg
  • Put raw Base64 into data without the data:image/...;base64, prefix
  • If you only have a remote image URL, do not treat it as the current primary Gemini image-understanding path on Crazyrouter
For video understanding, see Gemini Video Understanding. For audio understanding, see Gemini Audio Understanding.