I've developed a library for the broader C++ developer community to access and make use of the OpenAI API. The library follows a simple, elegant syntax similar in style to that of the OpenAI Python library, openai.
The library offers access to each component of the API, be it from Images, Fine-tunes, or Embeddings, it can do it--and with ease. It also possesses utility functionality that allows for out-of-box downloading of generated images, setting of request proxies, and so on.
Finally, it contains highly-detailed documentation and code examples, as well as emphasizing secure usage of authorization information in the library.
You can find it here: https://github.com/D7EAD/liboai.
Enjoy!