Sakshimalekar/text-to-video-agent
0
๐ฅ DreamMotion - Text to Video AI
A simple yet powerful web application that turns your text descriptions into short videos using AI. Built with Gradio and Replicate.
Features
- Text-to-Video: Generate videos from simple text prompts.
- Style Selection: Choose from various styles like Cinematic, Animation, Realistic, etc.
- Custom Duration: Control the length of the generated video.
- Responsive UI: Clean and easy-to-use interface.
- Video Preview & Download: Watch the generated video instantly and download it.
๐ ๏ธ Tech Stack
- Frontend: Gradio
- Backend/AI: Replicate API (Zeroscope Model)
- Language: Python
๐ How to Run Locally
Prerequisites
- Python 3.8 or higher
- A Replicate API Token (Get one at replicate.com)
Installation
- Clone the repository:
git clone https://huggingface.co/spaces/Sakshimalekar/text-to-video-agent
cd text-to-video-agent- Install dependencies:
pip install -r requirements.txt- Set up Environment Variables:
- Create a
.envfile in the root directory. - Add your Replicate API token:
REPLICATE_API_TOKEN=r8_YourTokenHere...- Or enter the token directly in the app UI.
- Run the App:
python app.py- Access the App:
- Open your browser and go to
http://localhost:7860.
๐ Deployment
This app is deployed on Hugging Face Spaces: ๐ https://huggingface.co/spaces/Sakshimalekar/text-to-video-agent
To deploy your own:
- Fork this Space on Hugging Face
- Go to Settings -> Variables and secrets and add
REPLICATE_API_TOKEN
๐ License
This project is for educational purposes.
