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

[BUG] - SD Batch Loader and SD Prompt Reader don't work together #38

Closed karl-von-knecht closed 9 months ago

karl-von-knecht commented 10 months ago

Description

(Not sure if this is a bug or just me doing it wrong) I have created a bunch of images with SD Prompt Saver. Each one has a different prompt. Now I would like to further process them in a batch using the prompt retrieved by SD Prompt Reader. But it seems I can only load the images individually and manually. Connecting the SD Batch Loader and SD Prompt Reader gives a runtime error. Having the ability to use the original prompt in batch processing would be tremendously useful for the community, it would be really great if you have an answer to this! image

Reproduction steps

No response

Image file

No response

russ22cox commented 10 months ago

I'm having a similar issue - it looks like the "image" input has been disabled on the prompt reader. I'm guessing it was disabled until a fix is found for this issue?

receyuki commented 10 months ago

@russ22cox The fix is ready, and I will be releasing it in the next few days.

receyuki commented 10 months ago

Please try the latest version.

russ22cox commented 10 months ago

I deleted the node and reinstalled it from the manager. The image input into the SD prompt reader is still not available to connect things to, can only select image manually.

receyuki commented 10 months ago

This is weird, have you tried deleting and recreating the node?

russ22cox commented 10 months ago

I installed a new version of the portable standalone build for ComfyUI, installed the manager, restarted, went to custom nodes, installed node 208 (comfyui-prompt-reader-node, restarted again, then spawned a SD prompt reader node. The reader does not have an input. The nodes.js does seem to define inputs for "class SDPromptReader", but they are not showing up.

missinginput

receyuki commented 9 months ago

@russ22cox Right-click on the node, select "Convert image to input".

截屏2024-02-06 下午8 05 45
russ22cox commented 9 months ago

Wow! Thank you! I didn't know you could turn on and off input types. There a a bunch of other nodes that have new functionality as well because I know this.

receyuki commented 9 months ago

@russ22cox No worries. Perhaps watching some YouTube tutorials would be helpful for you.

receyuki commented 9 months ago

@karl-von-knecht I will mark this issue as closed. If the bug is not resolved after updating to the latest version, feel free to reopen it.