I reverse engineered GPT-image-2’s ratio system, if you are struggling to control the output ratio, use this chart
So it turns out GPT-image-2 is using a special type of ratio control, and you need to specify it in the prompt, there is no dedicated control in the API. To do so with the API, only the ratio itself won't work 90% of the time. You need to app…