Although this was working ok for me until about a month ago I now find myself completely unable to produce portrait orientated images using the dall-e-3 api no matter what I do.
I have modified the prompt in a million different ways and followed countless suggestions found on the internet all to no avail.
I can only suggest that this is a bug. For my purposes which is to generate portrait aspect orientated images the product is now unusable.