kijai / ComfyUI-DynamiCrafterWrapper

Wrapper to use DynamiCrafter models in ComfyUI
Other
500 stars 16 forks source link

Better Prompting (please merge included commit) #22

Open phr00t opened 3 months ago

phr00t commented 3 months ago

For some reason when I try to make a pull request, it wants to remove some code and I don't know why...

Anyway, this is a better way of handling prompts! Now if you have lots of frames and you want a "global" prompt to apply to all of the transitions, you can easily do that by having a "master" prompt which is separated with the ":" character. Then, you list all of your individual prompts with "|" which will be appended to the "master" prompt. Here is a simple example of how it works:

image

I already did all this and tested it, the commit is here ready for merging:

https://github.com/kijai/ComfyUI-DynamiCrafterWrapper/commit/42514f6329617dcc14df2c12d237dd02cff9f498

I handle using the last prompt available if there are not enough + handle situations where no "master" prompt is used. It should be good to go!