AI Story Video Generator
This module allows users to generate animated story videos using AI. It leverages Google's Gemini model to create stories and generate images for each scene, then combines them into a video.
Features
- Generate complete stories based on user prompts
- Create scene-by-scene storyboards
- Generate images for each scene using Gemini
- Compile images into an animated video
- Add background music and text overlays
- Export videos in MP4 format
How It Works
- User provides a story prompt and preferences
- AI generates a complete story with multiple scenes
- For each scene, an image is generated
- Images are compiled into a video with transitions
- Optional background music and text overlays are added
- The final video is available for download
Requirements
- Google Gemini API key
- FFmpeg for video processing
- Python libraries: moviepy, pillow, requests
Usage
Access this tool through the Streamlit interface by selecting "AI Story Video Generator" from the main menu.