I wanted to play with OpenAI in Ada programs so I wrote the OpenAI Ada library. I wrote one command line Chat-GPT example and another for image generation with DALL.E.
You can use it with Alire and the examples should easily be built with it. The caveat is that you need an API key from OpenAI service.
More details in the article: