zer0TF / cute-comfy

Makes ComfyUI cute, adorable, and metadata-compliant. 💜
GNU General Public License v3.0
31 stars 3 forks source link

[Question] Is it possible to expand the it of nodes that are listened to for prompt data? #11

Open RangerFrank opened 9 months ago

RangerFrank commented 9 months ago

I have a problem where I'm using the SDXL Text Encoders and even when named Positive and Negative they don't seem to be recognised for the metadata collection. I worked around this by renaming my primitive text inputs for the encoders to Positive and Negative and this has worked for the most part.

Now however I'm using other methods of feeding text into the Encoders and no other text or string nodes seem to be recognised for prompt data even when named. I don't know how difficult a change it would be to look for text nodes for prompt data in cute-comfy, but it would be very useful as currently I can't save my positive prompt metadata without using the primitive node and the primitive won't let me pipe text into it.

zer0TF commented 9 months ago

Once you start adding more complex prompts or string nodes into your workflow, tracking those down becomes immensely difficult.

If you can explain or provide a sample of your workflow here, and also include any custom third-party nodes you're using (if any), I can try to add support for it if possible.

RangerFrank commented 8 months ago

I convert the text widgets for the encoder nodes into inputs, so that I can feed in generated text, or use primitives as text inputs. Renaming the primitives to Positive and Negative appear to save the prompt metadata correctly, but if I'm providing the prompt any other way it doesn't get saved even if I rename the nodes.

I don't know if there's a way to listen for the data on the pipe as well as the widget for the sdxl encoder, but that would be ideal as to not have to configure the listener for custom nodes,