# Summarize a YouTube playlist with AI

**Use case:** 

Turn any YouTube playlist into concise AI summaries with timestamped chapters per video — ideal for courses and research.

## Input

```json
{
  "urls": [
    "https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi"
  ],
  "language": "en",
  "outputFormats": [
    "text"
  ],
  "includeChapters": true,
  "includeSummary": true,
  "includeKeyQuotes": false,
  "chunkSize": 512,
  "chunkOverlap": 64,
  "maxVideos": 10,
  "incrementalMode": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "videoId": {
    "label": "Video ID",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "channel": {
    "label": "Channel",
    "format": "object"
  },
  "duration": {
    "label": "Duration (s)",
    "format": "number"
  },
  "views": {
    "label": "Views",
    "format": "number"
  },
  "publishedAt": {
    "label": "Published",
    "format": "string"
  },
  "language": {
    "label": "Language",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Transcript API - RAG Chapters, Summary & Chunks](https://apify.com/webdatalabs/youtube-transcript-rag) with a specific input configuration. Visit the [Actor detail page](https://apify.com/webdatalabs/youtube-transcript-rag) to learn more, explore other use cases, and run it yourself.