ComfyUI Node
Face/Pose Delta Editor
Apply user-edited landmark deltas to a per-frame face/pose landmark stream in anchor-relative space, so the edit follows the face as the head moves. Multi-keyframe with eased blend.
Face/Pose Delta Editor
- landmarks
- pose_data
- landmarks_modified
- info_json
- pose_data
◄keyframe_edits_json{
"keyframes": [],
"ease": "smooth_step",
"extrapolate": "hold"
}►
◄anchor_modeintereye►
◄left_eye_idx-1►
◄right_eye_idx-1►
◄external_anchors_json►
Category🐺 C2C/🧍 Wan Animate Preprocess/Extras
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| keyframe_edits_json | STRING | { "keyframes": [], "ease": "smooth_step", "extrapolate": "hold" } | JSON describing one or more keyframe edits in anchor-relative space (1.0 unit = inter-ocular distance). |
| anchor_mode | COMBO | intereye | How to compute the per-frame face anchor. 'intereye' is robust under head turns; 'centroid' is a fallback for non-face landmark sets. |
| left_eye_idx | INT | -1-1–100000 | Landmark index of the outer eye corner on the image's left. -1 = by the face's point count: 36 for the iBUG-68 points of pose_data, 33 for MediaPipe FaceMesh. |
| right_eye_idx | INT | -1-1–100000 | Landmark index of the outer eye corner on the image's right. -1 = by the face's point count: 45 for the iBUG-68 points of pose_data, 263 for MediaPipe FaceMesh. |
| landmarksopt | LANDMARKS | Per-frame landmarks (T,N,2), e.g. FantasyPortrait's. A single frame (N,2) is promoted to T=1. Used when pose_data is not connected. | |
| pose_dataopt | POSEDATA | Pose and Face Detection (V2)'s pose data: the edit moves the face points of every frame (iBUG-68) and the edited pose data goes on to Draw ViT Pose (V2). Takes precedence over landmarks. | |
| external_anchors_jsonopt | STRING | Optional override for per-frame anchors. JSON: {"centers": [[cx,cy], ...], "scales": [s, ...]}. If present, replaces the computed intereye/centroid anchors. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| landmarks_modified | LANDMARKS | Modified landmarks (T, N, 2) — same shape and ordering as input. |
| info_json | STRING | JSON: per-frame anchor stats, keyframes used, deltas applied, weights at head/tail frames. Useful for debugging the blend. |
| pose_data | POSEDATA | — |