One-call understanding of a single video: summary paragraph, key points, chapters, quotable lines with timestamps, transcript excerpt, and view stats.
When NOT to use
summarize_video(video_ref="https://www.youtube.com/watch?v=VIDEO_ID", depth="detailed")
Break down this talk — main ideas, chapter outline, and 3 quotable lines with timestamps: https://youtube.com/watch?v=...
summarize_video(video_ref="dQw4w9WgXcQ", depth="brief", include_timestamps=true)
| Parameter | Type | Default | Description |
|---|---|---|---|
| video_ref* | string | — | YouTube URL, youtu.be link, shorts URL, or 11-character video ID. |
| depth | brief | detailed | brief | brief = shorter summary; detailed = richer key_points and more quotes. |
| include_timestamps | boolean | true | Include timestamps on chapters and quotes. |
| languages | string[] | null | null | Preferred caption languages, e.g. ["en", "en-US"]. Auto-detect if null. |
Typical JSON/text structure in the result:
Summaries work best when captions exist (auto-generated or manual). If a video has no captions, you still get metadata and description-based summary, but chapters and quotes may be sparse. Check next_steps for guidance.
Metadata uses YouTube Data API units. Transcript portion of the summary does not count against Data API quota. See Quota & billing.