Save image : filename prefix --> how to generate a date after the value (text add tokens?) #149
-
Hello everyone, I've installed the "was node suite" because it can generate automatically a date when you save an image by using a node "text add tokens". I'm an ultra newbie in using nodes and Comfy UI (and I'm a 58 yo sound engineer / composer - it doesn't fix things). What I'd like to do is when I save my image, it automatically name my file like this "MyName_date_0001" (example). I've tried string like this in the value --> [time(%Y-%m-%d)]_[time(%H-%M-%S)] but it just saves that name and add a number to it "0001, 0002, etc"... I work on this since the last 4 hours (google - github -youtube) but, well, it just gave me suicide ideas... LOL (kidding). Could someone help me, please? Friendly, Rojinski |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I may not be parsing date codes in the filename prefix and only the path. I will check. Sounds like me to forget that though. I will check here shortly. |
Beta Was this translation helpful? Give feedback.
-
I think I fixed it. It looks like filename prefix parsing came after it was used to define the filename. |
Beta Was this translation helpful? Give feedback.
-
You can do the path in the output_path field. Currently by default it's
creating a folder with the date. But you could do like:
MyAwesomeProject/[time(%Y-%m-%d)]
Which would make two folders: /MyAwesomeProject/2023-08-01/
…On Tue, Aug 1, 2023, 9:17 AM Rojinski ***@***.***> wrote:
Awww... Thank you for your fast answer. Very grateful. And how can I do to
change the path? Do i have to open the node "save image" and do a thing
like [time(%Y-%m-%d)]_[time(%H-%M-%S)]/my_name? As I said, I'm a complete
newbie with ComfyUI... I feel like a child facing a SSL Recording
console... I'm so sorry to disturb you with such stupid questions.... I
don't have all the options you have on your picture.... :/
—
Reply to this email directly, view it on GitHub
<#149 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIZEZM2SX7HRUYHMJ6DPBLXTETYTANCNFSM6AAAAAA27667HY>
.
You are receiving this because you commented.Message ID:
<WASasquatch/was-node-suite-comfyui/repo-discussions/149/comments/6607695@
github.com>
|
Beta Was this translation helpful? Give feedback.
You're not using my Save Image node, that's the base vanilla ComfyUI save image node. My save image node is under
WAS Suite -> IO -> Save Image