city96 / ComfyUI_NetDist

Run ComfyUI workflows on multiple local GPUs/networked machines.
Apache License 2.0
236 stars 26 forks source link

Two ComfyUI on the same machine with different CUDA device how to SAVE/LOAD image with URL? #17

Open alanhzh opened 4 months ago

alanhzh commented 4 months ago

I have two ComfyUI (one is 8188, another one is 8177 ) on the same machine with different CUDA device, I can't figure how to do the SAVE/LOAD image with URL, could you give us the example?

city96 commented 4 months ago

The load image URL node can use any valid URL that links to an image. You could use one of the scheduler nodes (or even just the default seed one + one of the string substitution nodes) to construct your URL so the clients pull in different images if that's what your goal is.

The save image one assumes you have some webserver that can receive the image, so it just sends a regular POST request. I was just using a simple PHP script while testing that would dump the image to disk, so not sure that's much use to anyone.

What's your usecase for using the URL save/load nodes?