When the 4o Image task is completed, the system will send the result to your provided callback URL via POST request
When you submit an image generation task to the 4o Image API, you can use the callBackUrl parameter to set a callback URL. The system will automatically push the results to your specified address when the task is completed.
The callback mechanism eliminates the need to poll the API for task status. The system will proactively push task completion results to your server.
Webhook Security: To ensure the authenticity and integrity of callback requests, we strongly recommend implementing webhook signature verification. See our Webhook Verification Guide for detailed implementation steps.
Bad Request - Image content in filesUrl violates content policy, image size exceeds maximum limit, unable to process provided image file, content flagged by OpenAI as violating policies
451
Download Failed - Unable to download image from the provided filesUrl
500
Server Error - Please try again later, failed to get user token, failed to generate image, GPT 4O failed to edit the picture