Exploring Foundation Models: Bridging Gemini Video with CustomSegment

Apple's system model takes image input in Xcode 27, but not video. This post shows how to route video through LanguageModelSession to Gemini using a custom Transcript.CustomSegment and a LanguageModelExecutor, and how to verify each layer actually does what you think it does.