video_frames
Convert video into visual frames for inspection. Use timestamps or uniform sampling to extract up to 12 images per call with size and quality controls.
Instructions
Extract frames from a video and return them as model-visible images. This is how you SEE a video's content. Works on local files and URLs (remote videos are fetched once at <=720p and cached).
Either pass explicit timestamps, or let count frames be sampled uniformly
across the duration (optionally restricted to a start/end window).
Capped at 12 frames per call; make additional calls for more coverage.
Args: source: Local file path or video page URL. timestamps: Comma-separated explicit times, e.g. '0:05, 1:30, 95.5'. count: Number of uniformly spaced frames when timestamps not given (1-12). start: Optional window start for uniform sampling (seconds or MM:SS). end: Optional window end for uniform sampling. max_dimension: Longest edge of each frame (default 768). quality: JPEG quality (default 75).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| count | No | ||
| start | No | ||
| source | Yes | ||
| quality | No | ||
| timestamps | No | ||
| max_dimension | No |