extract_keyframe
Extract a native 720p or 1080p HD keyframe at an exact timecode from a YouTube video without downloading full video bytes.
Instructions
Extract a native 720p or 1080p HD keyframe at an exact timecode (HH:MM:SS) via HLS m3u8 range-seek without downloading full video bytes.
Args: url: YouTube video URL. timestamp: Exact timecode string ('HH:MM:SS' or 'MM:SS', e.g. '00:15:30'). output_path: Optional output path (.jpg) or folder. Defaults to './frames/<video_id>_.jpg'. resolution: Target resolution height in pixels (720 or 1080). Defaults to 720.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| timestamp | Yes | ||
| resolution | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |