This Python notebook provides an exploration of the newest features offered by OpenAI's API, including DALL-E 3, GPT-4 Turbo, and GPT-4 Vision. Users will learn how to generate and analyze images and text using these advanced AI models.
- Python 3.8 or above
- An OpenAI API key
-
Clone the repository
Use Git to clone the project's repository.
git clone https://github.com/yourusername/openai-features-notebook.git
Install the openai
and python-dotenv
packages using pip.
pip install openai python-dotenv
Store your OpenAI API key in a .env
file in the project root with the following content:
OPENAI_API_KEY=your_api_key_here
Replace your_api_key_here
with your actual API key.