JasonS09 / comfy_sd_krita_plugin

Make AI art between canvas and nodes with Krita.
MIT License
148 stars 7 forks source link

Blank Output #39

Open JohnnyJae opened 9 months ago

JohnnyJae commented 9 months ago

Hey, I decided to try this out today, but I get a blank output every time. I see it in the terminal that it's actually going through all the steps of generating an image every time, but the layer is always blank. What could I be doing wrong?

Jongulo commented 9 months ago

Also getting this, live preview is showing the image but it doesn't send it to the canvas.

JasonS09 commented 9 months ago

Can I see a screenshot of the resulting layer? It's working for me.

Jongulo commented 9 months ago

Can I see a screenshot of the resulting layer? It's working for me.

It seems to be working fine for me now? Will update if I can figure out why it wasn't putting anything on the canvas before.

jorijoo commented 6 months ago

Confirming this still being an issue.

First reproduction

image

I restored this file after a Krita crash caused by 4 consecutive "Start Generating" commands. Two of which are visible as Unnamed Groups in the image. After recovery only the first image produced a result as layers, but Live Preview shows the real image and is correctly stored in ComfyUI's outputs folder.

Second reproduction:

image

This time it the bug was caused by 2 consecutive "Start Generating" commands without the first one being finished. The second one became the image being copied to newer layers.

Third

File -> New -> (same canvas)

image

The image from the last file is still replacing the image generated by SD.

Fourth

image

I think I figured it out. When generating two images on top of each other the output to layer/layer group gets stuck on the last produced image. In this last reproduction I pressed "Start Generating" twice to begin with. First two generated layers are ok but the rest are copies of the second one.

Specs

Software

Windows 11 Pro x64 23H2 22631.3296 Krita 5.2.2 Python 3.11.6 ComfyUI Revision: 2021

Hardware

Nvidia GeForce GTX 1060 6GB

B450M Steel Legend MB AMD Ryzen 7 3700X 8-Core Processor 3.6 GHz 32GB RAM