ITADN

Missing tracking_src_vid and animate_without_vid options in AdvancedLivePortrait node

#102Opensheepbooy 创建于 2025-10-16
S
sheepbooycommented
## Bug Report ### Description The AdvancedLivePortrait node is missing the `tracking_src_vid` and `animate_without_vid` options in the UI, even though they are defined in the code. ### Steps to Reproduce 1. Add an AdvancedLivePortrait node to a workflow 2. Check the node parameters 3. Notice that `tracking_src_vid` and `animate_without_vid` options are not visible ### Expected Behavior The node should display all 7 parameter options: - retargeting_eyes - retargeting_mouth - crop_factor - turn_on - tracking_src_vid ← Missing - animate_without_vid ← Missing - command ### Actual Behavior Only 5 parameters are visible, missing the two boolean options. ### Root Cause The issue is caused by a parameter order mismatch between the `INPUT_TYPES` definition and the `run` method parameters in the `AdvancedLivePortrait` class. **Current (incorrect) order in run method:** ```python def run(self, retargeting_eyes, retargeting_mouth, turn_on, tracking_src_vid, animate_without_vid, command, crop_factor, ...) ``` **Should be (matching INPUT_TYPES):** ```python def run(self, retargeting_eyes, retargeting_mouth, crop_factor, turn_on, tracking_src_vid, animate_without_vid, command, ...) ``` ### Additional Issues Found - Syntax error in `NODE_CLASS_MAPPINGS`: `"PrintExpData:"` should be `"PrintExpData"` ### Solution I have created a fix in my fork: https://github.com/sheepbooy/ComfyUI-AdvancedLivePortrait **Files modified:** - `nodes.py`: Fixed parameter order and syntax error ### Environment - ComfyUI version: v0.3.62 ### Workaround Use my maintained fork until this is fixed in the main repository.
0 条评论