Skip to content

Use photos of an Instagram account to create a short video

Notifications You must be signed in to change notification settings

LuanEdCosta/insta-to-video

Repository files navigation

🎞️ Instagram To Video

Use photos of an Instagram account to create a short video.

You can upload this short video to TikTok, Youtube, Kwai, or any other platform.

β˜‘οΈ Setup

Choose one option:

1) Run the setup.py file located in the root directory:

python setup.py

OR

2) Create a copy of the .env.template file, rename it to .env, and type your Instagram username and password.

πŸ“ƒ Usage

python src/main.py -m youtube_video_id -i instagram_username -d duration_in_seconds -n number_of_photos

Options

Option Type Required Description
-m, --music string βœ”οΈ Youtube video ID or URL
-i, --instagram string βœ”οΈ Instagram username. Ex: nasa
-d, --duration float ❌ Duration of the video in seconds
-n, --number_of_photos integer ❌ Number of photos

πŸ“ Examples

Check out the examples folder to see videos created using this project.

🀝 Contribution

Every contribution is appreciated ❀️. Check out the issues tab to see how to contribute.

πŸ‘¨ Author

Luan Eduardo da Costa | Follow me on Linkedin