AI-Poetica is a robust and innovative video creation suite that leverages artificial intelligence to generate engaging videos with text-to-speech. Whether you need a marketing jingle, a poetic narration, or a unique multimedia experience, AI-Poetica has got you covered!
- AI-Powered Text Generation: Utilizes OpenAI's GPT models to create compelling and creative content.
- Image Integration: Fetches relevant images from Unsplash to visually enhance the video.
- Text-to-Speech Conversion: Transforms the generated text into audible speech, making the content more accessible and engaging.
- Video Composition: Seamlessly combines images, text, and audio into a cohesive video clip.
- Python 3.x
- OpenAI API Key
- Unsplash API Key
- ImageMagick Binary
- Clone the repository.
- Install the required libraries using the command:
pip install openai requests gtts pydub moviepy python-dotenv
- Add your OpenAI and Unsplash API keys to a
.env
file.
- Modify the
humanprompt
andkeywords
variables in the script as per your requirement. - Run the script:
python main.ipynb
- The final video will be created in the specified output directory.
humanprompt = "Waterbottle of joy"
keywords = "water, bottle, joy"
create_video_from_prompt(aiprompt)
This project is licensed under the MIT License. See the LICENSE
file for details.
For support and inquiries, please reach out to harsh.avinash.official@gmail.com.