Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 720 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 720 Bytes

subtitle-generator

Generate subtitles for youtube videos for free with https://text-generator.io

Setup

clone this repo

git clone [email protected]:TextGeneratorio/subtitle-generator.git 
cd subtitle-generator

install dependencies

virtualenv .env
source .env/bin/activate
pip install -r requirements.txt

Usage

TEXT_GENERATOR_API_KEY=YOUR_API_KEY_HERE python subtitle_generator.py \
    --video_url "https://www.youtube.com/watch?v=uJgzCQYVv44&ab_channel=LeviTheGiant" \
    --output_file output.srt

This creates a subtitles file that can be used in Youtube or other video platforms. This is extremely affordable and normally within the free tier of the Text Generator API.