π₯ Convert ArXiv research papers into engaging video presentations automatically!
- π Fetches papers directly from ArXiv using paper ID
- π€ Uses AI (Gemini) to generate video scripts from paper content
- π¬ Creates multi-scene videos with text overlays
- π Generates narration using text-to-speech
- π± Supports both landscape (YouTube) and portrait (Shorts/Reels) formats
- π΅ Optional background music support
π Coming Soon:
- βοΈ Script Editing Interface - Review and modify AI-generated scripts before video creation
- πΌοΈ Automatic Figure Integration - Smart extraction and placement of paper figures, charts, and diagrams
- π¨ Manual Graphics Upload - Add custom images, logos, and visual elements to enhance presentations
- π Multiple AI Voices - Choose from different TTS voices and speaking styles
- π Advanced Templates - Pre-designed video templates for different research fields
- π Batch Processing - Generate videos for multiple papers simultaneously
- π Multi-language Support - Generate videos in different languages
uv sync- Copy the environment template:
cp .env.template .env- Edit
.envand add your API keys if needed (for Gemini or other LLM models)
- Start the Streamlit app:
streamlit run main.py-
Open your browser to the displayed URL (usually
http://localhost:8501) -
Enter an ArXiv paper ID (e.g.,
2401.06015) -
Choose video format:
- Uncheck for landscape YouTube format (16:9)
- Check for portrait Shorts/Reels format (9:16)
-
Optionally upload background music (MP3 format)
-
Click "Generate Video" and wait for processing
-
Download your generated video!
- Python 3.11+
- Internet connection (for fetching papers and AI processing)
- Sufficient disk space for temporary video files
arxiv- Fetching papers from ArXivpymupdf- PDF processing and figure extractiongtts- Text-to-speech for narrationmoviepy- Video editing and compositionstreamlit- Web interfacelangchain- LLM integrationrequests- HTTP requestspillow- Image processingpython-dotenv- Environment variable management
- Import errors: Make sure all dependencies are installed correctly
- MoviePy errors: Try installing with
pip install moviepy[optional] - Font errors: Install system fonts or use the fallback font options
- Memory issues: Try with shorter papers or reduce video quality
- "Could not add background music": The background music file may be corrupted or in an unsupported format
- "Error generating video": Check that all dependencies are properly installed and try again
Feel free to submit issues and enhancement requests!
MIT License - see LICENSE file for details
