146 Commits
Author SHA1 Message Date
wallen0322 de45ec4d82 Refactor: simplify parameter names for ComfyUI 2.0 and fix color interpolation logic
- Shorten parameter names: mid_ratio, hi_noise_mid, lo_noise_start, lo_noise_mid, lo_noise_end, motion_boost, color_blend

- Keep clip_vision input names unchanged (they are input slots, not parameters)

- Fix color interpolation: preserve original middle_image for motion enhancement, use interpolated version only for conditioning

- Clean up code: remove redundant Chinese comments, ensure proper formatting
2025-11-28 21:16:53 +08:00
wallen0322 9a36ff0194 Fix indentation error in wan_multi_frame.py 2025-11-28 21:03:06 +08:00
wallen0322 dd7a40890f Add linear color interpolation for three-frame node to reduce middle frame color mutation
- Remove strength decay approach (high_noise_mid_image_strength parameter)

- Implement linear color interpolation: blend middle frame with theoretical interpolated color between start and end frames

- Add color_interpolation_strength parameter (default 0.3) to control interpolation intensity

- Applies to both high-noise and low-noise stages to ensure smooth color transitions
2025-11-28 20:59:19 +08:00
wallen0322 aa9491e5fa Remove MASK_ANALYSIS.md documentation file 2025-11-28 20:38:32 +08:00
wallen0322 d31883f180 Optimize middle frame flickering with reference image strength decay 2025-11-28 20:38:08 +08:00
wallen0322 ac833eda96 Restore high noise middle frame mask direct setting to preserve multi-frame reference effectiveness 2025-11-28 18:45:14 +08:00
wallen0322 1aa87f57e7 Remove all smoothing logic and middle frame mask direct setting: sync logic between first-middle-last and multi-frame nodes 2025-11-28 18:41:05 +08:00
wallen0322 23db50dae6 Apply smoothing logic to high noise middle frame: remove direct mask setting, let smoothing handle it naturally like low noise 2025-11-28 18:32:01 +08:00
wallen0322 76f8d27679 Fix low noise middle frame: remove direct mask setting, let smoothing logic handle it naturally to avoid forced locking 2025-11-28 18:24:13 +08:00
wallen0322 ae65f4a760 Fix middle frame flickering and low noise independence: middle frame mask set to 1 frame, low noise conditioning independently created 2025-11-28 18:12:36 +08:00
wallen0322 c70cccd75d Fix low noise conditioning independence: ensure low noise stage is fully independent from high noise stage 2025-11-28 17:59:47 +08:00
wallen0322 6c7dae96d2 淇涓夊浘鑺傜偣鏉′欢娉ㄥ叆锛氳繛缁钩婊戝拰杩愬姩澧炲己鑼冨洿
- 鎵╁睍浣庡櫔骞虫粦鑼冨洿锛氶甯р啋涓棿甯у钩婊戝埌middle_idx锛屼腑闂村抚鈫掓湯甯т粠middle_idx寮€濮嬪钩婊戯紝纭繚杩炵画杩囨浮
- 鎵╁睍楂樺櫔杩愬姩澧炲己鑼冨洿锛氶甯р啋涓棿甯у埌middle_idx锛屼腑闂村抚鈫掓湯甯т粠middle_idx+4寮€濮嬶紝纭繚鏁堟灉杩炵画
- 閬垮厤mask绐佸彉锛氭秷闄や繚鎶ゅ尯鍩熷鑷寸殑闂撮殭锛岀‘淇濇墍鏈夎繃娓″抚閮借骞虫粦/澧炲己瑕嗙洊
2025-11-28 15:54:49 +08:00
wallen0322 ec539acc39 淇澶氬浘鑺傜偣锛氫綆鍣猰ask閫昏緫鍜岄珮鍣繍鍔ㄥ寮鸿寖鍥?
- 淇浣庡櫔涓棿鍙傝€冨抚mask璁剧疆锛氫娇鐢?1.0 - ref_strength_low锛堜笌楂樺櫔閫昏緫涓€鑷达級
- 淇浣庡櫔骞虫粦閫昏緫涓殑base/target mask鍊艰绠?- 鎵╁睍楂樺櫔杩愬姩澧炲己搴旂敤鑼冨洿锛氫粠 pos2-protect_zone_size 鎵╁睍鍒?pos2
- 淇time_weight绯绘暟锛氫粠 time_smoothing_factor * 1.5 鏀逛负 time_smoothing_factor
- 娣诲姞淇濇姢閫昏緫纭繚涓嶄慨鏀瑰弬鑰冨抚鏈韩鐨刴ask
2025-11-28 15:00:59 +08:00
wallen0322 0f6f5645e7 fix: restore high-noise motion enhancement using current_mask multiplication and add low-noise smoothing from last reference to end frame
- Fix high-noise motion enhancement: use current_mask * adjusted_gradient instead of direct replacement
- Add separate low-noise smoothing logic from last reference frame to end frame
- This should resolve motion enhancement effectiveness and reduce flickering at the end
2025-11-28 14:41:29 +08:00
wallen0322 48cb66a3a7 fix: improve low-noise mask smoothing logic and high-noise motion enhancement
- Fix high-noise motion enhancement: directly apply adjusted_gradient instead of multiplying with current_mask
- Simplify low-noise smoothing logic: remove redundant ref_frame_start check
- Ensure low-noise smoothing only affects transition areas, not reference frame positions
- Add debug output for mask distribution analysis
2025-11-28 14:27:42 +08:00
wallen0322 75d5b58edc feat: add low-noise mask smoothing logic, fix high-noise motion enhancement, reorganize UI parameter order
- Fix high-noise motion enhancement: use current_mask * adjusted_gradient instead of direct replacement
- Add low-noise mask smoothing logic between reference frames to prevent flickering
- Add mask distribution debug output for troubleshooting
- Reorganize UI parameters: group high-noise, low-noise, motion enhancement, and smoothing parameters
- Add MASK_ANALYSIS.md document explaining mask distribution
2025-11-28 14:09:15 +08:00
wallen0322 19272a9cc6 fix: restore high-noise motion enhancement by directly applying adjusted_gradient instead of multiplying with current_mask, and align first frame logic 2025-11-28 13:42:57 +08:00
wallen0322 cad8419923 fix: align first frame mask logic between high and low noise stages, add start_frame_strength_low parameter and sync mask range calculation 2025-11-28 13:30:43 +08:00
wallen0322 4a6b921a6c feat: add separate negative_high and negative_low outputs for proper conditioning alignment in high and low noise stages 2025-11-28 13:08:33 +08:00
wallen0322 2b4722439c fix: align concat_latent_image, add UI params, and improve low-noise mask smoothing to prevent first frame graying 2025-11-28 12:49:06 +08:00
wallen0322 c5e371588e fix: ensure concat_latent_image alignment and protect reference frame mask positions in wan_multi_frame 2025-11-28 12:30:51 +08:00
wallen0322 9a4f715e8e feat: apply low-noise mask smoothing and high-noise time gradient optimization to wan_multi_frame node 2025-11-28 12:07:55 +08:00
wallen0322 6190da31e5 feat: add low-noise mask smoothing and high-noise time gradient optimization for wan_first_middle_last 2025-11-28 03:08:04 +08:00
wallen0322 50d7f1e52a feat: add structural_repulsion_boost parameter for motion enhancement via spatial gradient conditioning 2025-11-28 02:39:58 +08:00
wallen0322 864198dc64 docs: improve README formatting and structure 2025-11-28 00:50:18 +08:00
wallen0322 9498eda160 Update wan_advanced_i2v.py 2025-11-16 03:27:14 +08:00
wallen0322 8a8230881f Update wan_multi_frame.py fixed 2025-11-16 00:00:54 +08:00
wallen0322 12933a530a Merge pull request #14 from wallen0322/for-vue
Upgrade to v3 Custom Node Schema
2025-11-15 01:26:41 +08:00
wallen0322 7083dab35c Merge branch 'main' into for-vue 2025-11-15 01:26:27 +08:00
wallen0322 bad11a056f Update wan_4_frame_ultimate.py 2025-11-15 01:19:23 +08:00
wallen0322 3ee43dafeb Update wan_advanced_i2v.py 2025-11-15 01:19:02 +08:00
wallen0322 fe22987ca6 Update wan_first_middle_last.py 2025-11-15 01:18:35 +08:00
wallen0322 84d5e4b308 Update wan_first_middle_last.py 2025-11-15 01:17:58 +08:00
wallen0322 01924b01eb Update wan_multi_frame.py 2025-11-15 01:16:42 +08:00
wallen0322 2a59f51153 Update wan_advanced_i2v.py 2025-11-14 23:40:13 +08:00
wallen0322 60c7da93c7 Add files via upload 2025-11-14 23:23:34 +08:00
wallen0322 da00c412a9 Update __init__.py 2025-11-14 23:22:35 +08:00
wallen0322 659b7e3f4e Update __init__.py 2025-11-14 23:17:43 +08:00
wallen0322 60943e7c36 Update __init__.py 2025-11-14 23:15:39 +08:00
wallen0322 1e56a88aa2 修复在不使用lightx2v的情况下多图参考失效的问题 2025-11-14 22:51:39 +08:00
wallen0322 83861c526a 修复在不使用lightx2v的情况下多图参考失效的问题 2025-11-14 22:51:13 +08:00
wallen0322 b6246ed6fe Update wan_4_frame_ultimate.py 2025-11-14 22:49:31 +08:00
wallen0322 dc456a412d 修复在不使用lightx2v的情况下多图参考失效的问题 2025-11-14 22:07:44 +08:00
wallen0322 d8fe0613c8 修复在不使用lightx2v的情况下多图参考失效的问题 2025-11-14 22:02:06 +08:00
wallen0322 e9cdcd63e9 修复在不使用lightx2v的情况下多图参考失效的问题 2025-11-14 21:57:12 +08:00
wallen0322 8e046b8f36 Update wan_multi_frame.py 2025-11-12 15:53:26 +08:00
wallen0322 4d5ead4d93 Update README.md 2025-11-12 05:15:08 +08:00
wallen0322 cd48a13dc5 Update README.md 2025-11-12 05:14:09 +08:00
wallen0322 ff7de99cce Add files via upload 2025-11-12 05:12:04 +08:00
wallen0322 331d518a32 Delete example_workflows/长视频-SVI-shot+三图(Long Video Service with Unlimited 3-Image Continuation.json 2025-11-12 05:08:56 +08:00