r/StableDiffusion • • 1h ago

No Workflow Trying to merge ComfyUI-H3-Motion-Context-MultiRef workflow with my custom automated lyrics alignment script to improve lipsyncing for continuous shots.

Lipsync script basically just parses the lyrics, matches them with the audio and updates each prompt for the correct lyrics for each segment so I don't have to append lyrics to each segment the automated batching script. This eliminates H3's confusion rendering N and M sounds and other similar tones.

To avoid quality degredation, the video reverts to the original reference image every 28 seconds which still causes a skip. Next step would probably be to force the last segment to use LF with the original reference image so the skip is minimized.

No workflow since it's currently a mess but I'm sure claude/chatgpt can come up with something similar if you ask it to. Just have it use ffdc for cutting audio up and stable_whisper for lyrics

1 Upvotes

4 comments sorted by

1

u/roychodraws 1h ago

try swapping your pack with this version

https://github.com/roycho87/ComfyUI-H3-Motion-Context-MultiRef

there's an extra node in there with degradation protection. just add it to the workflow.

If you see issues try turning down the attention to 5. Then 2 if that still is too strong.

also, make sure to prompt the lyrics.

1

u/redkinoko 59m ago

Thanks., How does it implement degredation protection?

1

u/roychodraws 58m ago edited 54m ago

it incorporates the features of this suite by adding the relevant ones to a node that works with his

https://github.com/roycho87/geiru_context_suite

it should work very well for the above video.

1

u/redkinoko 52m ago

Thank you!