extract_keyframes
Extract representative frames across a video timeline and merge them into a contact-sheet grid with inline base64 so vision models can inspect the whole video at once.
Instructions
Extract multiple representative frames across a video's timeline. In 'montage' mode, merges frames into a single contact-sheet grid image and inlines base64 for vision models to inspect the whole video at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of representative frames to extract across the video timeline. Default: 6. | |
| layout | No | Output format: 'montage' combines all frames into a single contact-sheet grid image for vision models; 'individual' exports separate frame images. Default: 'montage'. | montage |
| inputPath | Yes | Path to the source video file. | |
| outputPath | Yes | Destination image path (e.g. './keyframes_grid.png' or './frames/frame_%02d.jpg'). | |
| includeBase64 | No | Inline base64 image data in response for vision models. Default: true. |