This is built using an OpenAI public API.
A Secret Key is needed to be generated from below link for using the API.
https://beta.openai.com/account/api-keys
Once you have your own API Secret Key generated, set that Key to the "OpenAIKey" Site Property inside the 'TextToImage_CW' module.
Step 1:
Generate a Secret Key using the below URL
URL: https://beta.openai.com/account/api-keys
Step 2:
Assign the Site Property in the "TextToImage_CW" module. (Assign the above secret key value here)
Configuration is now completed.
You can now use this feature in your application.