Can adapt the work in https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved