Giving Bad Request for dalle's POST text to image generations API

Hello, I am using Dall-e API and would like to create images. But it is returning me a HTTP 400 (bad request).

For this API endpoint- https://api.openai.com/v1/images/generations

Since three days create Image API giving 400 bad request error, Earlier it was working fine.
Error response:-
StatusCode: 400, ReasonPhrase: ‘BAD REQUEST’, Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers: { Date: Sat, 04 Mar 2023 04:25:48 GMT Connection: keep-alive Access-Control-Allow-Origin: * OpenAI-Version: 2020-10-01 OpenAI-Organization: user-2php6m7063ka9qfssyugmicx X-Request-ID: dda6614fd663233c17bdbfffd19b081c OpenAI-Processing-Ms: 51 Strict-Transport-Security: max-age=15724800; includeSubDomains Content-Type: application/json Content-Length: 172 }

Hi @testinguser3002

Works fine for me using this prompt as well

Hello, I am using Dall-e API and would like to create images. But it is returning me a HTTP 400 (bad request).

Hope this helps.

:slight_smile:

Hi @ruby_coder ,

                         Even if i used another account  Secret key, still giving 400 bad request for image creation.

As i said earlier it was working fine.

… and it’s working fine now…

:slight_smile: