Generate Podcast Chapters
Generate YouTube-style chapter timestamps for podcast episodes. WhisperX detects where speech starts and stops, then an LLM summarizes each segment into a chapter title.
Transcribe audio files and generate summaries automatically using Whisper and LLMs.
Audio · Notebook · Updated
Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.
You create a pipeline where audio is transcribed first, then the transcript is summarized. Both steps run automatically when you insert new audio files.
pip install pixeltable openai-whisper openai
OPENAI_API_KEYwhisper.transcribe()openai.chat_completions()pxt.create_table()add_computed_column()insert()# Step 1: Transcribe with local Whisper (uses GPU if available)podcasts.add_computed_column(transcription=whisper.transcribe(podcasts.audio, model='base.en'))
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Generate YouTube-style chapter timestamps for podcast episodes. WhisperX detects where speech starts and stops, then an LLM summarizes each segment into a chapter title.
Generate natural-sounding audio from text using OpenAI's text-to-speech models.
Extract the audio track from video files for transcription, analysis, or processing.
Transcribe speech with WhisperX in Python, identify speakers, and search the transcript with word-level timestamps.