Update README.md
Browse files
README.md
CHANGED
|
@@ -11,9 +11,71 @@ pinned: false
|
|
| 11 |
short_description: ravi
|
| 12 |
---
|
| 13 |
|
| 14 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
short_description: ravi
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# README.md for HF Spaces
|
| 15 |
+
---
|
| 16 |
+
title: AI Video Generator
|
| 17 |
+
emoji: 🎬
|
| 18 |
+
colorFrom: blue
|
| 19 |
+
colorTo: purple
|
| 20 |
+
sdk: streamlit
|
| 21 |
+
sdk_version: 1.28.0
|
| 22 |
+
app_file: app.py
|
| 23 |
+
pinned: true
|
| 24 |
+
license: apache-2.0
|
| 25 |
+
models:
|
| 26 |
+
- stabilityai/stable-diffusion-2-base
|
| 27 |
+
tags:
|
| 28 |
+
- text-to-video
|
| 29 |
+
- video-generation
|
| 30 |
+
- stable-diffusion
|
| 31 |
+
- tts
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
# 🎬 AI Video Generator - Hugging Face Spaces Edition
|
| 35 |
+
|
| 36 |
+
Generate animated videos from text using AI models, optimized for Hugging Face Spaces with GPU support.
|
| 37 |
+
|
| 38 |
+
## Features
|
| 39 |
+
|
| 40 |
+
- 🎨 **AI-Powered Scene Generation**: Uses Stable Diffusion for creating scenes
|
| 41 |
+
- 🎙️ **Natural Voice Narration**: Edge-TTS for realistic voice synthesis
|
| 42 |
+
- ⚡ **GPU Acceleration**: Runs on free HF Spaces GPU
|
| 43 |
+
- 🎬 **Multiple Styles**: Cartoon, Anime, Realistic, Watercolor, Fantasy
|
| 44 |
+
- 📥 **Direct Download**: Export as MP4
|
| 45 |
+
|
| 46 |
+
## How to Use
|
| 47 |
+
|
| 48 |
+
1. **Enter Script**: Write your story in the text area
|
| 49 |
+
2. **Process**: Click "Process Script" to break into scenes
|
| 50 |
+
3. **Preview**: Review generated scenes
|
| 51 |
+
4. **Generate**: Create the final video
|
| 52 |
+
5. **Download**: Save your video
|
| 53 |
+
|
| 54 |
+
## Examples
|
| 55 |
+
|
| 56 |
+
Try these example prompts:
|
| 57 |
+
- Fantasy adventures
|
| 58 |
+
- Sci-fi stories
|
| 59 |
+
- Educational content
|
| 60 |
+
- Children's tales
|
| 61 |
+
|
| 62 |
+
## Technical Details
|
| 63 |
+
|
| 64 |
+
- **Image Generation**: Stable Diffusion 2 Base
|
| 65 |
+
- **Voice Synthesis**: Microsoft Edge-TTS
|
| 66 |
+
- **Video Processing**: MoviePy
|
| 67 |
+
- **GPU**: NVIDIA T4 (when available)
|
| 68 |
+
|
| 69 |
+
## Limitations
|
| 70 |
+
|
| 71 |
+
- Max video length: ~60 seconds
|
| 72 |
+
- Processing time: 2-5 minutes
|
| 73 |
+
- GPU availability may vary
|
| 74 |
|
| 75 |
+
## Credits
|
| 76 |
|
| 77 |
+
Built with ❤️ using:
|
| 78 |
+
- Hugging Face Diffusers
|
| 79 |
+
- Streamlit
|
| 80 |
+
- MoviePy
|
| 81 |
+
- Edge-TTS
|