alexopus / ComfyUI-Image-Saver

Save images with Civitai-compatible generation metadata in ComfyUI
MIT License
52 stars 9 forks source link

Can't connect "Scheduler Selector (Image Saver)" to BasicScheduler #50

Closed alex-mitov closed 7 hours ago

alex-mitov commented 3 days ago

I can't connect the the "scheduler" output of the "Scheduler Selector (Image Saver)" node to the "scheduler" input of the "BasicScheduler" after I convert its scheduler widget to input. Am I using this wrong? Please check the screenshot below.

scheduler-selector-wont-connect

alex-mitov commented 3 days ago

Ok, I found a workaround until this is fixed. You can use the "Widget to String" node from KJNodes to achieve this.

  1. Make sure you have KJNodes. If not, install them first from the Manager. They are called "KJNodes for ComfyUI".
  2. Create a "Widget to String" node and connect the "scheduler" output of the "Scheduler Selector (Image Saver)" node to the "any_input" input of the "Widget to String" node.
  3. Where it says "widget_name" write the name of the widget that you want to turn into string. In our case this is the "scheduler" widget so we write "scheduler" there.
  4. Connect the "STRING" output of the "Widget to String" node to the scheduler input of the "Image Saver" node. If you don't see this input, you must first convert the widget to input by right clicking on the "Image Saver" node, clicking on "Convert Widget to Input" from the list and then clicking on "Convert scheduler to input". Now you can connect it there.

I hope this helps!

alexopus commented 2 days ago

Try to use the Scheduler Selector (Comfy) (Image Saver) node.

alex-mitov commented 19 hours ago

That worked! Thanks!