GPT-4 API Image modify Return Issue

hi,
I use the GPT-4o API to modify images. After modification, the returned format is still an image, such as JPG or PNG.
When uploading, I use base64 encoding and provide a URL link to the API. Could you please tell me how the GPT API returns the image to me? I found that the GPT API may send the image link in URL format to Amazon S3 or Google Cloud Storage for me to download. Is this correct? Are there any other methods, such as directly providing me with a URL link?

Additionally, if the return is in base64 encoding, does it mean the entire encoding has to be returned? And be Extremely costly.

1 Like