Hunyuan Video 1.5 manual FLF implementation #11151
Open
+82
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds "manual" first-last frame support for Hunyuan1.5 video generation via latent concatenation.
The code is very simple and based on the first-last-frame implementation for Wan.
Because Hunyuan uses CLIP vision embeddings as input, without the dedicated model only one of them is used as provided.
One thing I would like to have help with is the last frame often "flickering" without direct soft transition. I also observed this problem for Wan2.2/VACE, but there it was less noticeable.
Otherwise, it looks good and it indeed takes the last frame's subject in consideration.
hunyuan_video_1.5_00010.mp4
Closes #11020.