{
  "id": "4125c6df-9bca-430d-8e85-7cff9cc592d4",
  "revision": 0,
  "last_node_id": 95,
  "last_link_id": 178,
  "nodes": [
    {
      "id": 3,
      "type": "ModelSamplingAuraFlow",
      "pos": [
        840,
        -600
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 16
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            19
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "ModelSamplingAuraFlow",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        1
      ]
    },
    {
      "id": 8,
      "type": "VAEDecodeHunyuan3D",
      "pos": [
        1150,
        -290
      ],
      "size": [
        270,
        102
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 8
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 18
        }
      ],
      "outputs": [
        {
          "name": "VOXEL",
          "type": "VOXEL",
          "links": [
            10
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "VAEDecodeHunyuan3D",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        8000,
        256
      ]
    },
    {
      "id": 9,
      "type": "VoxelToMesh",
      "pos": [
        1150,
        -130
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "voxel",
          "type": "VOXEL",
          "link": 10
        }
      ],
      "outputs": [
        {
          "name": "MESH",
          "type": "MESH",
          "links": [
            11
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "VoxelToMesh",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "surface net",
        0.6
      ]
    },
    {
      "id": 13,
      "type": "CLIPVisionEncode",
      "pos": [
        840,
        -500
      ],
      "size": [
        270,
        80
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "clip_vision",
          "type": "CLIP_VISION",
          "link": 20
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 21
        }
      ],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "links": [
            22
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "CLIPVisionEncode",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "center"
      ]
    },
    {
      "id": 6,
      "type": "Hunyuan3Dv2Conditioning",
      "pos": [
        900,
        -370
      ],
      "size": [
        217.82578125,
        46
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip_vision_output",
          "type": "CLIP_VISION_OUTPUT",
          "link": 22
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            5
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            6
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "Hunyuan3Dv2Conditioning",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 4,
      "type": "EmptyLatentHunyuan3Dv2",
      "pos": [
        840,
        -270
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            7
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "EmptyLatentHunyuan3Dv2",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        4096,
        1
      ]
    },
    {
      "id": 10,
      "type": "SaveGLB",
      "pos": [
        1523.8326402830044,
        -877.5339001072801
      ],
      "size": [
        810,
        820
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "mesh",
          "type": "MESH,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_OBJ,FILE_3D_FBX,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
          "link": 11
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "SaveGLB",
        "Camera Info": {
          "cameraType": "perspective",
          "position": {
            "x": 9.120136087242537,
            "y": 2.293737356159448,
            "z": 9.219634231216268
          },
          "target": {
            "x": 0,
            "y": 2.5,
            "z": 0
          },
          "zoom": 1
        },
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "Camera Config": {
          "cameraType": "perspective",
          "fov": 75,
          "state": {
            "position": {
              "x": 5.348931610568739,
              "y": 4.6938390164208625,
              "z": 1.463958773964955
            },
            "target": {
              "x": 0,
              "y": 2.5,
              "z": 0
            },
            "zoom": 1,
            "cameraType": "perspective"
          }
        },
        "Scene Config": {
          "showGrid": true,
          "backgroundColor": "#282828",
          "backgroundImage": "",
          "backgroundRenderMode": "tiled"
        },
        "Light Config": {
          "intensity": 3
        }
      },
      "widgets_values": [
        "mesh/Hunyuan3D_2.1_default",
        ""
      ]
    },
    {
      "id": 7,
      "type": "KSampler",
      "pos": [
        1150,
        -600
      ],
      "size": [
        270,
        262
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 19
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 5
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 6
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 7
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            8
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "KSampler",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        990431786505967,
        "fixed",
        30,
        5,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 20,
      "type": "VoxelToMesh",
      "pos": [
        2442.1885627162615,
        -642.5152823677921
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "voxel",
          "type": "VOXEL",
          "link": 25
        }
      ],
      "outputs": [
        {
          "name": "MESH",
          "type": "MESH",
          "links": [
            26
          ]
        }
      ],
      "title": "VoxelToMesh (HQ)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "VoxelToMesh",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "surface net",
        0.6
      ]
    },
    {
      "id": 19,
      "type": "VAEDecodeHunyuan3D",
      "pos": [
        2444.2734929885214,
        -798.3449207069455
      ],
      "size": [
        270,
        102
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 23
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 24
        }
      ],
      "outputs": [
        {
          "name": "VOXEL",
          "type": "VOXEL",
          "links": [
            25
          ]
        }
      ],
      "title": "VAEDecodeHunyuan3D (HQ)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "VAEDecodeHunyuan3D",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        200000,
        512
      ]
    },
    {
      "id": 2,
      "type": "LoadImage",
      "pos": [
        496.79078706889237,
        -313.6781643689911
      ],
      "size": [
        274.080078125,
        314
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            21
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "LoadImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "ChatGPT Image Mar 26, 2026, 09_55_54 AM.png",
        "image"
      ]
    },
    {
      "id": 21,
      "type": "SaveGLB",
      "pos": [
        2800.1079479010086,
        -829.0617198451251
      ],
      "size": [
        810,
        820
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "mesh",
          "type": "MESH,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_OBJ,FILE_3D_FBX,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
          "link": 26
        }
      ],
      "outputs": [],
      "title": "SaveGLB (HQ)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "SaveGLB",
        "Camera Info": {
          "cameraType": "perspective",
          "position": {
            "x": 9.120136087242537,
            "y": 2.293737356159448,
            "z": 9.219634231216268
          },
          "target": {
            "x": 0,
            "y": 2.5,
            "z": 0
          },
          "zoom": 1
        },
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        },
        "Scene Config": {
          "showGrid": true,
          "backgroundColor": "#282828",
          "backgroundImage": "",
          "backgroundRenderMode": "tiled"
        },
        "Camera Config": {
          "cameraType": "perspective",
          "fov": 35,
          "state": {
            "position": {
              "x": 22.40666262927899,
              "y": 20.74674649568045,
              "z": 22.406662629278994
            },
            "target": {
              "x": 0,
              "y": 2.5,
              "z": 0
            },
            "zoom": 1,
            "cameraType": "perspective"
          }
        },
        "Light Config": {
          "intensity": 3
        }
      },
      "widgets_values": [
        "mesh/Hunyuan3D_2.1_hq",
        ""
      ]
    },
    {
      "id": 22,
      "type": "MarkdownNote",
      "pos": [
        916.0105499011263,
        -1079.4573393978922
      ],
      "size": [
        430,
        360
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "## Advanced local version\n\n### What changed\n- kept the original **free/local native** Hunyuan3D 2.1 path\n- renamed the original output to **default**\n- added a second **HQ** decode branch for more detail\n\n### Use this\n- **Default branch**: faster, lighter, good first pass\n  - blocks: 8000\n  - octree: 256\n- **HQ branch**: slower, heavier, sharper geometry\n  - blocks: 200000\n  - octree: 512\n\n### Input advice\n- use a **square** image\n- transparent or clean background usually works better\n- queue one branch at a time if your PC is slow\n\n### Important\nThis file is still **mesh-only**.\nIt does **not** add texture generation.\nFor free/local textures you need a separate Hunyuan3D-Paint custom-node pipeline."
      ],
      "color": "#d8f0ff",
      "bgcolor": "#24343c"
    },
    {
      "id": 92,
      "type": "MarkdownNote",
      "pos": [
        58.068971266190196,
        -1141.2033969581162
      ],
      "size": [
        800,
        420
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "## Texture branch instructions\n\nThis branch is **free/local**, but it is **not built into native ComfyUI**.\n\n### Install first\n- Install `visualbruno/ComfyUI-Hunyuan3d-2-1`\n- Install its texture modules: **custom rasterizer** and **differentiable renderer**\n- Put the required Hunyuan 3D 2.1 checkpoints in the folders shown by the repo\n\n### Use order\n1. Run the native mesh branch first\n2. Export a GLB\n3. In **LOAD EXPORTED GLB HERE**, choose that GLB\n4. In **LOAD SAME SOURCE IMAGE**, choose the same reference image\n5. Run the texturing branch\n\n### Result\n- multi-view albedo + MR\n- baked texture\n- textured GLB path from `Hy3DInPaint`"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 15,
      "type": "MarkdownNote",
      "pos": [
        -326.3447691040195,
        -630.8414174566202
      ],
      "size": [
        370,
        240
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "\n## Model link\n\n**checkpoints**\n\n- [hunyuan_3d_v2.1.safetensors](https://huggingface.co/Comfy-Org/hunyuan3D_2.1_repackaged/resolve/main/hunyuan_3d_v2.1.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   └── 📂 checkpoints/\n│          └── hunyuan_3d_v2.1.safetensors\n```\n"
      ],
      "color": "#432",
      "bgcolor": "#000"
    },
    {
      "id": 1,
      "type": "ImageOnlyCheckpointLoader",
      "pos": [
        344.6759339089255,
        -574.050420763609
      ],
      "size": [
        459.79827401070736,
        129.00223046006568
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            16
          ]
        },
        {
          "name": "CLIP_VISION",
          "type": "CLIP_VISION",
          "links": [
            20
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            18
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.59",
        "Node name for S&R": "ImageOnlyCheckpointLoader",
        "models": [
          {
            "directory": "checkpoints",
            "name": "hunyuan_3d_v2.1.safetensors",
            "url": "https://huggingface.co/Comfy-Org/hunyuan3D_2.1_repackaged/resolve/main/hunyuan_3d_v2.1.safetensors"
          }
        ],
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.8",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "hunyuan_3d_v2.1.safetensors"
      ]
    }
  ],
  "links": [
    [
      5,
      6,
      0,
      7,
      1,
      "CONDITIONING"
    ],
    [
      6,
      6,
      1,
      7,
      2,
      "CONDITIONING"
    ],
    [
      7,
      4,
      0,
      7,
      3,
      "LATENT"
    ],
    [
      8,
      7,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      10,
      8,
      0,
      9,
      0,
      "VOXEL"
    ],
    [
      11,
      9,
      0,
      10,
      0,
      "MESH"
    ],
    [
      16,
      1,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      18,
      1,
      2,
      8,
      1,
      "VAE"
    ],
    [
      19,
      3,
      0,
      7,
      0,
      "MODEL"
    ],
    [
      20,
      1,
      1,
      13,
      0,
      "CLIP_VISION"
    ],
    [
      21,
      2,
      0,
      13,
      1,
      "IMAGE"
    ],
    [
      22,
      13,
      0,
      6,
      0,
      "CLIP_VISION_OUTPUT"
    ],
    [
      23,
      7,
      0,
      19,
      0,
      "LATENT"
    ],
    [
      24,
      1,
      2,
      19,
      1,
      "VAE"
    ],
    [
      25,
      19,
      0,
      20,
      0,
      "VOXEL"
    ],
    [
      26,
      20,
      0,
      21,
      0,
      "MESH"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Step 1 - Load model",
      "bounding": [
        313.30590797437264,
        -673.0527560357341,
        513.597753540859,
        258.3953589045984
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 2,
      "title": "Step 2 - Upload image here",
      "bounding": [
        456.7907870688925,
        -393.6781643689911,
        350,
        410
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 3,
      "title": "Step 3 - HQ local mesh export (optional)",
      "bounding": [
        2367.783490645544,
        -925.9213701759796,
        1300.9014937449065,
        988.6896311054961
      ],
      "color": "#6d5a27",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 4,
      "title": "Notes / presets",
      "bounding": [
        1730,
        -650,
        470,
        390
      ],
      "color": "#3b4c59",
      "font_size": 24,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "scale": 0.5823295213009139,
      "offset": [
        1240.6424395152005,
        1830.585130015384
      ]
    },
    "frontendVersion": "1.42.8",
    "ue_links": [],
    "links_added_by_ue": []
  },
  "version": 0.4
}