Closed BoosterCore closed 1 year ago
Right Click -> Convert filename_prefix to input Add Util -> Primitive
Thank U very much! But Primitive node has no input. I use Text Multiline, Text Random Line and Text Concatenate to created a dynamic prompt. I want to make the main subject in the dynamic prompt to name the file prefix automaticly. My demand may be too strange, sorry!
I want to read string from here to filename_prefix.
An other question, Is the comma necessary in Text Multiline?
Oh I see what you mean!
I'll add some nodes to convert Text to String (I thought about this but must have spaced when doing text nodes. Give me like half an hour to wake up and I'll get that in.
PS, nope, no comma is necessary. It'll read the lines in a text file or multiline string.
There we go, Text to String node is added: https://github.com/WASasquatch/was-node-suite-comfyui/blob/main/WAS_Node_Suite.py#L3609
Really appreciate your help
After I converted the filename_prefix to input, I found that no node can be connected to it. Suppose I want to extract a keyword from the prompt and use it as a prefix of the image document, this function will be helpful.