Demo of OpenAI API for GPT image generation Setup https://platform.openai.com/docs/guides/images pip install --upgrade openai pip install pillow Using the "openai" library > python -m demo.openai