openai-openapi
openai-openapi copied to clipboard
images which are originally transparent is not edited but completely sent as a new
i am trying to edit image using amazing dalle-2
model provided by openai and using masking as suggested in this doc.
however when original image is having transparent pixels itself, dalle-2 sends completely new picture instead of getting properly older one and then try to generate based on image and mask.
For example I used this image as main image file
and then this image as a mask
and used prompt something as 17 years old child birthday symbol and i expect it would give something like existing letters and produce 7 from that but it did not because 12 years old image has transparency except two letters 1 and 2.
here is what i eventually ended up getting. To me these letters looks very horrible and if we look closely, it looks like it has the older image letter in the background and somewhat transparency of black which was earlier completely transparent.
Is there anyway we can instruct it not to do anything where original image was already transparent?