- go into generate (
cd generate
) and runpython3 -m venv venv
, thensource venv/bin/activate
, and thenpip install -r requirements.txt
- now we can start the flask server. to do this run
python3 transcribe.py
- set all environment variables in
.env.example
in.env
with your own values. - we should now install the js deps with
npm i
. - inside generate/public/background, we must have the background video assets. At the bottom of this readme is the list of all the assets from a s3 bucket to download. Put all the videos in generate/public/background
- now, run
node localBuild.mjs
and boom, a video locally generated in no time (actually in some time, 5-7 minutes typically)!
note: you need to create your own eleven labs voices and copy their voice id's. If you want to use Joe Rogan, Jordan Peterson, Barack Obama, and Ben Shapiro's voice you can go into generate/voice_training_audio
to find the mp3 files to train your eleven labs voices with.
this is probably the most complex api to get set up, so if you want to be able to generate videos with ai images instead of google fetched images, you only need open ai api credentials, and not google credentials
- https://developers.google.com/custom-search/v1/introduction/
- https://programmablesearchengine.google.com/controlpanel/all
localbrainrot.mp4
put these assets in generate/background with the same name they have: https://brainrotbackground.s3.amazonaws.com/GTA-1.mp4 https://brainrotbackground.s3.amazonaws.com/GTA-2.mp4 https://brainrotbackground.s3.amazonaws.com/GTA-3.mp4 https://brainrotbackground.s3.amazonaws.com/GTA-4.mp4 https://brainrotbackground.s3.amazonaws.com/GTA-5.mp4 https://brainrotbackground.s3.amazonaws.com/GTA-6.mp4 https://brainrotbackground.s3.amazonaws.com/GTA-7.mp4 https://brainrotbackground.s3.amazonaws.com/GTA-8.mp4 https://brainrotbackground.s3.amazonaws.com/GTA-9.mp4 https://brainrotbackground.s3.amazonaws.com/MINECRAFT-0.mp4 https://brainrotbackground.s3.amazonaws.com/MINECRAFT-1.mp4 https://brainrotbackground.s3.amazonaws.com/MINECRAFT-2.mp4 https://brainrotbackground.s3.amazonaws.com/MINECRAFT-3.mp4 https://brainrotbackground.s3.amazonaws.com/MINECRAFT-4.mp4 https://brainrotbackground.s3.amazonaws.com/MINECRAFT-5.mp4 https://brainrotbackground.s3.amazonaws.com/MINECRAFT-6.mp4 https://brainrotbackground.s3.amazonaws.com/MINECRAFT-7.mp4 https://brainrotbackground.s3.amazonaws.com/MINECRAFT-8.mp4 https://brainrotbackground.s3.amazonaws.com/MINECRAFT-9.mp4 https://brainrotbackground.s3.amazonaws.com/TRUCK-0.mp4 https://brainrotbackground.s3.amazonaws.com/TRUCK-1.mp4 https://brainrotbackground.s3.amazonaws.com/TRUCK-2.mp4 https://brainrotbackground.s3.amazonaws.com/TRUCK-3.mp4 https://brainrotbackground.s3.amazonaws.com/TRUCK-4.mp4 https://brainrotbackground.s3.amazonaws.com/TRUCK-5.mp4 https://brainrotbackground.s3.amazonaws.com/TRUCK-6.mp4 https://brainrotbackground.s3.amazonaws.com/TRUCK-7.mp4 https://brainrotbackground.s3.amazonaws.com/TRUCK-8.mp4 https://brainrotbackground.s3.amazonaws.com/TRUCK-9.mp4