Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Body Double: the double covers each person's whole outline, clothes and hair included

Adarshb6426e9966f6
diff --git a/scripts/comfy/build-library.mjs b/scripts/comfy/build-library.mjs
index a503c2ec..b6c6bbba 100644
--- a/scripts/comfy/build-library.mjs
+++ b/scripts/comfy/build-library.mjs
@@ -135,8 +135,8 @@ export const BINDING_KEYS = new Set([
'image5', 'image6', 'image7', 'image8', 'image9', 'image10',
'width', 'height', 'frames', 'fps', 'seed', 'steps', 'cfg', 'guidance', 'denoise', 'shift',
'loraHigh', 'loraLow', 'lora', 'loraStrength', 'upscaleModel', 'scale', 'duration', 'lyrics', 'tags',
- // Body Double: the look (render style, mesh shader, opacity over the picture) and how many people a photo may hold
- 'renderStyle', 'shader', 'opacity', 'maxPeople',
+ // Body Double: the look the double is drawn in, and how many people a photo may hold
+ 'look', 'maxPeople',
// library extensions
'padLeft', 'padTop', 'padRight', 'padBottom', 'cameraMotion', 'multiplier', 'bpm', 'filenamePrefix',
// comfyui-oss-2 additions (see library.spec.mjs header)
diff --git a/scripts/comfy/hand-built/body-double-clip-instanthmr.json b/scripts/comfy/hand-built/body-double-clip-instanthmr.json
index 983b8314..d6217d17 100644
--- a/scripts/comfy/hand-built/body-double-clip-instanthmr.json
+++ b/scripts/comfy/hand-built/body-double-clip-instanthmr.json
@@ -15,7 +15,7 @@
"title": "Clip (24 fps, up to 15 s)"
}
},
- "13": {
+ "15": {
"class_type": "ImageScaleToMaxDimension",
"inputs": {
"image": [
@@ -47,7 +47,7 @@
0
],
"image": [
- "13",
+ "15",
0
],
"threshold": 0.5,
@@ -75,7 +75,7 @@
0
],
"image": [
- "13",
+ "15",
0
],
"bboxes": [
@@ -106,38 +106,206 @@
}
},
"6": {
+ "class_type": "BodyDoubleFit",
+ "inputs": {
+ "mhr_pose_data": [
+ "14",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Line each body up with its person"
+ }
+ },
+ "8": {
"class_type": "SAM3DBody_Render",
"inputs": {
"pose_data": [
- "14",
+ "6",
+ 0
+ ],
+ "width": 0,
+ "height": 0,
+ "render_style": "scail",
+ "render_style.radius_m": 0.022,
+ "render_style.hand_style": "dwpose",
+ "render_style.face_style": "disabled",
+ "render_style.person_palette_falloff": 0.6
+ },
+ "_meta": {
+ "title": "SCAIL pose on black"
+ }
+ },
+ "10": {
+ "class_type": "SAM3DBody_Loader",
+ "inputs": {
+ "model_file": "sam_3d_body_dinov3_int8_convrot.safetensors"
+ },
+ "_meta": {
+ "title": "MHR rig for the skinned GLB"
+ }
+ },
+ "13": {
+ "class_type": "SAM3DBody_Render",
+ "inputs": {
+ "pose_data": [
+ "6",
0
],
"width": 0,
"height": 0,
"background": [
- "13",
+ "15",
0
],
- "render_style": "mesh",
- "render_style.shader": "normals",
- "render_style.shader.rainbow_tilt_z": -35.0,
- "render_style.shader.rainbow_tilt_x": 0.0,
- "render_style.opacity": 0.92,
- "render_style.person_palette_falloff": 0.6,
- "render_style.region": "full_body",
+ "render_style": "scail",
"render_style.radius_m": 0.022,
"render_style.hand_style": "dwpose",
- "render_style.face_style": "disabled"
+ "render_style.face_style": "disabled",
+ "render_style.person_palette_falloff": 0.6
},
"_meta": {
- "title": "Body over the clip (the look)"
+ "title": "SCAIL skeleton over the picture (Skeleton look)"
+ }
+ },
+ "20": {
+ "class_type": "CheckpointLoaderSimple",
+ "inputs": {
+ "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "SAM 3.1"
+ }
+ },
+ "21": {
+ "class_type": "SAM3_Detect",
+ "inputs": {
+ "model": [
+ "20",
+ 0
+ ],
+ "image": [
+ "15",
+ 0
+ ],
+ "threshold": 0.4,
+ "refine_iterations": 2,
+ "individual_masks": false,
+ "bboxes": [
+ "3",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Each person's whole outline (inside their box)"
+ }
+ },
+ "22": {
+ "class_type": "GrowMask",
+ "inputs": {
+ "mask": [
+ "21",
+ 0
+ ],
+ "expand": 2,
+ "tapered_corners": true
+ },
+ "_meta": {
+ "title": "Outline, 2 px out"
+ }
+ },
+ "30": {
+ "class_type": "LoadMoGeModel",
+ "inputs": {
+ "model_name": "moge_2_vitl_normal_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "MoGe-2"
+ }
+ },
+ "31": {
+ "class_type": "MoGeInference",
+ "inputs": {
+ "moge_model": [
+ "30",
+ 0
+ ],
+ "image": [
+ "15",
+ 0
+ ],
+ "resolution_level": 9,
+ "fov_x_degrees": 0.0,
+ "batch_size": 4,
+ "force_projection": true,
+ "apply_mask": false,
+ "refine_steps": 0
+ },
+ "_meta": {
+ "title": "The picture's geometry"
+ }
+ },
+ "32": {
+ "class_type": "MoGeRender",
+ "inputs": {
+ "moge_geometry": [
+ "31",
+ 0
+ ],
+ "output": "normal_opengl"
+ },
+ "_meta": {
+ "title": "Normals"
+ }
+ },
+ "33": {
+ "class_type": "MoGeRender",
+ "inputs": {
+ "moge_geometry": [
+ "31",
+ 0
+ ],
+ "output": "depth"
+ },
+ "_meta": {
+ "title": "Depth (near is bright)"
+ }
+ },
+ "40": {
+ "class_type": "BodyDoubleLook",
+ "inputs": {
+ "image": [
+ "15",
+ 0
+ ],
+ "mask": [
+ "22",
+ 0
+ ],
+ "look": "holo",
+ "normals": [
+ "32",
+ 0
+ ],
+ "depth": [
+ "33",
+ 0
+ ],
+ "skeleton": [
+ "13",
+ 0
+ ],
+ "feather": 1.5
+ },
+ "_meta": {
+ "title": "Every person's double in the look"
}
},
"7": {
"class_type": "VHS_VideoCombine",
"inputs": {
"images": [
- "6",
+ "40",
0
],
"frame_rate": 24,
@@ -155,25 +323,6 @@
"title": "Result"
}
},
- "8": {
- "class_type": "SAM3DBody_Render",
- "inputs": {
- "pose_data": [
- "14",
- 0
- ],
- "width": 0,
- "height": 0,
- "render_style": "scail",
- "render_style.radius_m": 0.022,
- "render_style.hand_style": "dwpose",
- "render_style.face_style": "disabled",
- "render_style.person_palette_falloff": 0.6
- },
- "_meta": {
- "title": "SCAIL pose on black"
- }
- },
"9": {
"class_type": "VHS_VideoCombine",
"inputs": {
@@ -196,20 +345,11 @@
"title": "Pose video"
}
},
- "10": {
- "class_type": "SAM3DBody_Loader",
- "inputs": {
- "model_file": "sam_3d_body_dinov3_int8_convrot.safetensors"
- },
- "_meta": {
- "title": "MHR rig for the skinned GLB"
- }
- },
"11": {
"class_type": "BuildPoseFile",
"inputs": {
"pose_data": [
- "14",
+ "6",
0
],
"sam3d_body_model": [
diff --git a/scripts/comfy/hand-built/body-double-photo-instanthmr.json b/scripts/comfy/hand-built/body-double-photo-instanthmr.json
index 5ed57906..eeabbda9 100644
--- a/scripts/comfy/hand-built/body-double-photo-instanthmr.json
+++ b/scripts/comfy/hand-built/body-double-photo-instanthmr.json
@@ -1,27 +1,330 @@
{
- "1": {"class_type": "LoadImage", "inputs": {"image": "input.png"}, "_meta": {"title": "Photo"}},
- "2": {"class_type": "UNETLoader", "inputs": {"unet_name": "rt_detr_v4-x-hgnet_fp16.safetensors", "weight_dtype": "default"}, "_meta": {"title": "RT-DETR v4 person detector"}},
- "3": {"class_type": "RTDETR_detect", "inputs": {"model": ["2", 0], "image": ["1", 0], "threshold": 0.5, "class_name": "person", "max_detections": 8}, "_meta": {"title": "Find the people"}},
- "4": {"class_type": "InstantHMRLoader", "inputs": {"model_file": "instanthmr_medium.safetensors"}, "_meta": {"title": "InstantHMR"}},
- "5": {"class_type": "InstantHMRPredict", "inputs": {"instanthmr_model": ["4", 0], "image": ["1", 0], "bboxes": ["3", 0], "fov": 0.0, "batch_size": 16}, "_meta": {"title": "One MHR body per person"}},
- "6": {"class_type": "SAM3DBody_Render", "inputs": {
- "pose_data": ["5", 0], "width": 0, "height": 0, "background": ["1", 0],
- "render_style": "mesh",
- "render_style.shader": "normals", "render_style.shader.rainbow_tilt_z": -35.0, "render_style.shader.rainbow_tilt_x": 0.0,
- "render_style.opacity": 0.92, "render_style.person_palette_falloff": 0.6, "render_style.region": "full_body",
- "render_style.radius_m": 0.022, "render_style.hand_style": "dwpose", "render_style.face_style": "disabled"
- }, "_meta": {"title": "Bodies over the photo (the look)"}},
- "7": {"class_type": "SaveImage", "inputs": {"images": ["6", 0], "filename_prefix": "fuobe/body-double"}, "_meta": {"title": "Result"}},
- "8": {"class_type": "SAM3DBody_Render", "inputs": {
- "pose_data": ["5", 0], "width": 0, "height": 0,
- "render_style": "scail", "render_style.radius_m": 0.022, "render_style.hand_style": "dwpose", "render_style.face_style": "disabled", "render_style.person_palette_falloff": 0.6
- }, "_meta": {"title": "SCAIL pose on black"}},
- "9": {"class_type": "SaveImage", "inputs": {"images": ["8", 0], "filename_prefix": "fuobe/body-double-pose"}, "_meta": {"title": "Pose"}},
- "10": {"class_type": "SAM3DBody_Loader", "inputs": {"model_file": "sam_3d_body_dinov3_int8_convrot.safetensors"}, "_meta": {"title": "MHR rig for the skinned GLB"}},
- "11": {"class_type": "BuildPoseFile", "inputs": {
- "pose_data": ["5", 0], "sam3d_body_model": ["10", 0],
- "format": "glb", "format.mesh_style": "body_mesh", "format.mesh_style.bone_vis": "off", "format.mesh_style.shader": "default",
- "format.bone_smooth_window": 0, "fps": 24.0, "camera_translation": "centered", "track_index": -1
- }, "_meta": {"title": "Skinned body GLB"}},
- "12": {"class_type": "SaveGLB", "inputs": {"mesh": ["11", 0], "filename_prefix": "fuobe/body-double"}, "_meta": {"title": "3D bodies"}}
+ "1": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "input.png"
+ },
+ "_meta": {
+ "title": "Photo"
+ }
+ },
+ "2": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "rt_detr_v4-x-hgnet_fp16.safetensors",
+ "weight_dtype": "default"
+ },
+ "_meta": {
+ "title": "RT-DETR v4 person detector"
+ }
+ },
+ "3": {
+ "class_type": "RTDETR_detect",
+ "inputs": {
+ "model": [
+ "2",
+ 0
+ ],
+ "image": [
+ "1",
+ 0
+ ],
+ "threshold": 0.5,
+ "class_name": "person",
+ "max_detections": 8
+ },
+ "_meta": {
+ "title": "Find the people"
+ }
+ },
+ "4": {
+ "class_type": "InstantHMRLoader",
+ "inputs": {
+ "model_file": "instanthmr_medium.safetensors"
+ },
+ "_meta": {
+ "title": "InstantHMR"
+ }
+ },
+ "5": {
+ "class_type": "InstantHMRPredict",
+ "inputs": {
+ "instanthmr_model": [
+ "4",
+ 0
+ ],
+ "image": [
+ "1",
+ 0
+ ],
+ "bboxes": [
+ "3",
+ 0
+ ],
+ "fov": 0.0,
+ "batch_size": 16
+ },
+ "_meta": {
+ "title": "One MHR body per person"
+ }
+ },
+ "6": {
+ "class_type": "BodyDoubleFit",
+ "inputs": {
+ "mhr_pose_data": [
+ "5",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Line each body up with its person"
+ }
+ },
+ "8": {
+ "class_type": "SAM3DBody_Render",
+ "inputs": {
+ "pose_data": [
+ "6",
+ 0
+ ],
+ "width": 0,
+ "height": 0,
+ "render_style": "scail",
+ "render_style.radius_m": 0.022,
+ "render_style.hand_style": "dwpose",
+ "render_style.face_style": "disabled",
+ "render_style.person_palette_falloff": 0.6
+ },
+ "_meta": {
+ "title": "SCAIL pose on black"
+ }
+ },
+ "10": {
+ "class_type": "SAM3DBody_Loader",
+ "inputs": {
+ "model_file": "sam_3d_body_dinov3_int8_convrot.safetensors"
+ },
+ "_meta": {
+ "title": "MHR rig for the skinned GLB"
+ }
+ },
+ "13": {
+ "class_type": "SAM3DBody_Render",
+ "inputs": {
+ "pose_data": [
+ "6",
+ 0
+ ],
+ "width": 0,
+ "height": 0,
+ "background": [
+ "1",
+ 0
+ ],
+ "render_style": "scail",
+ "render_style.radius_m": 0.022,
+ "render_style.hand_style": "dwpose",
+ "render_style.face_style": "disabled",
+ "render_style.person_palette_falloff": 0.6
+ },
+ "_meta": {
+ "title": "SCAIL skeleton over the picture (Skeleton look)"
+ }
+ },
+ "20": {
+ "class_type": "CheckpointLoaderSimple",
+ "inputs": {
+ "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "SAM 3.1"
+ }
+ },
+ "21": {
+ "class_type": "SAM3_Detect",
+ "inputs": {
+ "model": [
+ "20",
+ 0
+ ],
+ "image": [
+ "1",
+ 0
+ ],
+ "threshold": 0.4,
+ "refine_iterations": 2,
+ "individual_masks": false,
+ "bboxes": [
+ "3",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Each person's whole outline (inside their box)"
+ }
+ },
+ "22": {
+ "class_type": "GrowMask",
+ "inputs": {
+ "mask": [
+ "21",
+ 0
+ ],
+ "expand": 2,
+ "tapered_corners": true
+ },
+ "_meta": {
+ "title": "Outline, 2 px out"
+ }
+ },
+ "30": {
+ "class_type": "LoadMoGeModel",
+ "inputs": {
+ "model_name": "moge_2_vitl_normal_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "MoGe-2"
+ }
+ },
+ "31": {
+ "class_type": "MoGeInference",
+ "inputs": {
+ "moge_model": [
+ "30",
+ 0
+ ],
+ "image": [
+ "1",
+ 0
+ ],
+ "resolution_level": 9,
+ "fov_x_degrees": 0.0,
+ "batch_size": 4,
+ "force_projection": true,
+ "apply_mask": false,
+ "refine_steps": 0
+ },
+ "_meta": {
+ "title": "The picture's geometry"
+ }
+ },
+ "32": {
+ "class_type": "MoGeRender",
+ "inputs": {
+ "moge_geometry": [
+ "31",
+ 0
+ ],
+ "output": "normal_opengl"
+ },
+ "_meta": {
+ "title": "Normals"
+ }
+ },
+ "33": {
+ "class_type": "MoGeRender",
+ "inputs": {
+ "moge_geometry": [
+ "31",
+ 0
+ ],
+ "output": "depth"
+ },
+ "_meta": {
+ "title": "Depth (near is bright)"
+ }
+ },
+ "40": {
+ "class_type": "BodyDoubleLook",
+ "inputs": {
+ "image": [
+ "1",
+ 0
+ ],
+ "mask": [
+ "22",
+ 0
+ ],
+ "look": "holo",
+ "normals": [
+ "32",
+ 0
+ ],
+ "depth": [
+ "33",
+ 0
+ ],
+ "skeleton": [
+ "13",
+ 0
+ ],
+ "feather": 1.5
+ },
+ "_meta": {
+ "title": "Every person's double in the look"
+ }
+ },
+ "7": {
+ "class_type": "SaveImage",
+ "inputs": {
+ "images": [
+ "40",
+ 0
+ ],
+ "filename_prefix": "fuobe/body-double"
+ },
+ "_meta": {
+ "title": "Result"
+ }
+ },
+ "9": {
+ "class_type": "SaveImage",
+ "inputs": {
+ "images": [
+ "8",
+ 0
+ ],
+ "filename_prefix": "fuobe/body-double-pose"
+ },
+ "_meta": {
+ "title": "Pose"
+ }
+ },
+ "11": {
+ "class_type": "BuildPoseFile",
+ "inputs": {
+ "pose_data": [
+ "6",
+ 0
+ ],
+ "sam3d_body_model": [
+ "10",
+ 0
+ ],
+ "format": "glb",
+ "format.mesh_style": "body_mesh",
+ "format.mesh_style.bone_vis": "off",
+ "format.mesh_style.shader": "default",
+ "format.bone_smooth_window": 0,
+ "fps": 24.0,
+ "camera_translation": "centered",
+ "track_index": -1
+ },
+ "_meta": {
+ "title": "Skinned body GLB"
+ }
+ },
+ "12": {
+ "class_type": "SaveGLB",
+ "inputs": {
+ "mesh": [
+ "11",
+ 0
+ ],
+ "filename_prefix": "fuobe/body-double"
+ },
+ "_meta": {
+ "title": "3D bodies"
+ }
+ }
}
diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjs
index 4bb2d019..1a6dbc21 100644
--- a/scripts/comfy/library.spec.mjs
+++ b/scripts/comfy/library.spec.mjs
@@ -233,6 +233,7 @@ export const CUSTOM_NODE_REPOS = {
// that last changed it (tests/reuse-pack-pin.test.ts checks it). install-comfyui.sh copies it from the checkout.
'ComfyUI-RE-USE': 'https://github.com/workingprototype/Fuobe/tree/8cc0417b5cb8a603f06502d97d5c6d8c6035ea0d/comfy-nodes/ComfyUI-RE-USE',
'ComfyUI-InstantHMR': 'https://github.com/jtydhr88/ComfyUI-InstantHMR',
+ 'ComfyUI-BodyDouble': 'https://github.com/workingprototype/Fuobe/tree/26d386bdacb371d06aa2325ac1b90373a11ff6b7/comfy-nodes/ComfyUI-BodyDouble',
// Hi3D 1.0 mesh refinement (hi3d-refine, docs/research/hi3d-refine.json): T8star's nodes (MIT code, vendored Hi3D code under
// the Hi3D Open License 1.0), v0.5.1. Opt-in in install-comfyui.sh (HI3D=1): it needs an Ampere-or-newer NVIDIA GPU and
// CUDA kernels (spconv, triton), so it is not on the validation server (mesh-refine-hi3d lists it with `packs`).
@@ -310,6 +311,8 @@ export const PACK_CLASSES = {
'ComfyUI-RE-USE': /^REUSE(Loader|Enhance)$/,
// Body Double: only the loader and the predictor are the pack's; the render, smoothing and GLB nodes are ComfyUI's own.
'ComfyUI-InstantHMR': /^InstantHMR(Loader|Predict)$/,
+ // Body Double's own pack (this repository at its pinned commit): the body fit and the look over the whole outline.
+ 'ComfyUI-BodyDouble': /^BodyDouble(Fit|Look)$/,
// Live edit's nodes (fuobe_live.py), which Fuobe writes into custom_nodes itself.
'fuobe-live': /FuobeLive$/,
'zen-image-edit-comfyui': /^ZenImage21(AdapterLoader|TextEncode)$/,
@@ -6501,45 +6504,45 @@ export const SPEC = [
"every other pixel is the shot's, which removes Qwen 2.1's colour and detail drift over the whole picture. pasteBack false returns the whole swap (the switch is lazy, SAM does not run). " +
"No head found: the shot comes back unchanged. BFS's own workflow runs the Pruna 8-step LoRA with deis_2m (RES4LYF); this graph keeps core samplers. RTX 5090: about 130 s a photo warm, about 250 s when the models load, peak about 28 GB.",
},
- // Body Double (app-body-double): InstantHMR (ComfyUI-InstantHMR) recovers every person's MHR body; ComfyUI's own SAM 3D
- // Body nodes draw it over the picture, render the SCAIL pose and export a skinned GLB.
+ // Body Double (app-body-double): InstantHMR (ComfyUI-InstantHMR) recovers every person's MHR body and ComfyUI-BodyDouble lines it up
+ // with them; SAM 3.1 and MoGe-2 draw the double over each person's whole outline; ComfyUI's SAM 3D Body nodes render the pose and export a skinned GLB.
{
id: 'body-double-photo-instanthmr',
- title: 'Body Double photo (InstantHMR: every person\'s 3D body, a pose render and a skinned GLB)',
+ title: 'Body Double photo (every person\'s double over their whole outline, a pose render and a skinned GLB)',
capability: 'body-capture',
handBuilt: 'hand-built/body-double-photo-instanthmr.json',
- packs: ['ComfyUI-InstantHMR'],
- bindings: { image: [b('1', 'image')], renderStyle: [b('6', 'render_style')], shader: [b('6', 'render_style.shader')], opacity: [b('6', 'render_style.opacity')], maxPeople: [b('3', 'max_detections')] },
- defaults: { renderStyle: 'mesh', shader: 'normals', opacity: 0.92, maxPeople: 8 },
+ packs: ['ComfyUI-InstantHMR', 'ComfyUI-BodyDouble'],
+ bindings: { image: [b('1', 'image')], look: [b('40', 'look')], maxPeople: [b('3', 'max_detections')] },
+ defaults: { look: 'holo', maxPeople: 8 },
outputs: [{ node: '7', kind: 'image' }, { node: '12', kind: 'model3d', role: 'body' }, { node: '9', kind: 'image', role: 'pose' }],
limits: { maxWidth: 4096, maxHeight: 4096 },
- vramGb: 4,
- license: 'InstantHMR weights SAM License: the medium file is NON-COMMERCIAL (some training images are research-only); instanthmr_medium_commercial is the commercial-use variant. ComfyUI-InstantHMR code Apache-2.0; MHR body model Apache-2.0; RT-DETR v4 Apache-2.0; SAM 3D Body (its rig, for the skinned GLB) SAM License, commercial use allowed under its terms; VideoHelperSuite GPL-3.0 code',
+ vramGb: 8,
+ license: "InstantHMR weights SAM License: the medium file is NON-COMMERCIAL (some training images are research-only); instanthmr_medium_commercial is the commercial-use variant. ComfyUI-InstantHMR code Apache-2.0; ComfyUI-BodyDouble MIT; MHR body model Apache-2.0; RT-DETR v4 Apache-2.0; SAM 3.1 and SAM 3D Body (its rig, for the skinned GLB) under Meta's SAM License, commercial use allowed under its terms; MoGe-2 MIT; VideoHelperSuite GPL-3.0 code",
notes:
- 'RT-DETR v4 x (fp16, class person, threshold 0.5, up to maxPeople boxes) -> InstantHMR medium (HGNetV2-B4, 288 px square crops 1.2x the box, ' +
- 'focal 1.05x the image diagonal) -> one MHR body per person (pose, shape, hands, 70 keypoints, 18,439-vertex mesh). No person found: the whole frame is one person. ' +
- 'The look is one SAM3DBody_Render: renderStyle mesh with shader normals (Holo, default), default (Clay), rainbow (Thermal), depth (X-ray), opacity over the photo; ' +
- 'renderStyle scail draws the SCAIL skeleton over the photo instead. Every style\'s dotted keys stay in the graph (ComfyUI ignores the ones a style does not use). ' +
- 'Role pose: the SCAIL render on black, the input SCAIL-style motion models read. Role body: BuildPoseFile body_mesh with the SAM 3D Body int8 rig: one skinned mesh per person ' +
- '(127 joints, 72 face morph targets), centred, about 17 MB. CPU only: about 3 s a photo once loaded; the network itself is about 1 ms a person on a desktop GPU.',
+ 'RT-DETR v4 x (fp16, class person, threshold 0.5, up to maxPeople boxes) -> InstantHMR medium (HGNetV2-B4, 288 px square crops 1.2x the box, focal 1.05x the image diagonal) -> ' +
+ 'one MHR body per person -> BodyDoubleFit (each body moved so its 3D keypoints land on its 2D keypoints; the network\'s translation is kept when the fit runs away). ' +
+ "The double covers each person's whole outline, clothes and hair included: SAM 3.1 segments every RT-DETR person box (one mask per frame), MoGe-2 (resolution 9) gives the picture's normals and depth, and BodyDoubleLook fills the mask in the look: holo (normals), clay (normals lit from above left), thermal (nearness and facing on a Turbo colour map), ghost (holo at half strength), xray (cyan glass with bright rims) or skeleton (the SCAIL skeleton over the picture). " +
+ 'Role pose: the SCAIL render on black. Role body: BuildPoseFile body_mesh with the SAM 3D Body int8 rig: one skinned mesh per person (127 joints, 72 face morph targets), centred. ' +
+ 'On a CPU alone: about 2.5 min a 2048 px photo, most of it MoGe; seconds on a GPU.',
},
{
id: 'body-double-clip-instanthmr',
- title: 'Body Double clip (InstantHMR motion capture: the body over every frame, a pose video and an animated skinned GLB)',
+ title: 'Body Double clip (the double over every frame, a pose video and an animated skinned GLB)',
capability: 'body-capture-video',
handBuilt: 'hand-built/body-double-clip-instanthmr.json',
- packs: ['ComfyUI-InstantHMR', 'ComfyUI-VideoHelperSuite'],
- bindings: { video: [b('1', 'video')], frames: [b('1', 'frame_load_cap')], renderStyle: [b('6', 'render_style')], shader: [b('6', 'render_style.shader')], opacity: [b('6', 'render_style.opacity')] },
- defaults: { frames: 360, renderStyle: 'mesh', shader: 'normals', opacity: 0.92 },
+ packs: ['ComfyUI-InstantHMR', 'ComfyUI-BodyDouble', 'ComfyUI-VideoHelperSuite'],
+ bindings: { video: [b('1', 'video')], frames: [b('1', 'frame_load_cap')], look: [b('40', 'look')] },
+ defaults: { frames: 360, look: 'holo' },
outputs: [{ node: '7', kind: 'video' }, { node: '12', kind: 'model3d', role: 'body' }, { node: '9', kind: 'video', role: 'pose' }],
limits: { maxWidth: 4096, maxHeight: 4096 },
- vramGb: 6,
- license: 'InstantHMR weights SAM License: the medium file is NON-COMMERCIAL (some training images are research-only); instanthmr_medium_commercial is the commercial-use variant. ComfyUI-InstantHMR code Apache-2.0; MHR body model Apache-2.0; RT-DETR v4 Apache-2.0; SAM 3D Body (its rig, for the skinned GLB) SAM License, commercial use allowed under its terms; VideoHelperSuite GPL-3.0 code',
+ vramGb: 10,
+ license: "InstantHMR weights SAM License: the medium file is NON-COMMERCIAL (some training images are research-only); instanthmr_medium_commercial is the commercial-use variant. ComfyUI-InstantHMR code Apache-2.0; ComfyUI-BodyDouble MIT; MHR body model Apache-2.0; RT-DETR v4 Apache-2.0; SAM 3.1 and SAM 3D Body (its rig, for the skinned GLB) under Meta's SAM License, commercial use allowed under its terms; MoGe-2 MIT; VideoHelperSuite GPL-3.0 code",
notes:
'VHS_LoadVideo at 24 fps, up to frames (360 = 15 s), scaled to 960 px on the long side -> RT-DETR v4 (the performer: the best person box per frame) -> InstantHMR medium -> ' +
- 'SAM3DBody_Smooth (gaussian, window 7, flips over 30 degrees kept) -> the same look render as the photo graph over every frame (H.264, metadata off). ' +
- 'Role pose: the SCAIL pose video on black, ready to drive a SCAIL-style motion transfer. Role body: BuildPoseFile body_mesh, an animated skinned GLB ' +
- '(127 joints, 72 face morphs, 24 fps, camera translation absolute) for Blender, Unreal or any glTF tool. The clip\'s sound is not carried. ' +
- 'CPU only: about 95 s for 4 s of video including the first model loads.',
+ 'SAM3DBody_Smooth (gaussian, window 7, flips over 30 degrees kept) -> BodyDoubleFit. ' +
+ "The double covers each person's whole outline, clothes and hair included: SAM 3.1 segments every RT-DETR person box (one mask per frame), MoGe-2 (resolution 9) gives the picture's normals and depth, and BodyDoubleLook fills the mask in the look: holo (normals), clay (normals lit from above left), thermal (nearness and facing on a Turbo colour map), ghost (holo at half strength), xray (cyan glass with bright rims) or skeleton (the SCAIL skeleton over the picture). " +
+ 'Thermal and xray use one depth range for the whole clip, so their colours hold still. H.264, metadata off. Role pose: the SCAIL pose video on black. ' +
+ 'Role body: BuildPoseFile body_mesh, an animated skinned GLB (127 joints, 72 face morphs, 24 fps, camera translation absolute). The clip\'s sound is not carried. ' +
+ 'RTX 5090: SAM 3.1 and MoGe-2 take about 2 min for 124 frames (5 s).',
},
];
diff --git a/scripts/comfy/validation-state.json b/scripts/comfy/validation-state.json
index 3296af9f..6a89c1b8 100644
--- a/scripts/comfy/validation-state.json
+++ b/scripts/comfy/validation-state.json
@@ -42,16 +42,16 @@
"at": "2026-10-16T20:57:20.767Z"
},
"body-double-clip-instanthmr": {
- "sha256": "74a8844f3f223146b983d3ab2e3f487e6e7c7237a03bb5a9a1da80499c587d3b",
+ "sha256": "c667d941f6f16fa36ef6852e0efaeab1cc800d92e3d626b864de09d5d4177577",
"validated": true,
"error": null,
- "at": "2026-11-08T02:22:01.036Z"
+ "at": "2026-11-08T05:09:17.670Z"
},
"body-double-photo-instanthmr": {
- "sha256": "48d218bf70b61f843dbeb1e1065e64d96ca5e7770c9295e088abc8033bbef55c",
+ "sha256": "6599cdef44aab4cccd932bb01b6443143e1f1c8baea7208c4670a8de3563d6c2",
"validated": true,
"error": null,
- "at": "2026-11-08T02:22:00.839Z"
+ "at": "2026-11-08T05:09:17.485Z"
},
"captions-burnin": {
"sha256": "8bb4d7bca5145d94ee1d509e50e23ef40e4cd21cb7c152bbba32751eca4ea013",
diff --git a/scripts/lib/worker-catalog.mjs b/scripts/lib/worker-catalog.mjs
index 293c0f0c..eb15939e 100644
--- a/scripts/lib/worker-catalog.mjs
+++ b/scripts/lib/worker-catalog.mjs
@@ -251,8 +251,6 @@ export const FREE_TEXT_INPUTS = [
"RTXTrueHDR.output_colorspace",
"RTXVideoFrameGeneration.mode",
"RTXVideoSuperResolution.quality",
- // Body Double: the mesh shader is one of SAM3DBody_Render's own choices (the look), never a path.
- "SAM3DBody_Render.render_style.shader",
"SAM3_Detect.negative_coords",
"SAM3_Detect.positive_coords",
"VHS_VideoCombine.profile",
diff --git a/src/lib/catalog/body-double.ts b/src/lib/catalog/body-double.ts
index c64132b3..004c1c7f 100644
--- a/src/lib/catalog/body-double.ts
+++ b/src/lib/catalog/body-double.ts
@@ -24,18 +24,18 @@ export type BodyLook = {
value: BodyLookId;
label: string;
hint: string;
- /** The graph's look: SAM3DBody_Render's style, mesh shader and opacity over the picture (params.extra). */
- extra: { renderStyle: "mesh" | "scail"; shader: "normals" | "default" | "rainbow" | "depth"; opacity: number };
+ /** The graph's look (params.extra.look): how the double is drawn over each person's whole outline. */
+ extra: { look: BodyLookId };
};
-/** The looks, the default first. Holo is the surface normals, so the body reads as a sculpted, iridescent shell. */
+/** The looks, the default first. Each covers the whole person, clothes and hair included, from the picture's own geometry. */
export const BODY_LOOKS: readonly BodyLook[] = [
- { value: "holo", label: "Holo", hint: "An iridescent body shell", extra: { renderStyle: "mesh", shader: "normals", opacity: 0.92 } },
- { value: "clay", label: "Clay", hint: "A matte sculpt, like a fitting mannequin", extra: { renderStyle: "mesh", shader: "default", opacity: 1 } },
- { value: "thermal", label: "Thermal", hint: "A heat-map gradient from head to toe", extra: { renderStyle: "mesh", shader: "rainbow", opacity: 0.9 } },
- { value: "ghost", label: "Ghost", hint: "A see-through body over the picture", extra: { renderStyle: "mesh", shader: "default", opacity: 0.5 } },
- { value: "xray", label: "X-ray", hint: "Depth shading, near is bright", extra: { renderStyle: "mesh", shader: "depth", opacity: 0.95 } },
- { value: "skeleton", label: "Skeleton", hint: "The SCAIL skeleton over the picture", extra: { renderStyle: "scail", shader: "normals", opacity: 1 } },
+ { value: "holo", label: "Holo", hint: "An iridescent sculpt of each person", extra: { look: "holo" } },
+ { value: "clay", label: "Clay", hint: "A matte sculpture, clothes and hair included", extra: { look: "clay" } },
+ { value: "thermal", label: "Thermal", hint: "A heat camera: warmest where they face you", extra: { look: "thermal" } },
+ { value: "ghost", label: "Ghost", hint: "A see-through double over the picture", extra: { look: "ghost" } },
+ { value: "xray", label: "X-ray", hint: "Cyan glass with glowing outlines", extra: { look: "xray" } },
+ { value: "skeleton", label: "Skeleton", hint: "The 3D skeleton over the picture", extra: { look: "skeleton" } },
];
export const bodyLook = (value: unknown): BodyLook => BODY_LOOKS.find((l) => l.value === value) ?? BODY_LOOKS[0];
diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.ts
index 4e392746..ef8224ee 100644
--- a/src/lib/catalog/models.ts
+++ b/src/lib/catalog/models.ts
@@ -2784,7 +2784,7 @@ const open: ModelDef[] = [
vendor: "Naturalpad InstantHMR + Meta MHR",
family: "instanthmr",
kind: "image",
- tagline: "Every person's 3D body from a photo: drawn over it, a skinned GLB and the pose · 4 GB GPU",
+ tagline: "Every person's 3D body from a photo: drawn over each person's whole outline, a skinned GLB and the pose · 8 GB GPU",
routes: [{ ...comfy(BODY_DOUBLE.photoOp, BODY_DOUBLE.photoGraph, "RT-DETR finds the people, InstantHMR medium recovers each body"), maxImages: 1 }],
options: { promptless: true, maxImages: 1, requires: { images: 1, msg: "Add a photo with people in it" } },
hidden: true,
@@ -2795,7 +2795,7 @@ const open: ModelDef[] = [
vendor: "Naturalpad InstantHMR + Meta MHR",
family: "instanthmr",
kind: "video",
- tagline: "Motion capture from a clip: the body over every frame, an animated skinned GLB and the pose video · 6 GB GPU",
+ tagline: "Motion capture from a clip: the body over every frame, an animated skinned GLB and the pose video · 10 GB GPU",
routes: [comfy(BODY_DOUBLE.clipOp, BODY_DOUBLE.clipGraph, "24 fps, up to 15 s, smoothed")],
options: { promptless: true },
hidden: true,
diff --git a/src/lib/licences.ts b/src/lib/licences.ts
index bd18fbe9..5f1122b2 100644
--- a/src/lib/licences.ts
+++ b/src/lib/licences.ts
@@ -678,6 +678,13 @@ export const NODE_PACKS: NodePack[] = [
url: SPDX("Apache-2.0"),
note: "jtydhr88's InstantHMR nodes; Apache-2.0 code. The InstantHMR weights are under the SAM License: the nano to medium files are non-commercial (some training images are research-only), and instanthmr_medium_commercial allows commercial use under its terms. The MHR body model is Apache-2.0",
}),
+ // Body Double's own pack, in this repository at its pinned commit (comfy-nodes/ComfyUI-BodyDouble).
+ pack("ComfyUI-BodyDouble", "https://github.com/workingprototype/Fuobe/tree/26d386bdacb371d06aa2325ac1b90373a11ff6b7/comfy-nodes/ComfyUI-BodyDouble", {
+ name: "MIT",
+ class: "commercial",
+ url: SPDX("MIT"),
+ note: "Fuobe's own pack: lines each 3D body up with its person and draws the double over the whole outline from the picture's own geometry",
+ }),
// NVIDIA RTX Video (Quick · RTX, RTX Frame Generation, RTX Video HDR): an NVIDIA RTX card only; installed on RTX hosts.
pack("ComfyUI_Nvidia_VFX_Nodes", "https://github.com/Comfy-Org/ComfyUI_Nvidia_VFX_Nodes/tree/38d790ded00650681fa3645362efe28c8560cf40", {
name: "Apache-2.0",
diff --git a/src/lib/own-setup.ts b/src/lib/own-setup.ts
index aeab7f4d..7b7e9367 100644
--- a/src/lib/own-setup.ts
+++ b/src/lib/own-setup.ts
@@ -108,8 +108,8 @@ const ITEMS: Record<string, Entry> = {
"cinema:world": { setup: gpu(24, { files: true }) },
// Body Double's photo and clip runs (InstantHMR and its pack), on this studio's GPU once a real render passes there.
// Live needs no setup: it runs in the visitor's own browser.
- "oss-body-double": { setup: gpu(4, { files: true }), passes: "body-double-photo" },
- "oss-body-double-video": { setup: gpu(6, { files: true }), passes: "body-double-clip" },
+ "oss-body-double": { setup: gpu(8, { files: true }), passes: "body-double-photo" },
+ "oss-body-double-video": { setup: gpu(10, { files: true }), passes: "body-double-clip" },
"oss-hy-nomas-world": { setup: gpu(24, { files: true }) },
};
diff --git a/tests/body-double.test.ts b/tests/body-double.test.ts
index bfdf7f3d..98a6f3ab 100644
--- a/tests/body-double.test.ts
+++ b/tests/body-double.test.ts
@@ -67,7 +67,7 @@ describe("Body Double in the catalog", () => {
const c = plan(B.bodyDoubleRequest({ kind: "video", ref: "/api/files/a.mp4", look: "skeleton" }));
expect(c.model.id).toBe("oss-body-double-video");
expect(c.op).toBe("body-capture-video");
- expect(B.bodyDoubleRequest({ kind: "video", ref: "x", look: "skeleton" }).params?.extra).toEqual({ renderStyle: "scail", shader: "normals", opacity: 1 });
+ expect(B.bodyDoubleRequest({ kind: "video", ref: "x", look: "skeleton" }).params?.extra).toEqual({ look: "skeleton" });
// An unknown look is the default one.
expect(B.bodyLook("sparkly").value).toBe("holo");
});
@@ -86,15 +86,24 @@ describe("Body Double's graphs", () => {
for (const id of [PHOTO, CLIP]) {
const e = entry(id);
expect(e.validated, id).toBe(true);
- expect(e.models.map((m) => m.file).sort()).toEqual(["instanthmr_medium.safetensors", "rt_detr_v4-x-hgnet_fp16.safetensors", "sam_3d_body_dinov3_int8_convrot.safetensors"]);
- for (const m of e.models) expect(m.url, m.file).toMatch(/^https:\/\/huggingface\.co\/[^/]+\/[^/]+\/resolve\/[0-9a-f]{40}\//);
- expect(e.customNodes.map((c) => c.name)).toContain("ComfyUI-InstantHMR");
+ expect(e.models.map((m) => m.file).sort()).toEqual([
+ "instanthmr_medium.safetensors",
+ "moge_2_vitl_normal_fp16.safetensors",
+ "rt_detr_v4-x-hgnet_fp16.safetensors",
+ "sam3.1_multiplex_fp16.safetensors",
+ "sam_3d_body_dinov3_int8_convrot.safetensors",
+ ]);
+ expect(e.customNodes.map((c) => c.name)).toEqual(expect.arrayContaining(["ComfyUI-InstantHMR", "ComfyUI-BodyDouble"]));
expect(e.outputs.map((o) => [o.kind, o.role ?? null])).toEqual([[id === PHOTO ? "image" : "video", null], ["model3d", "body"], [id === PHOTO ? "image" : "video", "pose"]]);
}
- const pins = read("model-pins.json") as Record<string, { sha256: string }>;
- for (const m of entry(PHOTO).models) expect(pins[m.url!]?.sha256, m.file).toMatch(/^[0-9a-f]{64}$/);
- const packs = read("packs.json") as Record<string, { commit: string }>;
+ const req = read("requirements.json") as { workflows: Record<string, { files: string[]; packs: Record<string, string[]> }> };
+ for (const id of [PHOTO, CLIP]) {
+ expect(req.workflows[id].files).toEqual(expect.arrayContaining(["detection/instanthmr_medium.safetensors", "geometry_estimation/moge_2_vitl_normal_fp16.safetensors"]));
+ expect(Object.keys(req.workflows[id].packs)).toEqual(expect.arrayContaining(["ComfyUI-InstantHMR", "ComfyUI-BodyDouble"]));
+ }
+ const packs = read("packs.json") as Record<string, { commit: string; subdir: string | null }>;
expect(packs["ComfyUI-InstantHMR"].commit).toMatch(/^[0-9a-f]{40}$/);
+ expect(packs["ComfyUI-BodyDouble"]).toMatchObject({ subdir: "comfy-nodes/ComfyUI-BodyDouble" });
});
it("keep metadata out of saved clips", () => {
@@ -103,17 +112,38 @@ describe("Body Double's graphs", () => {
});
it("bind the input, the look and the run's prefix", async () => {
- const { workflow } = await prepare(PHOTO, "body-capture", { images: ["photo.png"], extra: { renderStyle: "mesh", shader: "rainbow", opacity: 0.9 } } as GenInput);
+ const { workflow } = await prepare(PHOTO, "body-capture", { images: ["photo.png"], extra: { look: "thermal" } } as GenInput);
expect(at(PHOTO, workflow, "image")).toEqual(["photo.png"]);
- expect(at(PHOTO, workflow, "shader")).toEqual(["rainbow"]);
- expect(at(PHOTO, workflow, "opacity")).toEqual([0.9]);
- expect(at(PHOTO, workflow, "renderStyle")).toEqual(["mesh"]);
- const { workflow: clip } = await prepare(CLIP, "body-capture-video", { video: "clip.mp4", extra: { renderStyle: "scail", shader: "normals", opacity: 1 } } as GenInput);
+ expect(at(PHOTO, workflow, "look")).toEqual(["thermal"]);
+ const { workflow: clip } = await prepare(CLIP, "body-capture-video", { video: "clip.mp4", extra: { look: "skeleton" } } as GenInput);
expect(at(CLIP, clip, "video")).toEqual(["clip.mp4"]);
- expect(at(CLIP, clip, "renderStyle")).toEqual(["scail"]);
+ expect(at(CLIP, clip, "look")).toEqual(["skeleton"]);
for (const p of at(CLIP, clip, "filenamePrefix")) expect(p).toBe("fuobe/g");
});
+ it("draw the double over each person's whole outline: SAM 3.1 in every person box, MoGe normals and depth", () => {
+ for (const id of [PHOTO, CLIP]) {
+ const wf = read(`${id}.json`) as ComfyWorkflow;
+ const look = Object.values(wf).find((n) => n.class_type === "BodyDoubleLook")!;
+ const from = (input: string) => wf[String((look.inputs[input] as [string, number])[0])];
+ expect(from("mask").class_type).toBe("GrowMask");
+ const sam = wf[String((from("mask").inputs.mask as [string, number])[0])];
+ expect(sam.class_type).toBe("SAM3_Detect");
+ expect(wf[String((sam.inputs.bboxes as [string, number])[0])].class_type).toBe("RTDETR_detect");
+ expect(from("normals").inputs.output).toBe("normal_opengl");
+ expect(from("depth").inputs.output).toBe("depth");
+ expect(from("skeleton").class_type).toBe("SAM3DBody_Render");
+ }
+ });
+
+ it("line the bodies up with their people before the pose, the skeleton and the 3D file", () => {
+ for (const id of [PHOTO, CLIP]) {
+ const wf = read(`${id}.json`) as ComfyWorkflow;
+ const fit = Object.entries(wf).find(([, n]) => n.class_type === "BodyDoubleFit")![0];
+ for (const n of Object.values(wf)) if (n.class_type === "SAM3DBody_Render" || n.class_type === "BuildPoseFile") expect((n.inputs.pose_data as [string, number])[0]).toBe(fit);
+ }
+ });
+
it("export a skinned body (body_mesh with the SAM 3D Body rig), never the simple stick figure", () => {
for (const id of [PHOTO, CLIP]) {
const wf = read(`${id}.json`) as ComfyWorkflow;
diff --git a/workflows/comfyui/body-double-clip-instanthmr.json b/workflows/comfyui/body-double-clip-instanthmr.json
index 863ff7f1..9a5ae73f 100644
--- a/workflows/comfyui/body-double-clip-instanthmr.json
+++ b/workflows/comfyui/body-double-clip-instanthmr.json
@@ -33,7 +33,7 @@
0
],
"image": [
- "13",
+ "15",
0
],
"threshold": 0.5,
@@ -61,7 +61,7 @@
0
],
"image": [
- "13",
+ "15",
0
],
"bboxes": [
@@ -76,38 +76,22 @@
}
},
"6": {
- "class_type": "SAM3DBody_Render",
+ "class_type": "BodyDoubleFit",
"inputs": {
- "pose_data": [
+ "mhr_pose_data": [
"14",
0
- ],
- "width": 0,
- "height": 0,
- "background": [
- "13",
- 0
- ],
- "render_style": "mesh",
- "render_style.shader": "normals",
- "render_style.shader.rainbow_tilt_z": -35,
- "render_style.shader.rainbow_tilt_x": 0,
- "render_style.opacity": 0.92,
- "render_style.person_palette_falloff": 0.6,
- "render_style.region": "full_body",
- "render_style.radius_m": 0.022,
- "render_style.hand_style": "dwpose",
- "render_style.face_style": "disabled"
+ ]
},
"_meta": {
- "title": "Body over the clip (the look)"
+ "title": "Line each body up with its person"
}
},
"7": {
"class_type": "VHS_VideoCombine",
"inputs": {
"images": [
- "6",
+ "40",
0
],
"frame_rate": 24,
@@ -129,7 +113,7 @@
"class_type": "SAM3DBody_Render",
"inputs": {
"pose_data": [
- "14",
+ "6",
0
],
"width": 0,
@@ -179,7 +163,7 @@
"class_type": "BuildPoseFile",
"inputs": {
"pose_data": [
- "14",
+ "6",
0
],
"sam3d_body_model": [
@@ -213,17 +197,26 @@
}
},
"13": {
- "class_type": "ImageScaleToMaxDimension",
+ "class_type": "SAM3DBody_Render",
"inputs": {
- "image": [
- "1",
+ "pose_data": [
+ "6",
0
],
- "upscale_method": "area",
- "largest_size": 960
+ "width": 0,
+ "height": 0,
+ "background": [
+ "15",
+ 0
+ ],
+ "render_style": "scail",
+ "render_style.radius_m": 0.022,
+ "render_style.hand_style": "dwpose",
+ "render_style.face_style": "disabled",
+ "render_style.person_palette_falloff": 0.6
},
"_meta": {
- "title": "Long side 960 px"
+ "title": "SCAIL skeleton over the picture (Skeleton look)"
}
},
"14": {
@@ -241,5 +234,152 @@
"_meta": {
"title": "Steady motion"
}
+ },
+ "15": {
+ "class_type": "ImageScaleToMaxDimension",
+ "inputs": {
+ "image": [
+ "1",
+ 0
+ ],
+ "upscale_method": "area",
+ "largest_size": 960
+ },
+ "_meta": {
+ "title": "Long side 960 px"
+ }
+ },
+ "20": {
+ "class_type": "CheckpointLoaderSimple",
+ "inputs": {
+ "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "SAM 3.1"
+ }
+ },
+ "21": {
+ "class_type": "SAM3_Detect",
+ "inputs": {
+ "model": [
+ "20",
+ 0
+ ],
+ "image": [
+ "15",
+ 0
+ ],
+ "threshold": 0.4,
+ "refine_iterations": 2,
+ "individual_masks": false,
+ "bboxes": [
+ "3",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Each person's whole outline (inside their box)"
+ }
+ },
+ "22": {
+ "class_type": "GrowMask",
+ "inputs": {
+ "mask": [
+ "21",
+ 0
+ ],
+ "expand": 2,
+ "tapered_corners": true
+ },
+ "_meta": {
+ "title": "Outline, 2 px out"
+ }
+ },
+ "30": {
+ "class_type": "LoadMoGeModel",
+ "inputs": {
+ "model_name": "moge_2_vitl_normal_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "MoGe-2"
+ }
+ },
+ "31": {
+ "class_type": "MoGeInference",
+ "inputs": {
+ "moge_model": [
+ "30",
+ 0
+ ],
+ "image": [
+ "15",
+ 0
+ ],
+ "resolution_level": 9,
+ "fov_x_degrees": 0,
+ "batch_size": 4,
+ "force_projection": true,
+ "apply_mask": false,
+ "refine_steps": 0
+ },
+ "_meta": {
+ "title": "The picture's geometry"
+ }
+ },
+ "32": {
+ "class_type": "MoGeRender",
+ "inputs": {
+ "moge_geometry": [
+ "31",
+ 0
+ ],
+ "output": "normal_opengl"
+ },
+ "_meta": {
+ "title": "Normals"
+ }
+ },
+ "33": {
+ "class_type": "MoGeRender",
+ "inputs": {
+ "moge_geometry": [
+ "31",
+ 0
+ ],
+ "output": "depth"
+ },
+ "_meta": {
+ "title": "Depth (near is bright)"
+ }
+ },
+ "40": {
+ "class_type": "BodyDoubleLook",
+ "inputs": {
+ "image": [
+ "15",
+ 0
+ ],
+ "mask": [
+ "22",
+ 0
+ ],
+ "look": "holo",
+ "normals": [
+ "32",
+ 0
+ ],
+ "depth": [
+ "33",
+ 0
+ ],
+ "skeleton": [
+ "13",
+ 0
+ ],
+ "feather": 1.5
+ },
+ "_meta": {
+ "title": "Every person's double in the look"
+ }
}
}
diff --git a/workflows/comfyui/body-double-photo-instanthmr.json b/workflows/comfyui/body-double-photo-instanthmr.json
index 8f80a4c2..1d2652cf 100644
--- a/workflows/comfyui/body-double-photo-instanthmr.json
+++ b/workflows/comfyui/body-double-photo-instanthmr.json
@@ -69,38 +69,22 @@
}
},
"6": {
- "class_type": "SAM3DBody_Render",
+ "class_type": "BodyDoubleFit",
"inputs": {
- "pose_data": [
+ "mhr_pose_data": [
"5",
0
- ],
- "width": 0,
- "height": 0,
- "background": [
- "1",
- 0
- ],
- "render_style": "mesh",
- "render_style.shader": "normals",
- "render_style.shader.rainbow_tilt_z": -35,
- "render_style.shader.rainbow_tilt_x": 0,
- "render_style.opacity": 0.92,
- "render_style.person_palette_falloff": 0.6,
- "render_style.region": "full_body",
- "render_style.radius_m": 0.022,
- "render_style.hand_style": "dwpose",
- "render_style.face_style": "disabled"
+ ]
},
"_meta": {
- "title": "Bodies over the photo (the look)"
+ "title": "Line each body up with its person"
}
},
"7": {
"class_type": "SaveImage",
"inputs": {
"images": [
- "6",
+ "40",
0
],
"filename_prefix": "fuobe/body-double-photo-instanthmr"
@@ -113,7 +97,7 @@
"class_type": "SAM3DBody_Render",
"inputs": {
"pose_data": [
- "5",
+ "6",
0
],
"width": 0,
@@ -154,7 +138,7 @@
"class_type": "BuildPoseFile",
"inputs": {
"pose_data": [
- "5",
+ "6",
0
],
"sam3d_body_model": [
@@ -186,5 +170,161 @@
"_meta": {
"title": "3D bodies"
}
+ },
+ "13": {
+ "class_type": "SAM3DBody_Render",
+ "inputs": {
+ "pose_data": [
+ "6",
+ 0
+ ],
+ "width": 0,
+ "height": 0,
+ "background": [
+ "1",
+ 0
+ ],
+ "render_style": "scail",
+ "render_style.radius_m": 0.022,
+ "render_style.hand_style": "dwpose",
+ "render_style.face_style": "disabled",
+ "render_style.person_palette_falloff": 0.6
+ },
+ "_meta": {
+ "title": "SCAIL skeleton over the picture (Skeleton look)"
+ }
+ },
+ "20": {
+ "class_type": "CheckpointLoaderSimple",
+ "inputs": {
+ "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "SAM 3.1"
+ }
+ },
+ "21": {
+ "class_type": "SAM3_Detect",
+ "inputs": {
+ "model": [
+ "20",
+ 0
+ ],
+ "image": [
+ "1",
+ 0
+ ],
+ "threshold": 0.4,
+ "refine_iterations": 2,
+ "individual_masks": false,
+ "bboxes": [
+ "3",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Each person's whole outline (inside their box)"
+ }
+ },
+ "22": {
+ "class_type": "GrowMask",
+ "inputs": {
+ "mask": [
+ "21",
+ 0
+ ],
+ "expand": 2,
+ "tapered_corners": true
+ },
+ "_meta": {
+ "title": "Outline, 2 px out"
+ }
+ },
+ "30": {
+ "class_type": "LoadMoGeModel",
+ "inputs": {
+ "model_name": "moge_2_vitl_normal_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "MoGe-2"
+ }
+ },
+ "31": {
+ "class_type": "MoGeInference",
+ "inputs": {
+ "moge_model": [
+ "30",
+ 0
+ ],
+ "image": [
+ "1",
+ 0
+ ],
+ "resolution_level": 9,
+ "fov_x_degrees": 0,
+ "batch_size": 4,
+ "force_projection": true,
+ "apply_mask": false,
+ "refine_steps": 0
+ },
+ "_meta": {
+ "title": "The picture's geometry"
+ }
+ },
+ "32": {
+ "class_type": "MoGeRender",
+ "inputs": {
+ "moge_geometry": [
+ "31",
+ 0
+ ],
+ "output": "normal_opengl"
+ },
+ "_meta": {
+ "title": "Normals"
+ }
+ },
+ "33": {
+ "class_type": "MoGeRender",
+ "inputs": {
+ "moge_geometry": [
+ "31",
+ 0
+ ],
+ "output": "depth"
+ },
+ "_meta": {
+ "title": "Depth (near is bright)"
+ }
+ },
+ "40": {
+ "class_type": "BodyDoubleLook",
+ "inputs": {
+ "image": [
+ "1",
+ 0
+ ],
+ "mask": [
+ "22",
+ 0
+ ],
+ "look": "holo",
+ "normals": [
+ "32",
+ 0
+ ],
+ "depth": [
+ "33",
+ 0
+ ],
+ "skeleton": [
+ "13",
+ 0
+ ],
+ "feather": 1.5
+ },
+ "_meta": {
+ "title": "Every person's double in the look"
+ }
}
}
diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.json
index 306ef38d..079a3dc6 100644
--- a/workflows/comfyui/manifest.json
+++ b/workflows/comfyui/manifest.json
@@ -28925,7 +28925,7 @@
},
{
"id": "body-double-photo-instanthmr",
- "title": "Body Double photo (InstantHMR: every person's 3D body, a pose render and a skinned GLB)",
+ "title": "Body Double photo (every person's double over their whole outline, a pose render and a skinned GLB)",
"capability": "body-capture",
"file": "body-double-photo-instanthmr.json",
"source": "hand-built (scripts/comfy/hand-built/body-double-photo-instanthmr.json)",
@@ -28936,22 +28936,10 @@
"input": "image"
}
],
- "renderStyle": [
+ "look": [
{
- "node": "6",
- "input": "render_style"
- }
- ],
- "shader": [
- {
- "node": "6",
- "input": "render_style.shader"
- }
- ],
- "opacity": [
- {
- "node": "6",
- "input": "render_style.opacity"
+ "node": "40",
+ "input": "look"
}
],
"maxPeople": [
@@ -28992,9 +28980,7 @@
}
],
"defaults": {
- "renderStyle": "mesh",
- "shader": "normals",
- "opacity": 0.92,
+ "look": "holo",
"maxPeople": 8
},
"limits": {
@@ -29019,22 +29005,38 @@
"folder": "detection",
"url": "https://huggingface.co/Comfy-Org/sam-3d-body/resolve/7c974aea58e062252a6cb5b6f9b7f639d545b729/detection/sam_3d_body_dinov3_int8_convrot.safetensors",
"sizeGb": 1.99
+ },
+ {
+ "file": "sam3.1_multiplex_fp16.safetensors",
+ "folder": "checkpoints",
+ "url": "https://huggingface.co/Comfy-Org/sam3.1/resolve/main/checkpoints/sam3.1_multiplex_fp16.safetensors",
+ "sizeGb": 1.75
+ },
+ {
+ "file": "moge_2_vitl_normal_fp16.safetensors",
+ "folder": "geometry_estimation",
+ "url": "https://huggingface.co/Comfy-Org/MoGe/resolve/main/geometry_estimation/moge_2_vitl_normal_fp16.safetensors",
+ "sizeGb": 0.66
}
],
"customNodes": [
+ {
+ "name": "ComfyUI-BodyDouble",
+ "repo": "https://github.com/workingprototype/Fuobe/tree/26d386bdacb371d06aa2325ac1b90373a11ff6b7/comfy-nodes/ComfyUI-BodyDouble"
+ },
{
"name": "ComfyUI-InstantHMR",
"repo": "https://github.com/jtydhr88/ComfyUI-InstantHMR"
}
],
- "vramGb": 4,
- "license": "InstantHMR weights SAM License: the medium file is NON-COMMERCIAL (some training images are research-only); instanthmr_medium_commercial is the commercial-use variant. ComfyUI-InstantHMR code Apache-2.0; MHR body model Apache-2.0; RT-DETR v4 Apache-2.0; SAM 3D Body (its rig, for the skinned GLB) SAM License, commercial use allowed under its terms; VideoHelperSuite GPL-3.0 code",
+ "vramGb": 8,
+ "license": "InstantHMR weights SAM License: the medium file is NON-COMMERCIAL (some training images are research-only); instanthmr_medium_commercial is the commercial-use variant. ComfyUI-InstantHMR code Apache-2.0; ComfyUI-BodyDouble MIT; MHR body model Apache-2.0; RT-DETR v4 Apache-2.0; SAM 3.1 and SAM 3D Body (its rig, for the skinned GLB) under Meta's SAM License, commercial use allowed under its terms; MoGe-2 MIT; VideoHelperSuite GPL-3.0 code",
"validated": true,
- "notes": "RT-DETR v4 x (fp16, class person, threshold 0.5, up to maxPeople boxes) -> InstantHMR medium (HGNetV2-B4, 288 px square crops 1.2x the box, focal 1.05x the image diagonal) -> one MHR body per person (pose, shape, hands, 70 keypoints, 18,439-vertex mesh). No person found: the whole frame is one person. The look is one SAM3DBody_Render: renderStyle mesh with shader normals (Holo, default), default (Clay), rainbow (Thermal), depth (X-ray), opacity over the photo; renderStyle scail draws the SCAIL skeleton over the photo instead. Every style's dotted keys stay in the graph (ComfyUI ignores the ones a style does not use). Role pose: the SCAIL render on black, the input SCAIL-style motion models read. Role body: BuildPoseFile body_mesh with the SAM 3D Body int8 rig: one skinned mesh per person (127 joints, 72 face morph targets), centred, about 17 MB. CPU only: about 3 s a photo once loaded; the network itself is about 1 ms a person on a desktop GPU."
+ "notes": "RT-DETR v4 x (fp16, class person, threshold 0.5, up to maxPeople boxes) -> InstantHMR medium (HGNetV2-B4, 288 px square crops 1.2x the box, focal 1.05x the image diagonal) -> one MHR body per person -> BodyDoubleFit (each body moved so its 3D keypoints land on its 2D keypoints; the network's translation is kept when the fit runs away). The double covers each person's whole outline, clothes and hair included: SAM 3.1 segments every RT-DETR person box (one mask per frame), MoGe-2 (resolution 9) gives the picture's normals and depth, and BodyDoubleLook fills the mask in the look: holo (normals), clay (normals lit from above left), thermal (nearness and facing on a Turbo colour map), ghost (holo at half strength), xray (cyan glass with bright rims) or skeleton (the SCAIL skeleton over the picture). Role pose: the SCAIL render on black. Role body: BuildPoseFile body_mesh with the SAM 3D Body int8 rig: one skinned mesh per person (127 joints, 72 face morph targets), centred. On a CPU alone: about 2.5 min a 2048 px photo, most of it MoGe; seconds on a GPU."
},
{
"id": "body-double-clip-instanthmr",
- "title": "Body Double clip (InstantHMR motion capture: the body over every frame, a pose video and an animated skinned GLB)",
+ "title": "Body Double clip (the double over every frame, a pose video and an animated skinned GLB)",
"capability": "body-capture-video",
"file": "body-double-clip-instanthmr.json",
"source": "hand-built (scripts/comfy/hand-built/body-double-clip-instanthmr.json)",
@@ -29051,22 +29053,10 @@
"input": "frame_load_cap"
}
],
- "renderStyle": [
+ "look": [
{
- "node": "6",
- "input": "render_style"
- }
- ],
- "shader": [
- {
- "node": "6",
- "input": "render_style.shader"
- }
- ],
- "opacity": [
- {
- "node": "6",
- "input": "render_style.opacity"
+ "node": "40",
+ "input": "look"
}
],
"filenamePrefix": [
@@ -29102,9 +29092,7 @@
],
"defaults": {
"frames": 360,
- "renderStyle": "mesh",
- "shader": "normals",
- "opacity": 0.92
+ "look": "holo"
},
"limits": {
"maxWidth": 4096,
@@ -29128,9 +29116,25 @@
"folder": "detection",
"url": "https://huggingface.co/Comfy-Org/sam-3d-body/resolve/7c974aea58e062252a6cb5b6f9b7f639d545b729/detection/sam_3d_body_dinov3_int8_convrot.safetensors",
"sizeGb": 1.99
+ },
+ {
+ "file": "sam3.1_multiplex_fp16.safetensors",
+ "folder": "checkpoints",
+ "url": "https://huggingface.co/Comfy-Org/sam3.1/resolve/main/checkpoints/sam3.1_multiplex_fp16.safetensors",
+ "sizeGb": 1.75
+ },
+ {
+ "file": "moge_2_vitl_normal_fp16.safetensors",
+ "folder": "geometry_estimation",
+ "url": "https://huggingface.co/Comfy-Org/MoGe/resolve/main/geometry_estimation/moge_2_vitl_normal_fp16.safetensors",
+ "sizeGb": 0.66
}
],
"customNodes": [
+ {
+ "name": "ComfyUI-BodyDouble",
+ "repo": "https://github.com/workingprototype/Fuobe/tree/26d386bdacb371d06aa2325ac1b90373a11ff6b7/comfy-nodes/ComfyUI-BodyDouble"
+ },
{
"name": "ComfyUI-InstantHMR",
"repo": "https://github.com/jtydhr88/ComfyUI-InstantHMR"
@@ -29140,10 +29144,10 @@
"repo": "https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite"
}
],
- "vramGb": 6,
- "license": "InstantHMR weights SAM License: the medium file is NON-COMMERCIAL (some training images are research-only); instanthmr_medium_commercial is the commercial-use variant. ComfyUI-InstantHMR code Apache-2.0; MHR body model Apache-2.0; RT-DETR v4 Apache-2.0; SAM 3D Body (its rig, for the skinned GLB) SAM License, commercial use allowed under its terms; VideoHelperSuite GPL-3.0 code",
+ "vramGb": 10,
+ "license": "InstantHMR weights SAM License: the medium file is NON-COMMERCIAL (some training images are research-only); instanthmr_medium_commercial is the commercial-use variant. ComfyUI-InstantHMR code Apache-2.0; ComfyUI-BodyDouble MIT; MHR body model Apache-2.0; RT-DETR v4 Apache-2.0; SAM 3.1 and SAM 3D Body (its rig, for the skinned GLB) under Meta's SAM License, commercial use allowed under its terms; MoGe-2 MIT; VideoHelperSuite GPL-3.0 code",
"validated": true,
- "notes": "VHS_LoadVideo at 24 fps, up to frames (360 = 15 s), scaled to 960 px on the long side -> RT-DETR v4 (the performer: the best person box per frame) -> InstantHMR medium -> SAM3DBody_Smooth (gaussian, window 7, flips over 30 degrees kept) -> the same look render as the photo graph over every frame (H.264, metadata off). Role pose: the SCAIL pose video on black, ready to drive a SCAIL-style motion transfer. Role body: BuildPoseFile body_mesh, an animated skinned GLB (127 joints, 72 face morphs, 24 fps, camera translation absolute) for Blender, Unreal or any glTF tool. The clip's sound is not carried. CPU only: about 95 s for 4 s of video including the first model loads."
+ "notes": "VHS_LoadVideo at 24 fps, up to frames (360 = 15 s), scaled to 960 px on the long side -> RT-DETR v4 (the performer: the best person box per frame) -> InstantHMR medium -> SAM3DBody_Smooth (gaussian, window 7, flips over 30 degrees kept) -> BodyDoubleFit. The double covers each person's whole outline, clothes and hair included: SAM 3.1 segments every RT-DETR person box (one mask per frame), MoGe-2 (resolution 9) gives the picture's normals and depth, and BodyDoubleLook fills the mask in the look: holo (normals), clay (normals lit from above left), thermal (nearness and facing on a Turbo colour map), ghost (holo at half strength), xray (cyan glass with bright rims) or skeleton (the SCAIL skeleton over the picture). Thermal and xray use one depth range for the whole clip, so their colours hold still. H.264, metadata off. Role pose: the SCAIL pose video on black. Role body: BuildPoseFile body_mesh, an animated skinned GLB (127 joints, 72 face morphs, 24 fps, camera translation absolute). The clip's sound is not carried. RTX 5090: SAM 3.1 and MoGe-2 take about 2 min for 124 frames (5 s)."
}
]
}
diff --git a/workflows/comfyui/object_info.subset.json b/workflows/comfyui/object_info.subset.json
index 72e4dbf4..462a8222 100644
--- a/workflows/comfyui/object_info.subset.json
+++ b/workflows/comfyui/object_info.subset.json
@@ -3310,6 +3310,152 @@
"essentials_category": null,
"has_intermediate_output": false
},
+ "BodyDoubleFit": {
+ "input": {
+ "required": {
+ "mhr_pose_data": [
+ "MHR_POSE_DATA",
+ {}
+ ]
+ }
+ },
+ "input_order": {
+ "required": [
+ "mhr_pose_data"
+ ]
+ },
+ "is_input_list": false,
+ "output": [
+ "MHR_POSE_DATA"
+ ],
+ "output_is_list": [
+ false
+ ],
+ "output_name": [
+ "mhr_pose_data"
+ ],
+ "output_tooltips": [
+ null
+ ],
+ "output_matchtypes": null,
+ "name": "BodyDoubleFit",
+ "display_name": "Body Double Fit",
+ "description": "Line each body up with its person: its 3D keypoints are moved onto its 2D keypoints.",
+ "python_module": "custom_nodes.ComfyUI-BodyDouble",
+ "category": "image/detection",
+ "output_node": false,
+ "deprecated": false,
+ "experimental": false,
+ "dev_only": false,
+ "api_node": false,
+ "price_badge": null,
+ "search_aliases": null,
+ "essentials_category": null,
+ "has_intermediate_output": false
+ },
+ "BodyDoubleLook": {
+ "input": {
+ "required": {
+ "image": [
+ "IMAGE",
+ {}
+ ],
+ "mask": [
+ "MASK",
+ {
+ "tooltip": "The people: SAM 3 masks, one per frame"
+ }
+ ],
+ "look": [
+ "COMBO",
+ {
+ "default": "holo",
+ "multiselect": false,
+ "options": [
+ "holo",
+ "clay",
+ "thermal",
+ "ghost",
+ "xray",
+ "skeleton"
+ ]
+ }
+ ],
+ "feather": [
+ "FLOAT",
+ {
+ "tooltip": "Soft edge of the outline, px",
+ "advanced": true,
+ "default": 1.5,
+ "min": 0,
+ "max": 16,
+ "step": 0.5
+ }
+ ]
+ },
+ "optional": {
+ "normals": [
+ "IMAGE",
+ {
+ "tooltip": "MoGe normal map (OpenGL) of the same frames"
+ }
+ ],
+ "depth": [
+ "IMAGE",
+ {
+ "tooltip": "MoGe depth render of the same frames (near is bright)"
+ }
+ ],
+ "skeleton": [
+ "IMAGE",
+ {
+ "tooltip": "The SCAIL skeleton drawn over the frames"
+ }
+ ]
+ }
+ },
+ "input_order": {
+ "required": [
+ "image",
+ "mask",
+ "look",
+ "feather"
+ ],
+ "optional": [
+ "normals",
+ "depth",
+ "skeleton"
+ ]
+ },
+ "is_input_list": false,
+ "output": [
+ "IMAGE"
+ ],
+ "output_is_list": [
+ false
+ ],
+ "output_name": [
+ "image"
+ ],
+ "output_tooltips": [
+ null
+ ],
+ "output_matchtypes": null,
+ "name": "BodyDoubleLook",
+ "display_name": "Body Double Look",
+ "description": "Every person's double over their whole outline, clothes and hair included, in one look.",
+ "python_module": "custom_nodes.ComfyUI-BodyDouble",
+ "category": "image",
+ "output_node": false,
+ "deprecated": false,
+ "experimental": false,
+ "dev_only": false,
+ "api_node": false,
+ "price_badge": null,
+ "search_aliases": null,
+ "essentials_category": null,
+ "has_intermediate_output": false
+ },
"BuildPoseFile": {
"input": {
"required": {
diff --git a/workflows/comfyui/packs.json b/workflows/comfyui/packs.json
index 3afa4113..997143f7 100644
--- a/workflows/comfyui/packs.json
+++ b/workflows/comfyui/packs.json
@@ -608,5 +608,14 @@
"folders": [
"detection"
]
+ },
+ "ComfyUI-BodyDouble": {
+ "repo": "https://github.com/workingprototype/Fuobe",
+ "commit": "26d386bdacb371d06aa2325ac1b90373a11ff6b7",
+ "registry": null,
+ "requirementsTxt": false,
+ "isolated": false,
+ "subdir": "comfy-nodes/ComfyUI-BodyDouble",
+ "folders": []
}
}
diff --git a/workflows/comfyui/requirements.json b/workflows/comfyui/requirements.json
index 79d798b8..be083db2 100644
--- a/workflows/comfyui/requirements.json
+++ b/workflows/comfyui/requirements.json
@@ -1,11 +1,12 @@
{
"v": 1,
- "hash": "0de0196d90e5823ce56c7f382b71e3c0bc2fe21d3167f739eca40afd4dc38fef",
+ "hash": "da5907ee0695ef658e923999ac5f6b5c627cc91ff2b546119b943c7b33c01807",
"comfyui": {"min":"0.42.0","testedCommit":"5841c187"},
"folders": ["Hi3D","RMBG","audio_encoders","background_removal","checkpoints","clip_vision","dbs","detection","diffusion_models","facerestore_models","foley","frame_interpolation","geometry_estimation","insightface","kandinsky6_audio_vae","latent_upscale_models","loras","mmaudio","model_patches","optical_flow","reuse","sams","text_encoders","thinksound","upscale_models","vae"],
- "sentinels": ["AILab_FeyNoBg","AILab_Qwen3ASRSubtitle","AILab_Qwen3TTSVoiceClone_Advanced","AILab_Qwen3TTSVoiceDesign_Advanced","AILab_VRMBG","AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_ImageCropRotatePad","AUSBOSS_NODES_MaskByTouch","AUSBOSS_NODES_StitchInpaint","Add Subtitles To Frames","Apply Whisper","AuKGenerateEdit","AuKModelLoader","CFGOverride","ClothesSegment","ComfyMathExpression","CorridorKey2","CropFuobeLive","DBSLoader","DBSSeparate","DownloadAndLoadWav2VecModel","DualModelGuider","FL_ChatterboxDialogTTS","FL_ChatterboxMultilingualTTS","FL_ChatterboxVC","GetImageRangeFromBatch","GetImageSizeAndCount","GrowMaskWithBlur","H3AdaLNLoRAFix","H3AdvancedSwapPlan","H3CharacterSwapAssemble","H3CharacterSwapController","H3CharacterSwapExpandMask","H3CharacterSwapModels","H3CharacterSwapPrepareVideo","H3CharacterSwapRecoverMasks","H3CharacterSwapSelectSubject","H3CharacterSwapSettings","H3CharacterSwapShot","H3CharacterSwapWindowPlan","H3ClipShots","H3FaceChunks","H3FaceJoin","H3FaceMaskSAM","H3FaceStitch","H3FaceTrackCrop","H3FillShots","H3GreyMannequins","H3ObjectSwapPlan","H3PeopleMask","H3RelayAppendWindow","H3RelayApplyEditMask","H3RelayApplyHistory","H3RelayExpandMask","H3RelayFinishWindows","H3RelayPrepareSource","H3RelayRecoverMasks","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelaySelectMask","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan","H3RoleMask","H3SLAAttention","H3SoundtrackOrSilence","H3SourceSlice","H3SubjectPrompt","H3TrackCrops","H3TrackRoles","Hi3DLoadMesh","Hi3DModelLoader","Hi3DRefine","HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader","INTConstant","Ideogram4Scheduler","IdolCamera","IdolPreprocessImage","IdolPruneSplat","ImageBatchExtendWithOverlap","ImageDetailContrast","ImageGridtoBatch","ImageResizeKJv2","IndexTTS2Simple","InstantHMRLoader","InstantHMRPredict","Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6ImageToVideoAudio","Kandinsky6LatentUpscalerLoader","Kandinsky6RemoveReferenceLatent","Kandinsky6SRVAELoader","Kandinsky6Sampler","Kandinsky6TextEncode","Kandinsky6VSRUpscale","Krea2EditGroundedEncode","Krea2EditModelPatch","Krea2OstrisEditModelPatch","LTXAVTextEncoderLoader","LTXAddVideoICLoRAGuide","LTXICLoRALoaderModelOnly","LTXVAddGuide","LTXVAudioVAEDecode","LTXVAudioVAELoader","LTXVConcatAVLatent","LTXVConditioning","LTXVCropGuides","LTXVDualCFGGuider","LTXVEmptyLatentAudio","LTXVImgToVideoInplace","LTXVLatentUpsampler","LTXVPreprocess","LTXVScheduler","LTXVSeparateAVLatent","LTXVTiledFusionSampler","LatentSyncNode","LoadBackgroundRemovalModel","LoadImageFuobeLive","LoadVideoDepthAnythingModel","MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler","MelBandRoFormerModelLoader","MelBandRoFormerSampler","Metric3D-NormalMapPreprocessor","MiniMaxH3ChainAssemble","MiniMaxH3ChainContext","MiniMaxH3ChainCurrent","MiniMaxH3ChainLoopEnd","MiniMaxH3ChainLoopStart","MiniMaxH3ChainPlanModern","MiniMaxH3ChainReview","MiniMaxH3ChainSegmentSave","MiniMaxH3ContexMaskedTarget","MiniMaxH3FantasticVideoEditLatent","MiniMaxH3GenerationProfile","MiniMaxH3LoopTrim","MiniMaxH3SourceTimeline","MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler","MultiTalkModelLoader","MultiTalkWav2VecEmbeds","NomasCameraPath","NomasWorldContinue","NomasWorldGenerate","NomasWorldPrompt","OpenH3LoadRefinedLatent","OpenH3RegenFastVAEDecode","OpenH3RegenFinish","OpenH3RegenLora","OpenH3RegenPrepareDraft","OpenH3RegenRefineLatent","OpenH3RegenSigmas","OpenH3RegenUpscale","OpenH3SaveRefinedLatent","Orion4D_FXMax_DCTLToneMapper","PasteBackFuobeLive","QWMComposite","QWMDetect","QWMFinal","QWMPrepare","QWMRefineMask","QWMResidualDetect","Qwen21EncodeFuobeLive","Qwen21ReferenceFuobeLive","QwenImage21Cache","REUSEEnhance","REUSELoader","RIFE VFI","RMBG","RTXTrueHDR","RTXVideoFrameGeneration","RTXVideoSuperResolution","ReActorFaceSwap","RemakeConditioning","RemakeKeyframeUntil","RemakeNoise","RemoveBackground","SAM3DBody_Loader","SAM3DBody_Render","SAM3DBody_Smooth","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SAMLoader","SaveImageFuobeLive","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","SolarRendererConditioning","SolarRendererLoraLoader","SolarRendererModel","SolarRendererSigmas","TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO","TextEncodeFibo2","TextEncodeKrea2OstrisEdit","TextEncodeQwenImage21","ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","VHS_BatchManager","VHS_LoadAudioUpload","VHS_LoadVideo","VHS_SelectEveryNthImage","VHS_VideoCombine","VHS_VideoInfo","VHS_VideoInfoLoaded","VRAM_Debug","VideoDepthAnythingOutput","VideoDepthAnythingProcess","VideoLengthAdjuster","ViggleTurboLora","ViggleTurboSigmas","VoxCPM2_Clone","VoxCPM2_TTS","WanVideoBlockSwap","WanVideoClipVisionEncode","WanVideoDecode","WanVideoEncode","WanVideoImageToVideoMultiTalk","WanVideoLoraSelect","WanVideoModelLoader","WanVideoPassImagesFromSamples","WanVideoSampler","WanVideoTextEncodeCached","WanVideoVAELoader","ZenImage21AdapterLoader","ZenImage21TextEncode"],
+ "sentinels": ["AILab_FeyNoBg","AILab_Qwen3ASRSubtitle","AILab_Qwen3TTSVoiceClone_Advanced","AILab_Qwen3TTSVoiceDesign_Advanced","AILab_VRMBG","AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_ImageCropRotatePad","AUSBOSS_NODES_MaskByTouch","AUSBOSS_NODES_StitchInpaint","Add Subtitles To Frames","Apply Whisper","AuKGenerateEdit","AuKModelLoader","BodyDoubleFit","BodyDoubleLook","CFGOverride","ClothesSegment","ComfyMathExpression","CorridorKey2","CropFuobeLive","DBSLoader","DBSSeparate","DownloadAndLoadWav2VecModel","DualModelGuider","FL_ChatterboxDialogTTS","FL_ChatterboxMultilingualTTS","FL_ChatterboxVC","GetImageRangeFromBatch","GetImageSizeAndCount","GrowMaskWithBlur","H3AdaLNLoRAFix","H3AdvancedSwapPlan","H3CharacterSwapAssemble","H3CharacterSwapController","H3CharacterSwapExpandMask","H3CharacterSwapModels","H3CharacterSwapPrepareVideo","H3CharacterSwapRecoverMasks","H3CharacterSwapSelectSubject","H3CharacterSwapSettings","H3CharacterSwapShot","H3CharacterSwapWindowPlan","H3ClipShots","H3FaceChunks","H3FaceJoin","H3FaceMaskSAM","H3FaceStitch","H3FaceTrackCrop","H3FillShots","H3GreyMannequins","H3ObjectSwapPlan","H3PeopleMask","H3RelayAppendWindow","H3RelayApplyEditMask","H3RelayApplyHistory","H3RelayExpandMask","H3RelayFinishWindows","H3RelayPrepareSource","H3RelayRecoverMasks","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelaySelectMask","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan","H3RoleMask","H3SLAAttention","H3SoundtrackOrSilence","H3SourceSlice","H3SubjectPrompt","H3TrackCrops","H3TrackRoles","Hi3DLoadMesh","Hi3DModelLoader","Hi3DRefine","HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader","INTConstant","Ideogram4Scheduler","IdolCamera","IdolPreprocessImage","IdolPruneSplat","ImageBatchExtendWithOverlap","ImageDetailContrast","ImageGridtoBatch","ImageResizeKJv2","IndexTTS2Simple","InstantHMRLoader","InstantHMRPredict","Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6ImageToVideoAudio","Kandinsky6LatentUpscalerLoader","Kandinsky6RemoveReferenceLatent","Kandinsky6SRVAELoader","Kandinsky6Sampler","Kandinsky6TextEncode","Kandinsky6VSRUpscale","Krea2EditGroundedEncode","Krea2EditModelPatch","Krea2OstrisEditModelPatch","LTXAVTextEncoderLoader","LTXAddVideoICLoRAGuide","LTXICLoRALoaderModelOnly","LTXVAddGuide","LTXVAudioVAEDecode","LTXVAudioVAELoader","LTXVConcatAVLatent","LTXVConditioning","LTXVCropGuides","LTXVDualCFGGuider","LTXVEmptyLatentAudio","LTXVImgToVideoInplace","LTXVLatentUpsampler","LTXVPreprocess","LTXVScheduler","LTXVSeparateAVLatent","LTXVTiledFusionSampler","LatentSyncNode","LoadBackgroundRemovalModel","LoadImageFuobeLive","LoadVideoDepthAnythingModel","MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler","MelBandRoFormerModelLoader","MelBandRoFormerSampler","Metric3D-NormalMapPreprocessor","MiniMaxH3ChainAssemble","MiniMaxH3ChainContext","MiniMaxH3ChainCurrent","MiniMaxH3ChainLoopEnd","MiniMaxH3ChainLoopStart","MiniMaxH3ChainPlanModern","MiniMaxH3ChainReview","MiniMaxH3ChainSegmentSave","MiniMaxH3ContexMaskedTarget","MiniMaxH3FantasticVideoEditLatent","MiniMaxH3GenerationProfile","MiniMaxH3LoopTrim","MiniMaxH3SourceTimeline","MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler","MultiTalkModelLoader","MultiTalkWav2VecEmbeds","NomasCameraPath","NomasWorldContinue","NomasWorldGenerate","NomasWorldPrompt","OpenH3LoadRefinedLatent","OpenH3RegenFastVAEDecode","OpenH3RegenFinish","OpenH3RegenLora","OpenH3RegenPrepareDraft","OpenH3RegenRefineLatent","OpenH3RegenSigmas","OpenH3RegenUpscale","OpenH3SaveRefinedLatent","Orion4D_FXMax_DCTLToneMapper","PasteBackFuobeLive","QWMComposite","QWMDetect","QWMFinal","QWMPrepare","QWMRefineMask","QWMResidualDetect","Qwen21EncodeFuobeLive","Qwen21ReferenceFuobeLive","QwenImage21Cache","REUSEEnhance","REUSELoader","RIFE VFI","RMBG","RTXTrueHDR","RTXVideoFrameGeneration","RTXVideoSuperResolution","ReActorFaceSwap","RemakeConditioning","RemakeKeyframeUntil","RemakeNoise","RemoveBackground","SAM3DBody_Loader","SAM3DBody_Render","SAM3DBody_Smooth","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SAMLoader","SaveImageFuobeLive","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","SolarRendererConditioning","SolarRendererLoraLoader","SolarRendererModel","SolarRendererSigmas","TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO","TextEncodeFibo2","TextEncodeKrea2OstrisEdit","TextEncodeQwenImage21","ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","VHS_BatchManager","VHS_LoadAudioUpload","VHS_LoadVideo","VHS_SelectEveryNthImage","VHS_VideoCombine","VHS_VideoInfo","VHS_VideoInfoLoaded","VRAM_Debug","VideoDepthAnythingOutput","VideoDepthAnythingProcess","VideoLengthAdjuster","ViggleTurboLora","ViggleTurboSigmas","VoxCPM2_Clone","VoxCPM2_TTS","WanVideoBlockSwap","WanVideoClipVisionEncode","WanVideoDecode","WanVideoEncode","WanVideoImageToVideoMultiTalk","WanVideoLoraSelect","WanVideoModelLoader","WanVideoPassImagesFromSamples","WanVideoSampler","WanVideoTextEncodeCached","WanVideoVAELoader","ZenImage21AdapterLoader","ZenImage21TextEncode"],
"packs": {
"ComfyUI-AuK": {"repo":"https://github.com/Tencent-Hunyuan/AuK","commit":"0d40366b1039e37c6cad008ab4713f6ad6d954b7","classes":["AuKGenerateEdit","AuKModelLoader"],"folders":[],"isolated":false,"subdir":"comfyui/ComfyUI-AuK","requirementsTxt":false,"install":"manual"},
+ "ComfyUI-BodyDouble": {"repo":"https://github.com/workingprototype/Fuobe","commit":"26d386bdacb371d06aa2325ac1b90373a11ff6b7","classes":["BodyDoubleFit","BodyDoubleLook"],"folders":[],"isolated":false,"subdir":"comfy-nodes/ComfyUI-BodyDouble","requirementsTxt":false,"install":"manual"},
"ComfyUI-CorridorKey2": {"repo":"https://github.com/hashu786/ComfyUI-CorridorKey2","commit":"d1228b68796786acee92b6497f72a60d70d1a844","classes":["CorridorKey2"],"folders":["corridorkey2"],"isolated":false,"requirementsTxt":true,"install":"manual"},
"ComfyUI-DBS": {"repo":"https://github.com/hiroki-abe-58/ComfyUI-DBS","commit":"f656e53434b5485c148a2866fbd6ddc6b6152ed6","registry":{"id":"dbs-soundtrack-separation","version":""},"classes":["DBSLoader","DBSSeparate"],"folders":["dbs"],"isolated":false,"requirementsTxt":true,"install":"manual"},
"ComfyUI-Fantastic-MiniMaxH3-PromptBuilder": {"repo":"https://github.com/Adudeguyman/ComfyUI-Fantastic-MiniMaxH3-PromptBuilder","commit":"22e719fe89336c628383363182a4da3cb58d4f9b","classes":["MiniMaxH3FantasticVideoEditLatent"],"folders":[],"isolated":false,"requirementsTxt":false,"install":"manual"},
@@ -338,8 +339,8 @@
"audio-timeline": {"core":["AudioConcat","AudioMerge","EmptyAudio","LoadAudio","SaveAudio","TrimAudioDuration"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
"bg-remove-birefnet": {"core":["InvertMask","JoinImageWithAlpha","LoadBackgroundRemovalModel","LoadImage","RemoveBackground","SaveImage"],"packs":{},"files":["background_removal/birefnet.safetensors"],"optional":[],"vramGb":4,"isolated":false,"firstRun":[],"validated":true},
"bg-remove-rmbg": {"core":["LoadImage","SaveImage"],"packs":{"ComfyUI-RMBG":["RMBG"]},"files":[],"optional":[],"vramGb":4,"isolated":false,"firstRun":["ComfyUI-RMBG downloads the selected model (BEN2 -> models/RMBG/BEN2) from Hugging Face on first run"],"validated":true},
- "body-double-clip-instanthmr": {"core":["BuildPoseFile","ImageScaleToMaxDimension","RTDETR_detect","SAM3DBody_Loader","SAM3DBody_Render","SAM3DBody_Smooth","SaveGLB","UNETLoader"],"packs":{"ComfyUI-InstantHMR":["InstantHMRLoader","InstantHMRPredict"],"ComfyUI-VideoHelperSuite":["VHS_LoadVideo","VHS_VideoCombine"]},"files":["detection/instanthmr_medium.safetensors","detection/sam_3d_body_dinov3_int8_convrot.safetensors","diffusion_models/rt_detr_v4-x-hgnet_fp16.safetensors"],"optional":[],"vramGb":6,"isolated":false,"firstRun":[],"validated":true},
- "body-double-photo-instanthmr": {"core":["BuildPoseFile","LoadImage","RTDETR_detect","SAM3DBody_Loader","SAM3DBody_Render","SaveGLB","SaveImage","UNETLoader"],"packs":{"ComfyUI-InstantHMR":["InstantHMRLoader","InstantHMRPredict"]},"files":["detection/instanthmr_medium.safetensors","detection/sam_3d_body_dinov3_int8_convrot.safetensors","diffusion_models/rt_detr_v4-x-hgnet_fp16.safetensors"],"optional":[],"vramGb":4,"isolated":false,"firstRun":[],"validated":true},
+ "body-double-clip-instanthmr": {"core":["BuildPoseFile","CheckpointLoaderSimple","GrowMask","ImageScaleToMaxDimension","LoadMoGeModel","MoGeInference","MoGeRender","RTDETR_detect","SAM3DBody_Loader","SAM3DBody_Render","SAM3DBody_Smooth","SAM3_Detect","SaveGLB","UNETLoader"],"packs":{"ComfyUI-BodyDouble":["BodyDoubleFit","BodyDoubleLook"],"ComfyUI-InstantHMR":["InstantHMRLoader","InstantHMRPredict"],"ComfyUI-VideoHelperSuite":["VHS_LoadVideo","VHS_VideoCombine"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","detection/instanthmr_medium.safetensors","detection/sam_3d_body_dinov3_int8_convrot.safetensors","diffusion_models/rt_detr_v4-x-hgnet_fp16.safetensors","geometry_estimation/moge_2_vitl_normal_fp16.safetensors"],"optional":[],"vramGb":10,"isolated":false,"firstRun":[],"validated":true},
+ "body-double-photo-instanthmr": {"core":["BuildPoseFile","CheckpointLoaderSimple","GrowMask","LoadImage","LoadMoGeModel","MoGeInference","MoGeRender","RTDETR_detect","SAM3DBody_Loader","SAM3DBody_Render","SAM3_Detect","SaveGLB","SaveImage","UNETLoader"],"packs":{"ComfyUI-BodyDouble":["BodyDoubleFit","BodyDoubleLook"],"ComfyUI-InstantHMR":["InstantHMRLoader","InstantHMRPredict"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","detection/instanthmr_medium.safetensors","detection/sam_3d_body_dinov3_int8_convrot.safetensors","diffusion_models/rt_detr_v4-x-hgnet_fp16.safetensors","geometry_estimation/moge_2_vitl_normal_fp16.safetensors"],"optional":[],"vramGb":8,"isolated":false,"firstRun":[],"validated":true},
"captions-burnin": {"core":["ConcatenateVideo","CreateVideo","GetVideoComponents","LoadAudio","LoadVideo","SaveVideo","TextOverlay","Video Slice"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true,"cpu":true},
"captions-qwen3-asr": {"core":["LoadAudio","PreviewAny","SaveText"],"packs":{"ComfyUI-QwenASR":["AILab_Qwen3ASRSubtitle"]},"files":[],"optional":[],"vramGb":4,"isolated":false,"firstRun":["AILab_Qwen3ASRSubtitle downloads Qwen/Qwen3-ASR-0.6B-hf (1.56 GB) and Qwen/Qwen3-ForcedAligner-0.6B-hf (1.84 GB) into models/Qwen3-ASR on first run"],"validated":true},
"captions-whisper-burnin": {"core":["SaveText"],"packs":{"ComfyUI-VideoHelperSuite":["VHS_LoadVideo","VHS_VideoCombine","VHS_VideoInfoLoaded"],"ComfyUI-Whisper":["Add Subtitles To Frames","Apply Whisper"]},"files":[],"optional":[],"vramGb":6,"isolated":false,"firstRun":["Apply Whisper downloads large-v3-turbo.pt (1.62 GB) into models/stt/whisper on first run"],"validated":true},