1.0.0 • Published 1 year ago

slides-autovideo v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

AutoVideo

This repository automatically generates videos from Google Slides. Basically, it records each slide, reads the speaker notes+sends them to 11 labs to generate audio, then puts everything together. Using these slides: https://docs.google.com/presentation/d/1kaTRgWutGXQz-AQAI8UJJTXqmbPnDAd2D9Cx9nRVlUU/edit#slide=id.g2c4cdbb6149_0_395

Set up

run npm i create a .env file in the project directory, with the contents ELEVEN_LABS_API=<YOUR_KEY_HERE> additionally add a PRESENTATION_ID and 11labs VOICE_ID (for a default voice use 21m00Tcm4TlvDq8ikWAM) change the slideshow by modifying the PRESENTATION_ID in config.js if needed

Scripts

Run the main script, npm start. A browser should open up, select a google account, click Advanced, click Go to project, click continue, and wait for the script to finish (you can moitor the console for progress). Then, to delete all generated files, run npm run cleanup.