Video summarizer

Hello,

We noticed that if we give a youtube video link to Gemini in the gemini.google.com/app UI it return a proper summary of the video. We tried to also give a youtube video link via API call but it seems to summarize a totally different video than the one given every time.

Is it possible to summarize youtube video via Gemini 1.5 Pro API the same way the UI do? do we need to give specific params? Or do we have to create a custom Vertex AI assistant with some specific options for that?

Thank you in advance.

Function calling combined with YouTube APIs of your choice is probably one way to go, basically you write a function that accepts YouTube URLs or video ID and return the transcript as function call output

That’s how Gemini consumer app YouTube extension does

2 Likes

Thank you very much for the answer, we will look into that direction then.