Assume you have uploaded a long video through this API and obtained the file ID: qfile-123-1770719212268100147-e0011b.Request description: In the inference API (Chat/Completions) messages array, specify type as file or image_url, and fill in the corresponding file_id or url.Request body (JSON):
{"stream":false,"model":"gemini-3.0-pro-preview","messages":[{"role":"user","content":[{"type":"text","text":"What happened in this video? Please describe in detail."},{"type":"file","file":{"file_id":"qfile-123-1770719212268100147-e0011b","format":"video/mp4"}}]}]}