Convert text to speech
Generate natural-sounding audio from text using OpenAI's text-to-speech models.
Updated Open in Colab
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.
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 whisperx openai
OPENAI_API_KEYpxt.create_table()pxt.create_view()@pxt.udfinsert()add_computed_column()episodes.add_computed_column(transcription=pxtf.whisperx.transcribe(episodes.audio, model='tiny.en'))
One cell of the notebook, copied as it is. Open it in Colab for the rest.
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.
Convert speech to text locally using OpenAI's open-source Whisper model—no API key needed.