-
-
Notifications
You must be signed in to change notification settings - Fork 823
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
Problems using PNG with the API #282
Comments
same problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am having some issues using the Roop API with Automatic1111. I suspect I am reading in and/or sending the base64 image to the API incorrectly. When using the Roop API using my code, I seem to get results that are faces with black discoloring on them when a PNG file is used. When a JPG file is used, the images generated look good. When using the WebUI Gradio user interface, PNG and JPGs both work well. This leads me to believe I have poorly implemented the reading in of image files to send as base64 to the API. Any help would be appreciated!
With JPGs fed into API:
With PNGs fed into API:
The area of my code I suspect most is imageToBase64. I suspect that this is working fine for JPGs, but perhaps I am not handling it correctly for PNGs:
The text was updated successfully, but these errors were encountered: