Animate your photos to the rhythm of your favorite audio tracks.
Photo Beats was created to simplify short video creation for photographers, artists, and anyone who loves visual storytelling but dislikes the hassle of editing. With just a few clicks, you can upload photos and audio, and Photo Beats will generate a perfectly synced video to the beat of your chosen track.
- Effortless Photo Upload: Supports
.png
and.jpg
file formats. - Audio Integration: Upload audio tracks in
.mp3
or.wav
formats. - Beat Synchronization: Your photos will transition in sync with the rhythm of your audio.
- Instant Preview: Review your generated video before downloading.
- One-Click Download: Export your video to share on social platforms or save for later.
Free Live Demo on Streamlit Community Cloud
Follow these steps to set up Photo Beats locally and start creating your videos.
- Python 3.8+
- Streamlit
- Install required libraries from
requirements.txt
.
-
Clone the repository:
git clone https://github.com/your-username/photo-beats.git cd photo-beats
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
streamlit run app.py
-
Access the app:
Open your browser and navigate tohttp://localhost:8501
.
- Upload your photo files (
.png
or.jpg
). - Upload an audio file (
.mp3
or.wav
). - Click Submit to process your video.
- Preview your video to ensure it meets your expectations.
- Download your final video to share or save.
Example Reel by @TrippingCherry on IG
- Future Features:
- Add support for custom photo transition effects.
- Add sample audio library.
- Add mp3 extraction from video url
- Enable text overlays on photos.
- Provide different video output resolutions.
- Include cloud-based hosting for easier sharing and performance improvement.
Contributions are welcome! If you have ideas or enhancements, feel free to open an issue or submit a pull request.
- Fork the repository.
- Create a new branch for your feature or bugfix:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add feature-name"
- Push to your branch:
git push origin feature-name
- Open a pull request in the main repository.
This project is licensed under the MIT License.
- Inspired by the love of photography and music.
- Sign up for my photography newsletter:
- Thanks to the creators of Streamlit, MoviePy, and Librosa.