Summarize podcasts and audio
Transcribe audio files and generate summaries automatically using Whisper and LLMs.
Updated Open in Colab
In this tutorial, we'll build an end-to-end workflow for creating and indexing audio transcriptions of video data.
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.
pip install pixeltable openai openai-whisper sentence-transformers spacy
OPENAI_API_KEYvideo.extract_audio()audio.get_metadata()whisper.transcribe()string.string_splitter()openai.transcriptions()pxt.create_table()pxt.create_view()insert()add_computed_column()add_embedding_index()from pixeltable.functions.video import extract_audiovideo_table.add_computed_column(audio=extract_audio(video_table.video, format='mp3'))video_table.show()
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Transcribe audio files and generate summaries automatically using Whisper and LLMs.
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.