Image editing / inpainting with a mask for gpt-image-1 replaces the entire image

Please follow here for a new update:

Gpt-image-1 problems with mask edits - #41 by OpenAI_Support

OpenAI_Support:

We have plans to implement precise in-painting, however, cannot commit to any timelines right now. Please stay tuned for updates!.

Gpt-image-1 problems with mask edits - #37 by OpenAI_Support

OpenAI_Support:

We’d like to provide an update to everyone on this thread: the behavior observed with gpt-image-1 has unfortunately been confirmed as a known limitation. While the functionality performs as expected when using dall-e-2 - albeit with some compromise in image quality - the issue described here is indeed present with gpt-image-1 . We sincerely apologize for the inconvenience this may have caused.