When editing an existing image, the backgroundMode always returns “in-progress” as response (using Responses API) and never completes. If I am generating an image from a prompt, then the background mode does complete and works as expected. In my OpenAI logs I can see that the image to be edited is uploaded, but an output is never generated. I am using Base64 encoding in the responses API. I also tried uploading a file and using its fileId and in that case I immediately get a “Failed” response from the API.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Background Mode for image generation - gpt-image-1 model | 3 | 139 | June 11, 2025 | |
Image Edit API returning exact original | 2 | 634 | December 31, 2024 | |
Python openai.Image.create_edit only returning 504 | 2 | 919 | December 15, 2023 | |
Images/edit HTTPError: Response code 415 (UNSUPPORTED MEDIA TYPE) | 8 | 4267 | December 18, 2023 | |
Consistent images/edit server_error | 0 | 562 | December 15, 2023 |