The Video Generator App is a Streamlit-based application that allows users to generate story summaries and scripts based on provided topics using the OpenAI API, and then convert these scripts into videos using the NovitaAI API.
- Generate story summaries and scripts based on user-defined topics.
- Convert the generated scripts into videos using the NovitaAI API.
- Display and download the generated videos directly from the app.
- Python 3.8+
- Streamlit
- OpenAI
- Requests
-
Clone the repository:
git clone https://github.com/yourusername/video-generator-app.git cd video-generator-app
-
Install the required Python packages:
pip install -r requirements.txt
-
Run the Streamlit application:
streamlit run app.py
-
Open your web browser and go to http://localhost:8501.
-
Enter the story topic and click "Generate Story" to get the story summary and script.
![Screenshot 2024-05-21 at 1 25 15 PM](https://private-user-images.githubusercontent.com/100914015/332334807-4f7384ab-e43e-458a-aaad-3c9e967374f2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxMTE4MjksIm5iZiI6MTcyMjExMTUyOSwicGF0aCI6Ii8xMDA5MTQwMTUvMzMyMzM0ODA3LTRmNzM4NGFiLWU0M2UtNDU4YS1hYWFkLTNjOWU5NjczNzRmMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyN1QyMDE4NDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mZDMwNThiZWM5YmJmYTExM2E4OGQxZDBhZjgyZTgzZDQxZjBhNzM2YTFmMzQwMzZlNzVkZGIwOTNmMGE5YjkwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.iRv2aaSAsLDi6DX_Lp7kl-rJmDNm10id3d9VU-SkGdE)
- Copy the generated Task ID and use it to download the video.
In the sidebar, configure your API keys:
- Enter your OpenAI API key.
- Enter your NovitaAI API key.
- Contributions are welcome! Please fork the repository and submit a pull request.
- This project is licensed under the MIT License.