receyuki / comfyui-prompt-reader-node

The ultimate solution for managing image metadata and multi-tool compatibility. ComfyUI node version of the SD Prompt Reader
MIT License
289 stars 22 forks source link

[FEATURE REQUEST] - output model/checkpoint name as string #23

Closed someghuser closed 12 months ago

someghuser commented 1 year ago

Summary

Node output of model/checkpoint name as string

Basic Example

When trying to generate similar images, different checkpoint could have been used, it automates the selection of checkpoint.

Reference Issues.

No response

receyuki commented 1 year ago

But in reality, no KSampler can input a checkpoint name in STRING format.

Since the name of a checkpoint is not unique (as you can rename it anytime), I think linking the checkpoint name output to the KSampler is highly likely to cause issues.

someghuser commented 12 months ago

I use this right now CheckpointSelector > CheckpointLoaderSimple > KSampler

How about sdpromptreader.ckpt_name > CheckpointLoaderSimple > KSampler

Is this possible? Even in the same system?

You will not implement because it might break for most people? Doesn't comfy tell you when a controlnet model is missing so you can download it? It's the same principle here, isn't it?

I hope it's feasible.

receyuki commented 12 months ago

I guess you are right. I will add the MODEL_NAME.

BTW, instead of using CheckpointLoader, you might want to try out my Parameter Generator.

receyuki commented 12 months ago

Please try the new version.

someghuser commented 12 months ago

It works. It shows a python error if the checkpoint doesn't exist.

Thank you

ghostsquad commented 10 months ago

Here's what I'm doing so I can use other nodes with more features as opposed to being stuck with the parameter generator:

image