Repo: https://github.com/kaajoj/OpenAIApp
To run it, you need to provide your own API key.
Sample code with request to generate new image: https://github.com/kaajoj/OpenAIApp/blob/cc1881a985365683c90484e9cb2dca7c1361b810/OpenAIApp/OpenAI.cs#L52
Sample results of image generation:
Big dogs flying a plane to Mars
Dogs like top gun