This Python program is designed to create short videos. It utilizes several API keys and environment variables for smooth functionality.
Before running the program, make sure to set up the following environment variables:
OPENAI_API_KEY
: Your OpenAI API key for accessing OpenAI services.ELEVENLABS_API_KEY
: API key for Eleven Labs integration.STABLEDIFFUSION_API_KEY
: API key for Stable Diffusion service.DATABASE_URI
: URI for the database used by the program.CERT
: Certificate information (if applicable).DECRYPTED_KEY
: Decrypted key for secure communication.MUSIC_PATH
: Path to the directory containing music files.FFMPEG_PATH
: Path to the FFMPEG executable.
-
Clone the repository:
git clone https://github.com/your-username/your-repo.git cd your-repo
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
export OPENAI_API_KEY=your_openai_key export ELEVENLABS_API_KEY=your_elevenlabs_key export STABLEDIFFUSION_API_KEY=your_stablediffusion_key export DATABASE_URI=your_database_uri export CERT=ssl_file_path export DECRYPTED_KEY=ssl_key_path export MUSIC_PATH=your_music_path export FFMPEG_PATH=your_ffmpeg_path
-
Run the program:
python app.py
- Make sure you have a stable internet connection before running the program.
- Check the documentation for each API/service to understand their usage and limitations.
This project is licensed under the MIT License. See the LICENSE.md file for more information.