in a few clicks
This Streamlit application extracts text from PDF files, generates TikTok scripts using AI, converts text to speech, and creates TikTok-style videos with overlaid content. Created for a bounty hackathon (re: https://x.com/the_jasonsamuel/status/1828082930813747579)
- PDF text extraction
- AI-powered (Claude) TikTok script generation
- Text-to-speech conversion
- Video creation with overlaid text and audio with CTA
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file with your Anthropic API key:ANTHROPIC_API_KEY=your_api_key_here
- Place video files in the
./videos
directory (for the video library)
- Run the app:
streamlit run main.py
- Upload a PDF file
- Generate TikTok content
- Edit the generated script
- Convert text to speech
- Select or upload a video
- Generate the final TikTok video