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.

Update to CSAI 1.0.9 and you should be all good to go. Let us know if you have any issues and have a great day.

Yep. It works now. Thank you!

1 Like

You are most welcome, @sigmadog.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.