To use this asset, create an account in OpenAI's website and fetch an API Key for free.
You will need to pass your APIKey value for the actions that this asset offers.
For the Image generation API, you just need to pass as input your text prompt, the amount of images you want to generate in one-go, and the size of those images (for example "512x512")
The method will return a text list with the URL paths to those newly created images.
For the Completions API, you will have to pass the model that better suits your needs, as well as you text prompt, of course. To check the models available, please refer to this documentation
https://beta.openai.com/docs/api-reference/completions
Any question feel free to ask me directly. I plan to improve this asset in the future, adding error handling and more methods!