Making API calls to DALLE inside of a Plugin

My previously approved plugin is now being rejected due to us using our own custom api and models to create images; currently only DALLE is allowed.
So we tried to change and use DALLE but since the dalle api is not on our own servers, we get this message when trying to install the plugin

None of the provided servers is under the root origin https://ourdomain.com
Server URL https://api.openai.com is not under the root origin https://ourdomain.com; ignoring it

whats the best way to handle this?

1 Like

Code on your server under your domain will need to call the API.

that’s what I figured but didn’t know if there a more simple way. Got it updated and working. thanks