For gpt-image-2.6-all 2K/4K, don’t trust the size in the response
Author’s note: The 2K/4K tiers of gpt-image-2.6-all are upscaled tiers. The response may not echo size, and the actual pixel dimensions are occasionally off. This article explains why, and shows how to save the image, read its real width and height, and only then lay it out. A lot of people wire an image generation…
