response_format. Read the image from data[0].url.
Models: gpt-image-2-t, gpt-image-2.5-flare-t, gpt-image-2.5-sunburst-t, gpt-image-2.6-flare-t, gpt-image-2.6-sunburst-t.
Text to image
Image to image
Use the samePOST /v1/images/generations. Put your own public image URLs in image.