Dall-e-2 code "Bad request error"

First: are you pasting “print(response)” to a Python REPL environment at the same time as the response function?

Got to do one at a time. Maybe it is the technique that failed.

You can also move to dall-e-3 if the service is being super-flaky with soft deprecation.

Need some reliable code beyond your wishes? Try here: