QuestionQ24

VerifiedEvaluating and deploying agentic workflows

You are developing a customer support agent in Gemini Enterprise to analyze incoming customer incident reports. These reports include recorded audio calls in MP3 and WAV formats and long video-screen captures lasting up to 45 minutes. When you call the Gemini API with a raw Base64 payload, the request fails with a 413 error: size too large. You need to enable the agent workflow to process, analyze, and summarize these large audio and video files natively using Gemini models, without hitting payload restrictions or requiring preconversion steps.

What should you do?

Explanation

The Gemini API can reference audio and video stored in Cloud Storage using a file URI and the appropriate MIME type. This avoids placing the entire Base64-encoded file in the request body, while supported Gemini models can analyze MP3, WAV, and video files natively. Model-specific file, duration, and context limits still apply. (docs.cloud.google.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!