Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images which are originally transparent is not edited but completely sent as a new #250

Open
Shashank-Bhatt1 opened this issue May 6, 2024 · 0 comments

Comments

@Shashank-Bhatt1
Copy link

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
12jahre

and then this image as a mask
12jahreedited

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.
Screenshot 2024-05-06 190422

Is there anyway we can instruct it not to do anything where original image was already transparent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant