openai-connector
Service icon

OpenAI Connector

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 21 November 2022
 by 
5.0
 (1 rating)
openai-connector

OpenAI Connector

Documentation
1.0.0

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!