Frame Lens
v2.3.0Eyes and ears for AI agents: measured cuts, easing, palette, beats and transcripts from any video.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
probe Open a video
Fetches the video if needed and reports duration, size, frame rate, audio and captions, plus the workspace folder where every later result is written. Call it first; then `plan` for the goal, or `transcript` / `frames` directly.
| Parameter | Type | Description |
|---|---|---|
source * | string | The video: a link (YouTube and other sites), a path to a local file, or `inbox` for the newest file in the inbox folder. |
plan Plan the analysis for a goal
Classifies the video (talking head, screen, motion graphics, music video, live action) and returns the steps that fit the goal: listen (podcast, lecture), learn (tutorial to guide), find (a moment), style (replicate motion design), sound (sound design), production (how it was made). When the words come from automatic captions, listen and learn add a name check: frames where likely product and proper names are said, and NAMES.md to fill with the spelling the screen shows. Pass `goal`, or the user's request in `request` to infer it. Then run the steps in order: each step's `args` are ready to pa…
| Parameter | Type | Description |
|---|---|---|
source * | string | The video: a link (YouTube and other sites), a path to a local file, or `inbox` for the newest file in the inbox folder. |
goal | string | The user's goal. Omit to infer it from `request` or the video type. |
phrase | string | For `find`: the phrase to look for. |
request | string | The user's request in their own words, used to infer the goal. |
transcript Word-timed transcript
What is said, with the time of every word when the source has it: captions first, then the configured fallback engine. Writes transcript.json and transcript.md to the workspace and returns the text (long transcripts are shortened; read transcript.md for all of it).
| Parameter | Type | Description |
|---|---|---|
source * | string | The video: a link (YouTube and other sites), a path to a local file, or `inbox` for the newest file in the inbox folder. |
language | string | Preferred caption language code, e.g. "en" or "ru". |
max_chars | integer | Most characters of transcript to return inline. |
frames Frames and contact sheets
Extracts frames and arranges them into labelled contact sheets (time, frame number and the words spoken under each picture). Sample with exactly one of: `at` (list of moments), `every` (seconds), `fps`, `every_frame` (every original frame, for motion and transitions), or `around` (a phrase from the transcript; it picks the range and takes `every`, `fps` or `every_frame` with it, 4 fps by default). Work like a loupe: an overview first, then dense frames only around the moments that matter. Sheets are written to the workspace; the first ones are shown inline, open the rest by path.
| Parameter | Type | Description |
|---|---|---|
source * | string | The video: a link (YouTube and other sites), a path to a local file, or `inbox` for the newest file in the inbox folder. |
around | string | A phrase from the transcript; frames are taken around it. |
at | array | Exact moments. |
columns | integer | Frames side by side on each contact sheet (1–8, default 4). |
end | Range end. | |
every | number | One frame every N seconds. |
every_frame | boolean | Every original frame, with real timestamps (variable frame rate safe). |
fps | number | Frames per second over the range. |
inline | integer | Sheets to show inline (default 2). |
occurrence | integer | Which occurrence of `around`. |
padding | number | Seconds before and after `around` (default 1.5). |
rows | integer | Rows of frames on each sheet (1–8, default 4); more frames go to further sheets. |
start | Range start: seconds (12.5) or M:SS(.mmm). | |
width | integer | Frame width in pixels (default 320; 240 with 6+ columns). |
words | boolean | Put the words spoken at each frame under it. |
style Measure the motion style
For replicating a look: finds cuts and gradual transitions (dissolves, fades and dips through black or white, wipes) and the shots between them, measures each shot's palette over its own frames (OKLab, weighted by screen time), reads how much the picture changes on every frame, and lists the moves with their duration in frames and easing family. Writes motion-spec.json (machine-readable, with word and cut anchors), STYLE.md, TIMELINE.md and ANALYSIS.md to the workspace. Then look at the moves with `frames` every_frame, and complete the typography, systems and 'why it works' sections in those f…
| Parameter | Type | Description |
|---|---|---|
source * | string | The video: a link (YouTube and other sites), a path to a local file, or `inbox` for the newest file in the inbox folder. |
end | Range end (default the end, at most 180 s at a time). | |
start | Range start (default 0). |
track Track an element and fit its exact curve
After `style`, for the moves that matter: follows one element through a window at the full frame rate (subpixel template matching) and fits the exact timing of each property that moves (x, y, scale, opacity): a cubic-bezier, a spring (stiffness, damping, mass) when it overshoots or swings, linear or steps, with the fit error, duration in frames and delay. Window: `move` (a style move number) or `start`/`end`; element: `auto` (the biggest moving region) or a box at time `at`. Writes tracks.json, TRACK.md and an SVG of the curves, and adds the tracked move to motion-spec.json, so `export` uses t…
| Parameter | Type | Description |
|---|---|---|
source * | string | The video: a link (YouTube and other sites), a path to a local file, or `inbox` for the newest file in the inbox folder. |
at | Time at which the box is drawn (default the window start). | |
element | `auto`, or the element's box {x, y, w, h} (top-left and size) in source pixels, or in fractions of the frame when every value is at most 1. | |
end | Window end (at most 15 s after start). | |
move | integer | A move from `style` (1 = the first in motion-spec.json); sets the window with some rest around it. |
start | Window start (default: just before the style move). |
audio Analyze the sound
Sound design and music: loudness (LUFS) over time, silences, onsets (hits, impacts, clicks), tempo and beat grid, and how many cuts land on a beat (when `style` ran first). Returns a spectrogram picture: rising sweeps are risers or whooshes, vertical lines are hits, horizontal bands are tones and music beds. Writes audio-*.json and adds beats to motion-spec.json.
| Parameter | Type | Description |
|---|---|---|
source * | string | The video: a link (YouTube and other sites), a path to a local file, or `inbox` for the newest file in the inbox folder. |
end | Range end (default the end, at most 10 minutes at a time). | |
start | Range start: seconds (12.5) or M:SS(.mmm) (default 0). |
export Starter project from the reference
Turns the reference's motion-spec.json into a starter project for a renderer: `hyperframes` (index.html + one scene per shot with GSAP eases), `remotion` (Sequences per shot with Easing.bezier), `css` (tokens, keyframes and a preview page), `after-effects` (framelens-reference.jsx: run it in After Effects to build the comp with eased keyframes and cut/beat markers), `lottie` (reference.json with solids, placeholder shapes and bezier easing) or `hypit` (references/<slug>/ANALYSIS.md, TIMELINE.md and transcript.json plus HANDOFF.md for the Hypit video tool, filled from the workspace notes). It c…
| Parameter | Type | Description |
|---|---|---|
source * | string | The video: a link (YouTube and other sites), a path to a local file, or `inbox` for the newest file in the inbox folder. |
target * | string | Renderer to write for. |
compare Compare a render with the reference
Checks how close a render is to the reference: duration, cuts matched within 3 frames (missing, extra, late), palette distance, and picture similarity over time with the least similar moments shown side by side. Writes COMPARE.md to the reference's workspace. Fix what it names, render again and compare once more.
| Parameter | Type | Description |
|---|---|---|
reference * | string | The reference video. |
render * | string | Path to the rendered video to check. |
boundaries Find where the picture changes
Samples the picture and scores how much each sample differs from the previous one. High scores are cut or flash candidates (not editorial labels: check them with `frames` every_frame around each). Also reports how dynamic the video is overall.
| Parameter | Type | Description |
|---|---|---|
source * | string | The video: a link (YouTube and other sites), a path to a local file, or `inbox` for the newest file in the inbox folder. |
end | Range end (default the end of the video). | |
rate | number | Samples per second; 10 or more to time cuts precisely. |
start | Range start: seconds (12.5) or M:SS(.mmm) (default 0). | |
threshold | number | Score from which a change is listed (0–1). |
web Read a web page's animations
For animations on a live website: opens the page in a headless Chrome or Edge and reads every animation exactly (CSS animations and transitions, Web Animations, Motion, and GSAP when the page exposes it): target, duration, delay, easing curve and keyframes, including ones triggered while scrolling; they are recorded from the first frame, so motion that ends while the page loads counts too. Also reads the real fonts, sizes and colours, takes views down the page, and films the opening motion frame by frame. Writes motion-spec.json and STYLE.md (all values `measured`), so `export` works on it. Ne…
| Parameter | Type | Description |
|---|---|---|
url * | string | The page address (http or https); or `inbox`, or the path of a .framelens.json page reading saved by the Frame Lens browser extension. |
exact Exact animation data (Lottie, Rive, Figma)
Reads the animation parameters straight from the source file instead of measuring pixels: a Lottie file (.json or .lottie, a path or an http(s) link such as lottie.host), a Rive file (.riv, a path or a direct link to the .riv; rive.app pages are not read) or a Figma prototype link with node-id. Reports the composition, every move with its exact cubic-bezier curve, duration and values, the palette, fonts and text, and lists what could not be evaluated (expressions). Writes motion-spec.json and STYLE.md (plus RIVE.md with artboards, animations and state machines for Rive) to the workspace in the…
| Parameter | Type | Description |
|---|---|---|
export | string | Also write a starter project for this renderer. |
figma_json | Figma JSON: a /v1/files/:key/nodes response or get_motion_context output. Use instead of `source`. | |
source | string | Path or http(s) link to a Lottie .json/.lottie or a Rive .riv file, or a figma.com link with node-id. |
summarize_youtube_video Summarize a YouTube video
Summarizes a YouTube video from its frames and audio (sees slides, code, UI and on-screen text, not just captions). Use start/end for one part of the video.
| Parameter | Type | Description |
|---|---|---|
youtube_url * | string | YouTube video link (watch, youtu.be, shorts, live or embed) or the 11-character video ID. |
detail | string | "low" sends frames at low resolution. It saves tokens only on Gemini 2.5 models; Gemini 3 and newer treat it like the default. |
end | Analyze up to this point. Same formats as `start`. | |
response_language | string | Language of the answer, e.g. "Russian". By default the language of the question, otherwise English. |
start | Analyze from this point on. Seconds (90), MM:SS (1:30) or H:MM:SS (1:02:03). | |
summary_length | string | short: 3-5 sentences; medium: overview + timestamped key points; long: detailed sections with visuals. |
ask_about_youtube_video Ask about a YouTube video
Answers a question about a YouTube video using its frames and audio, with timestamps as evidence. Ask specific questions (what is on the slide at 4:10, which settings are clicked, what numbers are shown). Without a question it returns a detailed description.
| Parameter | Type | Description |
|---|---|---|
youtube_url * | string | YouTube video link (watch, youtu.be, shorts, live or embed) or the 11-character video ID. |
detail | string | "low" sends frames at low resolution. It saves tokens only on Gemini 2.5 models; Gemini 3 and newer treat it like the default. |
end | Analyze up to this point. Same formats as `start`. | |
question | string | The question. Omit it to get a detailed description of the video. |
response_language | string | Language of the answer, e.g. "Russian". By default the language of the question, otherwise English. |
start | Analyze from this point on. Seconds (90), MM:SS (1:30) or H:MM:SS (1:02:03). |
extract_key_moments Extract key moments
Lists the most important moments of a YouTube video with exact timestamps, titles, descriptions and links that open the video at each moment.
| Parameter | Type | Description |
|---|---|---|
youtube_url * | string | YouTube video link (watch, youtu.be, shorts, live or embed) or the 11-character video ID. |
detail | string | "low" sends frames at low resolution. It saves tokens only on Gemini 2.5 models; Gemini 3 and newer treat it like the default. |
end | Analyze up to this point. Same formats as `start`. | |
number_of_moments | integer | How many moments to return (1-50, default 5). |
response_language | string | Language of the answer, e.g. "Russian". By default the language of the question, otherwise English. |
start | Analyze from this point on. Seconds (90), MM:SS (1:30) or H:MM:SS (1:02:03). |
get_video_transcript Transcribe a YouTube video
Timestamped transcript of what is said in a YouTube video, with speaker labels, plus (optionally) the meaningful text shown on screen. Made by Gemini from the audio and frames, so it works without captions. For videos longer than about 30 minutes, request parts with start/end.
| Parameter | Type | Description |
|---|---|---|
youtube_url * | string | YouTube video link (watch, youtu.be, shorts, live or embed) or the 11-character video ID. |
detail | string | "low" sends frames at low resolution. It saves tokens only on Gemini 2.5 models; Gemini 3 and newer treat it like the default. |
end | Analyze up to this point. Same formats as `start`. | |
include_on_screen_text | boolean | Also list text shown on screen (slides, titles, code). |
start | Analyze from this point on. Seconds (90), MM:SS (1:30) or H:MM:SS (1:02:03). |
list_supported_models List Gemini models
Lists the Gemini models available to the configured API key and marks the one in use. Useful after a model error.