Is it possible to make API calls to DALL-E

Is it already possible to make API calls to DALL-E ? If not, when will it be? Because i see already some products for generating art with AI.

That is not yet a feature.

Yes, there is. You can reverse engineer an get the API key from the console. Then use the NPM package to make requests.

1 Like

Is it the same api as GPT? Or do I need to sign up for something new for DALL-E? I keep getting a 403 error everytime I make a call.

This is the endpoint to use for DALL-E images.

POST https://api.openai.com/v1/images/generations

Weirdly enough I found this in the API Documentation. It’s a good resource for questions like this.
API Documentation for Images.

2 Likes

@flyblackbox please start a new thread with the code you are using rather than making duplicate posts in multiple threads. Double check the API docs linked above as well, don’t trust GPT generated code.

1 Like

My apologies on that, I’ll double check my code and start a new thread if I run into trouble. Thank you