Actions12
- Channel Actions
- Chapter Actions
- Chat Actions
- Playlist Actions
- Speakers Actions
- Summarize Actions
- Transcript Actions
Summarize → Generate Summary
AI-generatedSummary
Generate an AI-powered summary of a YouTube video transcript
Inputs
- videoId (required) — YouTube video ID or full URL
- summaryFormat — Format of the generated summary: Brief (2-3 sentences), Detailed (comprehensive with key points), Bullet Points, or Chapters organized by video chapters. Default: detailed.
- summaryLength — Desired length of the summary: Short (100-200 words), Medium (200-400 words), or Long (400-600 words). Default: medium.
- additionalOptions — Optional additional instructions for the AI summarizer. Includes Language (language code, leave empty for same as video) and Custom Prompt (additional instructions for the AI).
- retryOptions — Retry behavior on failure. Max Retries (0-10, default 3) and Initial Delay in milliseconds (default 1000).
Output shape
AI-generated summary data in the requested format and length, returned as the response body from POST /api/v1/summarize.
The operation sends a POST request to /api/v1/summarize with the video ID, selected format, and desired length. If language or custom prompt are provided in additionalOptions, they are included in the request body. Retry options apply to all AI operations.
Examples
Example 1: Generate a brief, short summary of a video
videoId: 'dQw4w9WgXcQ', summaryFormat: 'brief', summaryLength: 'short'