Recently, I explored the mind-blowing capabilities of using Google’s powerful new Gemini 2.5 Pro Experimental model to work with videos in Swift.
📖 In case you missed it: Beyond Video Transcription: How to Work with Videos in Gemini 2.5 Pro Experimental in Swift
In that post, I covered how to upload videos, generate detailed summaries, answer questions with timestamped references, and even find when a specific image appears in a video. And more! But I missed one very important point that I saw in @_philschmid’s recent X post - this model is able to work with YOUTUBE VIDEOS!!!
Naturally, I tested it out—and yes, it works! Here’s how you can do it in Swift:

