CSAI with OpenAI error

Within CSAI, when attempting to prompt OpenAI to create “Text to Image” I keep getting the following error code:

{“error”:{“message”:“Unknown parameter: ‘style’.”,“type”:“invalid_request_error”,“param”:“style”,“code”:“unknown_parameter”}}

I can go directly to my OpenAI account and the same Text to Image prompt works fine, but I’d really like to do it in Cornerstone using CSAI.

What am I doing wrong?

Hey @sigmadog,

Is your OpenAI API key correct? If so, there could be other settings causing the issue so we need to check your setup. Kindly provide the following info in a Secure Note

  • WordPress Login URL
  • Admin username and password

You can find the Secure Note button at the bottom of your posts.

The OpenAI API appears to be correct. I’ve used it for generating text within CSAI.
Secure Note on the way.