A web application built with Flask that generates PowerPoint presentations using OpenAI's GPT-3.5 model and integrate images from Pexels.
Presentation Generator is a web-based tool designed to simplify the creation of PowerPoint presentations. Leveraging the power of OpenAI's GPT-3 model, it generates slide content based on a provided prompt, allowing users to focus on the structure and flow of their presentation rather than the content itself.
In addition to text-based slides, the application can optionally include images related to the generated content. These images are sourced from Pexels' extensive library using their API.
- Dynamic Content Generation: Automatically generates slide content based on user input prompt.
- Template Selection: Offers a variety of pre-designed templates for presentations.
- Customization: Allows users to customize the presentation title, presenter name, and number of slides.
- Image Integration: Optionally includes relevant images sourced from Pexels in the presentation slides.
- Conclusion and References Slides: Automatically generates conclusion and references slides based on the content.
-
Clone the repository:
git clone https://github.com/kibomamoses/Slideai.git
-
Navigate to the project directory:
cd slideai
-
Install dependencies:
pip install -r requirements.txt
-
Set up your API keys:
-
Obtain an API key from OpenAI and Pexels.
-
Create a
.env
file in the root directory and add your API keys:OPENAI_API_KEY=your_openai_api_key PEXELS_API_KEY=your_pexels_api_key
-
-
Run the Flask application:
python app.py
-
Access the application in your web browser at
http://localhost:5000
.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/new-feature
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/new-feature
). - Create a new Pull Request.
This project is licensed under the MIT License.