This repository contains a simple console application written in .NET 8 to demonstrate how to generate images using the DALL-E 3 API provided by OpenAI.
You need to create an OpenAI account on this website. You have to pay to use the API so make sure that you add your payment information. After that, you can create an API Key here for further use.
Just run the app and follow the steps displayed on the screen.
Here you can see the console application in action:
Here is the generated image of a skyline from New York City:
If you are more interested into details, please see the following medium.com post: