FizzleDorf / ComfyUI_FizzNodes

Custom Nodes for Comfyui
MIT License
370 stars 56 forks source link

Could we get a option for no prompt weighting? #79

Closed rocky533 closed 4 months ago

rocky533 commented 5 months ago

I have used this great node set in my new workflow https://civitai.com/models/271305/video-to-video-workflows

Is there a way get an option for no prompt weighting (all weights are 1)

When using controlnets for video to video i would like to prompt along with the video, however the default behavior of this node is to lower the weight of the entire prompt to 0 between keyframes leading to morphing. Its much more stable with all weights at 1.

I have worked around this by changing a node from your set. However, could an option be added to just change all weights to 1? Or am i missing something about using this for video to video?

FizzleDorf commented 5 months ago

There are two ways of doing it. One is to prompt the schedule so it's the same across multiple frames Example:

"0":"prompt a",
"9":"prompt a",
"10":"prompt b",

The above will always return the prompt a at weight 1.0 for ten frames then will change to prompt b at frame 11 with weight 1.

The other way of doing it is using the string schedule which always returns the current prompt at full weight. You can plug that into a standard text encode.

rocky533 commented 5 months ago

Nice thank you, will look into the string schedule, sounds like that may be my best option. I did not know they did different things.