tianlang0704 / ComfyUI-StableProjectorzBridge

A bridge for stable projectorz
10 stars 2 forks source link

Buggy behavior, this blue texture from the projectorz controlnet input #6

Closed KillyTheNetTerminal closed 2 days ago

KillyTheNetTerminal commented 2 weeks ago

image

tianlang0704 commented 2 weeks ago

The blue texture means it didn't find the image sent from Projectorz. Since the Projectorz Parameter didn't show any value, the problem might be Projectorz not sending anything. Please make sure your run is triggered with Projectorz's Gen Art button, and there's no error report in the console.

KillyTheNetTerminal commented 1 week ago

image hi! some times it works some times it's doesn't which workflow I should use?

KillyTheNetTerminal commented 1 week ago

image

KillyTheNetTerminal commented 1 week ago

when I try to use the painting mode

KillyTheNetTerminal commented 1 week ago

image

KillyTheNetTerminal commented 1 week ago

Traceback (most recent call last): File "C:\Users\WarMa\miniconda3\envs\com\Lib\site-packages\aiohttp\web_protocol.py", line 452, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\WarMa\miniconda3\envs\com\Lib\site-packages\aiohttp\web_app.py", line 543, in _handle resp = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\WarMa\miniconda3\envs\com\Lib\site-packages\aiohttp\web_middlewares.py", line 114, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\server.py", line 43, in cache_control response: web.Response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\server.py", line 55, in cors_middleware response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "E:\ComfyUI\custom_nodes\ComfyUI-StableProjectorzBridge\apis.py", line 107, in img2img_handler await ws.run_prompt(random_id) ^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: run_prompt() missing 1 required positional argument: 'json_data' (how can I use inpainting?)

tianlang0704 commented 1 week ago

It's fixed now. There was a bug with inpaint. The get progress 404 warning is also fixed. And I added sample workflow for generating and inpainting in the ReadMe file. Thanks for letting me know the problem. Pleaese have a try and see if it's working.

KillyTheNetTerminal commented 1 week ago

Thanks for this very usefull node, it workd better now!

KillyTheNetTerminal commented 1 week ago

image is used only for inpainting right? there is a wey to switch inside the workflow automatically between generate texture and inpainting modes?

tianlang0704 commented 1 week ago
  1. Yes, Projecctorz Init Input is only used for receiving inpaint base image and mask sent from Projectorz.
  2. ControlNet/Inpaint/Inpaint+controlnet are entirely different workflows, so I use workflow manager for quickly switching between them. There might be some custom nodes for control flow but I don't think ComfyUI is not very good at it, It'll become very complicated very quickly. You can still try though. :D
KillyTheNetTerminal commented 1 week ago

yep I think will be very usefull have a custom node that let you make floating buttoms from comfyui workflows, I mean like floating buttom out of the web browser to change workflow, something like make the mute groups node from https://github.com/rgthree/rgthree-comfy?tab=readme-ov-file#fast-muter but floating on top of other applications