2025-04-24 01:53:05 +08:00
2025-04-24 01:53:05 +08:00
2025-04-24 01:53:05 +08:00
2025-04-24 00:02:47 +08:00
2025-04-24 01:53:05 +08:00
2025-04-24 00:55:59 +08:00
2025-04-24 01:53:05 +08:00

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


Issues Encountered

  1. When the start and end frames differ too greatly, the model struggles and often produces “slideshow-style” cuts.
  2. 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

Parameter Diagram

  • padding_mode
    • Still experimental—use optimized for now
  • end_condition_strength & enable_feature_fusion
    • Mutually exclusive; pick only one
    • Lower end_condition_strength grants more freedom but reduces end-frame similarity
  • history_weight
    • Controls history influence, default 100%
  • history_decay
    • Linearly decays history weight; increase decay if you need more variation

Feel free to share feedback or suggestions in Issues or PRs!

Star History

Star History Chart
S
Description
No description provided
Readme Apache-2.0
1.3 MiB
Languages
Python 100%