Analyze Video
analyze_videoSwitch Vision — watch and understand a video (or image) like a human and answer a question about it: scenes, subjects, actions, on-screen text, pacing, mood and sentiment. With timeline true it is Gemini 4: a timeline of every cut and every movement with its second, read at more than 1 frame a second (use it before placing sound effects). Pass video_url (a public https video URL, including YouTube) OR one of your own Switch videos (a video/asset id from list_my_videos / list_my_assets / upload_media). Add an optional question to focus the analysis (e.g. "what is the tone and energy?", "list the cuts and what each shot shows"). Use this whenever the user gives you a reference video and wants its style, energy, structure or content understood — for example before making a new video that matches it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Optional, with timeline: frames read each second, above 0 and up to 24 (Gemini's range). Default 4. | |
| question | No | Optional. What to find out about the video — tone, structure, on-screen text, sentiment, etc. | |
| timeline | No | Optional. true for a timeline of every cut and every movement with its second, read by Gemini 4 at more than 1 frame a second; use it before placing sound effects. | |
| video_url | Yes | A public https video URL (YouTube ok), OR one of your own Switch videos — a video/asset id, or the download_url / view_url from list_my_videos or get_video_status. Switch resolves its own links to the file for you. |