Turn any video into a scroll-stopping Instagram/TikTok reel with AI-powered transcription, subtitles, and key highlights.
- π€ Upload videos (
.mp4,.mov,.avi,.mkv) - π§ Extract audio and transcribe using OpenAI Whisper
- π Generate timestamps and export subtitles in
.assformat - π Summarize & extract key reel-worthy moments with Google Gemini
- π₯ Convert video to 1080x1920 (reel format) with subtitles burnt in
- π All powered by a Streamlit app
- Frontend + Backend: Streamlit
- Transcription: OpenAI Whisper
- AI Analysis: Google Gemini API
- Video Processing: FFmpeg
- Language: Python
βββ uploads/ # Original uploaded videos βββ audio/ # Extracted audio files βββ transcripts/ # Generated transcripts & subtitles βββ reels/ # Final reel outputs app.py # Main Streamlit app
- Clone this repo
git clone https://github.com/username/AptPath_Reel.git cd AptPath_Reel - Install dependencies pip install -r requirements.txt
- Add your Gemini API Key to .streamlit/secrets.toml: GEMINI_API_KEY = "your_api_key_here"
- Run the app streamlit run app.py
π― Example Workflow Upload your video Audio is extracted β Transcribed via Whisper Key reel-worthy moments extracted via Gemini Video converted to 1080x1920 with subtitles Download and share your AI-generated reel π
π Future Enhancements π¨ Custom subtitle styles & fonts π§ Auto-clip highlights into short 30s reels βοΈ Cloud storage & one-click sharing π€ Multi-language support