How can I add a truncated version of Positive prompt to filename? #146
Answered
by
WASasquatch
tusharbhutt
asked this question in
Q&A
|
AS per subject, I'd like to add the positive prompt (limited by X words or Y character length) to the filename when output. I'm thinking I have to add a custom text node? How can it pull the prompt needed, and more importantly, can it be limited in length? Thanks! TB |
Answered by
WASasquatch
Jul 31, 2023
Replies: 2 comments 5 replies
|
The widgets meta inputs don't seem to be working right in custom nodes so a theoretical node would just have to accept a text input that you also input into a CLIPTextEncode or whatever. Adding a truncations node shouldn't be that hard. Just have a mode for character/word and number for truncations and swap functionality by mode. |
1 reply
Answer selected by
tusharbhutt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



I've added a node for this: fb53a8a