A simple script that i made to generate automaticly Tiktok "compiliation of images" videos. Add titles, downloaded images and sounds, and make thousands of videos in minutes !
- Generate random ready-to-upload Tiktok videos with one command.
- Customize sounds, images in background and opening title videos of the produced videos.
- Option to delete the images used, so you can't have two time an image in different videos.
To install and run TiktokGenerator, you will need to have :
Note : You also may have to create empty folders used by the script in his location : "Intros", "Sounds", "Images" and "Output".
The main script is script_compil.py and is in Python. The file script_conseils.py is another test that i made for another format that doesn't work well, so feel free to use it or not.
To use the script, simply follow these steps :
You can choose a specific subreddit for example, and use a tool like Bulk Downloader For Reddit. Place all the images in a folder "Images" next to the scripts.
Note : I suggest you to rename all your images with the same pattern and without spaces with PowerRename or equivalent.
And place it in appropriate folders ("Intros" and "Sounds" folders). 10 differents songs / titles is a good number. You can make the opening videos on a simple video tool like Capcut.
python -m script_compil
You will then be prompted to select if you want to delete used images. Enter y or n and let the magic happen.
Here is an example of a random generated video with the script : @disturbing_spaces