Auto-generate YouTube chapters with Gemini AI & YouTube Data API v3
Auto-Generate YouTube Chapters with AI-Powered Transcript Analysis Overview This workflow uses YouTube Data API v3 and Google Gemini 1.5 Flash AI to automatically generate timestamped chapters for videos by analyzing ...
Template notes
Auto-Generate YouTube Chapters with AI-Powered Transcript Analysis Overview This workflow uses YouTube Data API v3 and Google Gemini 1.5 Flash AI to automatically generate timestamped chapters for videos by analyzing SRT captions. It enhances viewer navigation, improves SEO , and saves creators time by automating manual tasks.
---
Prerequisites YouTube API Setup 1. Create a Google Cloud Project - Go to the [Google Cloud Console](https://console.cloud.google.com/). - Click Select a project > New Project and name it (e.g., "YouTube Chapters Automation") .
2. Enable YouTube Data API v3 - Navigate to APIs & Services > Library. - Search for "YouTube Data API v3" and click Enable .
3. Configure OAuth Consent Screen - Go to APIs & Services > OAuth consent screen. - Select External (public) or Internal (testing), then add required details (app name, support email) .
4. Generate OAuth 2.0 Credentials - Under Credentials, click Create Credentials > OAuth client ID. - Choose Web app, then download the JSON key file .
5. Add Credentials to n8n
Other Requirements - Google Gemini API: Configure access for the gemini-1.5-flash-8b-exp-0924 model by getting the api key.