9accb43882b7c16be09209bf686ed4eb5e00a204
TTP_ComfyUI_FramePack_SE
Provide ComfyUI support for FramePack start-and-end image reference
First, thanks to lvmin Zhang for the FramePack application—it offers a very interesting approach that makes video generation easier and more accessible.
Original repository:
https://github.com/lllyasviel/FramePack
Changes in This Project
- Based on the original repo, we inject a simple
end_imageto enable start-and-end frame references - Check out my PR for the full diff:
https://github.com/lllyasviel/FramePack/pull/167 - This PR addresses the “frozen background” criticism
Issues Encountered
- When the start and end frames differ too greatly, the model struggles and often produces “slideshow-style” cuts.
- Although it’s been attributed to “needing further training,” I believe:
- The Hunyuan model handles static poses well but lacks smooth dynamic transitions
- With lvmin Zhang’s improvements as a base, we can unlock more possibilities
My Optimizations
- Tweaked the generation pipeline code to strike a balance between variation and frame consistency
- Tested and tuned several parameters to ensure smooth transitions in most scenarios
Parameter Guide
- padding_mode
- Still experimental—use
optimizedfor now
- Still experimental—use
- end_condition_strength & enable_feature_fusion
- Mutually exclusive; pick only one
- Lower
end_condition_strengthgrants more freedom but reduces end-frame similarity
- history_weight
- Controls history influence, default 100%
- history_decay
- Linearly decays history weight; increase
decayif you need more variation
- Linearly decays history weight; increase
Feel free to share feedback or suggestions in Issues or PRs!
Star History
Languages
Python
100%