Python openai.Image.create_edit only returning 504

This is the first time I am using the api for image generation- the first prompt I tried (a lengthy one, albeit true-) returned one 256x256 brand new image, which was really exciting. I am only getting 504 errors after that first generation however! is this normal?
note: I am now trying to update an existing image, although I have tried now 5 times and received a 504 timeout error every time, after about 60 seconds. my settings are n=1, and the input image and mask are both 32x32px. I have modified my prompt down to three words- still, nothing. any suggestions/is anyone else experiencing similar behavior? my internet signal is also quite bad.
.
.
.
openai.error.APIError: HTTP code 504 from API (

504 Gateway Time-out

504 Gateway Time-out


openresty/1.21.4.2

Welcome to the forum…

You can only generate/edit 256, 512, or 1024 images… 32x32 isn’t available.

1 Like