Alekhyaa is a text-to-video tool. Simply provide a script, and it will create a video with synchronized audio. If you provide video clips, Alekhyaa will adjust and concatenate them based on the audio content.
- Python 3.10 or higher
-
Clone the repository:
git clone https://github.com/your-username/alekhyaa.git cd alekhyaa
-
Install the required packages:
pip install -r requirements.txt
-
Set up environment variables:
- Create a
.env
file in the root directory of the project. - Copy the contents of
env.template
into the.env
file:GEMINI_API_KEY=gemini_key_here UNSPLASH_CLIENT_ID=unsplash_client_id_here // to get the images based on the script content if not videos are imported OPENAI_API_KEY=openai_api_key_here // if you want to use the GPT
- Replace the placeholder with your actual API key.
- Create a
- Run the main script:
python main.py
This will open a webpage where you can upload an image or video and provide a script. Alekhyaa will process the inputs and generate the final video.