commit 5f3810fd6e81e41fc42399c87b273cb12ec19eb3 Author: 51hhh Date: Thu Aug 28 16:50:43 2025 +0800 初始化 diff --git a/Hunyuan3D单视角.json b/Hunyuan3D单视角.json new file mode 100644 index 0000000..841de59 --- /dev/null +++ b/Hunyuan3D单视角.json @@ -0,0 +1,2555 @@ +{ + "id": "13f349ae-553a-4f20-973a-2a3de20f8151", + "revision": 0, + "last_node_id": 157, + "last_link_id": 283, + "nodes": [ + { + "id": 137, + "type": "Note", + "pos": [ + -970, + -90 + ], + "size": [ + 312.0663146972656, + 88 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "https://huggingface.co/Kijai/Hunyuan3D-2_safetensors/blob/main/hunyuan3d-dit-v2-0-fp16.safetensors" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 10, + "type": "Hy3DModelLoader", + "pos": [ + -970, + -260 + ], + "size": [ + 320, + 126 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "label": "compile_args", + "name": "compile_args", + "shape": 7, + "type": "HY3DCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "label": "pipeline", + "name": "pipeline", + "type": "HY3DMODEL", + "slot_index": 0, + "links": [ + 252 + ] + }, + { + "label": "vae", + "name": "vae", + "type": "HY3DVAE", + "slot_index": 1, + "links": [ + 250 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DModelLoader" + }, + "widgets_values": [ + "hunyuan3d-dit-v2-0-fp16.safetensors", + "sdpa", + false + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 153, + "type": "Preview3D", + "pos": [ + 250, + -260 + ], + "size": [ + 720, + 660 + ], + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "label": "model_file", + "name": "model_file", + "type": "STRING", + "widget": { + "name": "model_file" + }, + "link": 275 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "Preview3D", + "Camera Info": { + "position": { + "x": 11.839123219347632, + "y": 2.45955151472784, + "z": -5.045516849763656 + }, + "target": { + "x": 0, + "y": 2.5, + "z": 0 + }, + "zoom": 1, + "cameraType": "perspective" + } + }, + "widgets_values": [ + "3D/Hy3D_00008_.glb", + "" + ] + }, + { + "id": 140, + "type": "Hy3DVAEDecode", + "pos": [ + -150, + -20 + ], + "size": [ + 315, + 198 + ], + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "label": "vae", + "name": "vae", + "type": "HY3DVAE", + "link": 250 + }, + { + "label": "latents", + "name": "latents", + "type": "HY3DLATENT", + "link": 255 + } + ], + "outputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "slot_index": 0, + "links": [ + 251 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DVAEDecode" + }, + "widgets_values": [ + 1.01, + 384, + 32000, + 0, + "mc", + true + ] + }, + { + "id": 141, + "type": "Hy3DGenerateMesh", + "pos": [ + -150, + -260 + ], + "size": [ + 315, + 194 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "label": "pipeline", + "name": "pipeline", + "type": "HY3DMODEL", + "link": 252 + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 277 + }, + { + "label": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 278 + } + ], + "outputs": [ + { + "label": "latents", + "name": "latents", + "type": "HY3DLATENT", + "links": [ + 255 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DGenerateMesh" + }, + "widgets_values": [ + 5.5, + 50, + 123, + "fixed", + "FlowMatchEulerDiscreteScheduler" + ] + }, + { + "id": 17, + "type": "Hy3DExportMesh", + "pos": [ + -150, + 230 + ], + "size": [ + 315.6768493652344, + 106 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 86 + } + ], + "outputs": [ + { + "label": "glb_path", + "name": "glb_path", + "type": "STRING", + "slot_index": 0, + "links": [ + 275 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DExportMesh" + }, + "widgets_values": [ + "3D/Hy3D", + "glb", + true + ] + }, + { + "id": 59, + "type": "Hy3DPostprocessMesh", + "pos": [ + -150, + 380 + ], + "size": [ + 315, + 174 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 251 + }, + { + "label": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": null + } + ], + "outputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "slot_index": 0, + "links": [ + 86, + 133 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DPostprocessMesh" + }, + "widgets_values": [ + true, + true, + true, + 50000, + false + ] + }, + { + "id": 55, + "type": "TransparentBGSession+", + "pos": [ + -580, + 310 + ], + "size": [ + 290, + 82 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "REMBG_SESSION", + "name": "REMBG_SESSION", + "type": "REMBG_SESSION", + "slot_index": 0, + "links": [ + 74 + ] + } + ], + "properties": { + "Node name for S&R": "TransparentBGSession+" + }, + "widgets_values": [ + "base", + true + ] + }, + { + "id": 138, + "type": "MaskPreview+", + "pos": [ + -580, + 440 + ], + "size": [ + 290, + 260 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 244 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "MaskPreview+" + }, + "widgets_values": [] + }, + { + "id": 13, + "type": "LoadImage", + "pos": [ + -970, + 50 + ], + "size": [ + 315, + 314.0000305175781 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 69 + ] + }, + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "slot_index": 1, + "links": [] + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "lora.png", + "image" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 146, + "type": "Note", + "pos": [ + -590, + 0 + ], + "size": [ + 312.0663146972656, + 88 + ], + "flags": { + "collapsed": false + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "The image encoder used works at 518x518, every input is resized to that automatically, but better to do it here first in controlled fashion" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 56, + "type": "ImageRemoveBackground+", + "pos": [ + -580, + 210 + ], + "size": [ + 300, + 46 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "label": "rembg_session", + "name": "rembg_session", + "type": "REMBG_SESSION", + "link": 74 + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 279 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [] + }, + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "slot_index": 1, + "links": [ + 244, + 278, + 281 + ] + } + ], + "properties": { + "Node name for S&R": "ImageRemoveBackground+" + }, + "widgets_values": [] + }, + { + "id": 52, + "type": "ImageResize+", + "pos": [ + -590, + -260 + ], + "size": [ + 315, + 218 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 69 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 277, + 279, + 282 + ] + }, + { + "label": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "height", + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 518, + 518, + "lanczos", + "pad", + "always", + 2 + ] + }, + { + "id": 148, + "type": "Hy3DDiffusersSchedulerConfig", + "pos": [ + -140, + 1330 + ], + "size": [ + 310, + 82 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "label": "pipeline", + "name": "pipeline", + "type": "HY3DDIFFUSERSPIPE", + "link": 266 + } + ], + "outputs": [ + { + "label": "diffusers_scheduler", + "name": "diffusers_scheduler", + "type": "NOISESCHEDULER", + "links": [ + 265 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DDiffusersSchedulerConfig" + }, + "widgets_values": [ + "Euler A", + "default" + ] + }, + { + "id": 28, + "type": "DownloadAndLoadHy3DDelightModel", + "pos": [ + -140, + 1220 + ], + "size": [ + 307.71990966796875, + 58 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "label": "compile_args", + "name": "compile_args", + "shape": 7, + "type": "HY3DCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "label": "delight_pipe", + "name": "delight_pipe", + "type": "HY3DDIFFUSERSPIPE", + "slot_index": 0, + "links": [ + 30, + 266 + ] + } + ], + "properties": { + "Node name for S&R": "DownloadAndLoadHy3DDelightModel" + }, + "widgets_values": [ + "hunyuan3d-delight-v2-0" + ] + }, + { + "id": 64, + "type": "ImageCompositeMasked", + "pos": [ + -140, + 1020 + ], + "size": [ + 310, + 150 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "label": "destination", + "name": "destination", + "type": "IMAGE", + "link": 227 + }, + { + "label": "source", + "name": "source", + "type": "IMAGE", + "link": 282 + }, + { + "label": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 281 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 99 + ] + } + ], + "properties": { + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + false + ] + }, + { + "id": 132, + "type": "SolidMask", + "pos": [ + -140, + 800 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "slot_index": 0, + "links": [ + 226 + ] + } + ], + "properties": { + "Node name for S&R": "SolidMask" + }, + "widgets_values": [ + 0.8, + 512, + 512 + ] + }, + { + "id": 129, + "type": "Hy3DMeshVerticeInpaintTexture", + "pos": [ + 1980, + 1260 + ], + "size": [ + 277.20001220703125, + 66 + ], + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "link": 217 + }, + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 218 + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "link": 219 + } + ], + "outputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "links": [ + 220, + 221 + ] + }, + { + "label": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 222 + ] + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "links": [ + 223 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DMeshVerticeInpaintTexture" + }, + "widgets_values": [] + }, + { + "id": 149, + "type": "Hy3DDiffusersSchedulerConfig", + "pos": [ + 1050, + 910 + ], + "size": [ + 288.13494873046875, + 82 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "label": "pipeline", + "name": "pipeline", + "type": "HY3DDIFFUSERSPIPE", + "link": 268 + } + ], + "outputs": [ + { + "label": "diffusers_scheduler", + "name": "diffusers_scheduler", + "type": "NOISESCHEDULER", + "slot_index": 0, + "links": [ + 267 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DDiffusersSchedulerConfig" + }, + "widgets_values": [ + "Euler A", + "default" + ] + }, + { + "id": 88, + "type": "Hy3DSampleMultiView", + "pos": [ + 1060, + 1040 + ], + "size": [ + 311.7241516113281, + 286 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "label": "pipeline", + "name": "pipeline", + "type": "HY3DDIFFUSERSPIPE", + "link": 139 + }, + { + "label": "ref_image", + "name": "ref_image", + "type": "IMAGE", + "link": 196 + }, + { + "label": "normal_maps", + "name": "normal_maps", + "type": "IMAGE", + "link": 193 + }, + { + "label": "position_maps", + "name": "position_maps", + "type": "IMAGE", + "link": 142 + }, + { + "label": "camera_config", + "name": "camera_config", + "shape": 7, + "type": "HY3DCAMERA", + "link": 273 + }, + { + "label": "scheduler", + "name": "scheduler", + "shape": 7, + "type": "NOISESCHEDULER", + "link": 267 + }, + { + "label": "view_size", + "name": "view_size", + "type": "INT", + "widget": { + "name": "view_size" + }, + "link": 264 + }, + { + "label": "samples", + "name": "samples", + "shape": 7, + "type": "LATENT", + "link": null + } + ], + "outputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 192, + 202, + 205 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DSampleMultiView" + }, + "widgets_values": [ + 512, + 25, + 1024, + "fixed", + 1 + ] + }, + { + "id": 117, + "type": "ImageResize+", + "pos": [ + 1060, + 1380 + ], + "size": [ + 315, + 218 + ], + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 202 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 203 + ] + }, + { + "label": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "height", + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 2048, + 2048, + "lanczos", + "stretch", + "always", + 0 + ] + }, + { + "id": 85, + "type": "DownloadAndLoadHy3DPaintModel", + "pos": [ + 1050, + 790 + ], + "size": [ + 327.5999755859375, + 58 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "label": "compile_args", + "name": "compile_args", + "shape": 7, + "type": "HY3DCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "label": "multiview_pipe", + "name": "multiview_pipe", + "type": "HY3DDIFFUSERSPIPE", + "links": [ + 139, + 268 + ] + } + ], + "properties": { + "Node name for S&R": "DownloadAndLoadHy3DPaintModel" + }, + "widgets_values": [ + "hunyuan3d-paint-v2-0" + ] + }, + { + "id": 125, + "type": "PreviewImage", + "pos": [ + 1420, + 1380 + ], + "size": [ + 503.22430419921875, + 521.7835083007812 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 207 + } + ], + "outputs": [], + "title": "Preview Image: Initial baked texture", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 126, + "type": "PreviewImage", + "pos": [ + 1980, + 1380 + ], + "size": [ + 491.2337341308594, + 523.9635620117188 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 221 + } + ], + "outputs": [], + "title": "Preview Image: vertex inpainted texture", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 104, + "type": "CV2InpaintTexture", + "pos": [ + 2520, + 1240 + ], + "size": [ + 239.40000915527344, + 102 + ], + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "link": 220 + }, + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 222 + } + ], + "outputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 185, + 209 + ] + } + ], + "properties": { + "Node name for S&R": "CV2InpaintTexture" + }, + "widgets_values": [ + 3, + "ns" + ] + }, + { + "id": 98, + "type": "Hy3DApplyTexture", + "pos": [ + 2530, + 1130 + ], + "size": [ + 226.79998779296875, + 46 + ], + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "link": 185 + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "link": 223 + } + ], + "outputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "slot_index": 0, + "links": [ + 163 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DApplyTexture" + }, + "widgets_values": [] + }, + { + "id": 99, + "type": "Hy3DExportMesh", + "pos": [ + 2530, + 960 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 163 + } + ], + "outputs": [ + { + "label": "glb_path", + "name": "glb_path", + "type": "STRING", + "slot_index": 0, + "links": [ + 283 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DExportMesh" + }, + "widgets_values": [ + "3D/Hy3D_textured", + "glb", + true + ] + }, + { + "id": 127, + "type": "PreviewImage", + "pos": [ + 2510, + 1380 + ], + "size": [ + 471.61279296875, + 520.6934204101562 + ], + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 209 + } + ], + "outputs": [], + "title": "Preview Image: fully inpainted texture", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 92, + "type": "Hy3DBakeFromMultiview", + "pos": [ + 1070, + 1640 + ], + "size": [ + 302.4000244140625, + 66 + ], + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 203 + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "link": 151 + }, + { + "label": "camera_config", + "name": "camera_config", + "shape": 7, + "type": "HY3DCAMERA", + "link": 274 + } + ], + "outputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 207, + 217 + ] + }, + { + "label": "mask", + "name": "mask", + "type": "MASK", + "slot_index": 1, + "links": [ + 218 + ] + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "slot_index": 2, + "links": [ + 219 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DBakeFromMultiview" + }, + "widgets_values": [] + }, + { + "id": 155, + "type": "Note", + "pos": [ + 310, + -440 + ], + "size": [ + 310, + 100 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "If the Preview3D node doesn't work, right click on it and select \"fix node\" or re-create the whole node. It's part of ComfyUI and often gets updated causing mismatch with the version that's in the workflow." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 83, + "type": "Hy3DMeshUVWrap", + "pos": [ + 750, + 460 + ], + "size": [ + 214.20001220703125, + 26 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 133 + } + ], + "outputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "slot_index": 0, + "links": [ + 134 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DMeshUVWrap" + }, + "widgets_values": [] + }, + { + "id": 115, + "type": "Note", + "pos": [ + 1030, + -250 + ], + "size": [ + 244.82861328125, + 119.78506469726562 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "These are the default camera views used, customizing is fully experimental. To customize." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 61, + "type": "Hy3DCameraConfig", + "pos": [ + 1020, + -80 + ], + "size": [ + 310, + 160 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "camera_config", + "name": "camera_config", + "type": "HY3DCAMERA", + "slot_index": 0, + "links": [ + 272, + 273, + 274 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DCameraConfig" + }, + "widgets_values": [ + "0, 90, 180, 270, 0, 180", + "0, 0, 0, 0, 90, -90", + "1, 0.1, 0.5, 0.1, 0.05, 0.05", + 1.45, + 1.2 + ] + }, + { + "id": 79, + "type": "Hy3DRenderMultiView", + "pos": [ + 1030, + 130 + ], + "size": [ + 300, + 170 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 134 + }, + { + "label": "camera_config", + "name": "camera_config", + "shape": 7, + "type": "HY3DCAMERA", + "link": 272 + } + ], + "outputs": [ + { + "label": "normal_maps", + "name": "normal_maps", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 148, + 193 + ] + }, + { + "label": "position_maps", + "name": "position_maps", + "type": "IMAGE", + "slot_index": 1, + "links": [ + 142, + 199 + ] + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "links": [ + 151 + ] + }, + { + "label": "masks", + "name": "masks", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "Hy3DRenderMultiView" + }, + "widgets_values": [ + 1024, + 2048, + "world" + ] + }, + { + "id": 116, + "type": "PreviewImage", + "pos": [ + 1480, + -300 + ], + "size": [ + 600, + 440 + ], + "flags": {}, + "order": 34, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 199 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 90, + "type": "PreviewImage", + "pos": [ + 1470, + 180 + ], + "size": [ + 610, + 450 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 148 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 157, + "type": "Preview3D", + "pos": [ + 2215.00341796875, + -296.0173645019531 + ], + "size": [ + 805.4703369140625, + 946.2879028320312 + ], + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "label": "model_file", + "name": "model_file", + "type": "STRING", + "widget": { + "name": "model_file" + }, + "link": 283 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "Preview3D", + "Camera Info": { + "position": { + "x": 8.339934542473006, + "y": 8.39000431958506, + "z": 8.339934542473008 + }, + "target": { + "x": 0, + "y": 0, + "z": 0 + }, + "zoom": 1, + "cameraType": "perspective" + } + }, + "widgets_values": [ + "", + "" + ] + }, + { + "id": 156, + "type": "Note", + "pos": [ + 3049.099365234375, + -292.0060729980469 + ], + "size": [ + 317.4715270996094, + 108.64700317382812 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "If the Preview3D node doesn't work, right click on it and select \"fix node\" or re-create the whole node. It's part of ComfyUI and often gets updated causing mismatch with the version that's in the workflow." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 133, + "type": "MaskToImage", + "pos": [ + -140, + 950 + ], + "size": [ + 312.096435546875, + 29.03265380859375 + ], + "flags": { + "collapsed": false + }, + "order": 18, + "mode": 0, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 226 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 227 + ] + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + }, + "widgets_values": [] + }, + { + "id": 144, + "type": "PrimitiveNode", + "pos": [ + -134.81890869140625, + 671.6475830078125 + ], + "size": [ + 306.06402587890625, + 82 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "INT", + "name": "INT", + "type": "INT", + "widget": { + "name": "width" + }, + "slot_index": 0, + "links": [ + 262, + 263, + 264 + ] + } + ], + "title": "Primitive: reference image size", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 512, + "fixed" + ] + }, + { + "id": 35, + "type": "Hy3DDelightImage", + "pos": [ + 280, + 1020 + ], + "size": [ + 278.7183837890625, + 222 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "label": "delight_pipe", + "name": "delight_pipe", + "type": "HY3DDIFFUSERSPIPE", + "link": 30 + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 99 + }, + { + "label": "scheduler", + "name": "scheduler", + "shape": 7, + "type": "NOISESCHEDULER", + "link": 265 + }, + { + "label": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 262 + }, + { + "label": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 263 + } + ], + "outputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 57, + 196 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DDelightImage" + }, + "widgets_values": [ + 50, + 512, + 512, + 1, + 0, + "fixed" + ] + }, + { + "id": 45, + "type": "PreviewImage", + "pos": [ + 580, + 1020 + ], + "size": [ + 370.2379455566406, + 396.4273376464844 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 57 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 73, + "type": "Note", + "pos": [ + 225.60549926757812, + 802.2355346679688 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "The level of the background affects the delighting a lot, fully black generally doesn't work, too dark makes the image red, fully white can be overbright, adjust the background level to your liking with the mask value level" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 118, + "type": "ImageUpscaleWithModel", + "pos": [ + 1410, + 880 + ], + "size": [ + 340.20001220703125, + 46 + ], + "flags": {}, + "order": 37, + "mode": 2, + "inputs": [ + { + "label": "upscale_model", + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 204 + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 205 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageUpscaleWithModel" + }, + "widgets_values": [] + }, + { + "id": 119, + "type": "UpscaleModelLoader", + "pos": [ + 1410, + 770 + ], + "size": [ + 340, + 58 + ], + "flags": {}, + "order": 14, + "mode": 2, + "inputs": [], + "outputs": [ + { + "label": "UPSCALE_MODEL", + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 204 + ] + } + ], + "properties": { + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "4x_foolhardy_Remacri.pth" + ] + }, + { + "id": 120, + "type": "Note", + "pos": [ + 1779.7166748046875, + 765.5234985351562 + ], + "size": [ + 210, + 160 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "You can upscale the multiviews at this point for more texture details" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 111, + "type": "PreviewImage", + "pos": [ + 1425.8035888671875, + 996.9034423828125 + ], + "size": [ + 486.08502197265625, + 339.8870849609375 + ], + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 192 + } + ], + "outputs": [], + "title": "Preview Image: Multiview results", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + } + ], + "links": [ + [ + 30, + 28, + 0, + 35, + 0, + "DELIGHTMODEL" + ], + [ + 57, + 35, + 0, + 45, + 0, + "IMAGE" + ], + [ + 69, + 13, + 0, + 52, + 0, + "IMAGE" + ], + [ + 74, + 55, + 0, + 56, + 0, + "REMBG_SESSION" + ], + [ + 86, + 59, + 0, + 17, + 0, + "HY3DMESH" + ], + [ + 99, + 64, + 0, + 35, + 1, + "IMAGE" + ], + [ + 133, + 59, + 0, + 83, + 0, + "HY3DMESH" + ], + [ + 134, + 83, + 0, + 79, + 0, + "HY3DMESH" + ], + [ + 139, + 85, + 0, + 88, + 0, + "HY3DPAINTMODEL" + ], + [ + 142, + 79, + 1, + 88, + 3, + "IMAGE" + ], + [ + 148, + 79, + 0, + 90, + 0, + "IMAGE" + ], + [ + 151, + 79, + 2, + 92, + 1, + "MESHRENDER" + ], + [ + 163, + 98, + 0, + 99, + 0, + "HY3DMESH" + ], + [ + 185, + 104, + 0, + 98, + 0, + "IMAGE" + ], + [ + 192, + 88, + 0, + 111, + 0, + "IMAGE" + ], + [ + 193, + 79, + 0, + 88, + 2, + "IMAGE" + ], + [ + 196, + 35, + 0, + 88, + 1, + "IMAGE" + ], + [ + 199, + 79, + 1, + 116, + 0, + "IMAGE" + ], + [ + 202, + 88, + 0, + 117, + 0, + "IMAGE" + ], + [ + 203, + 117, + 0, + 92, + 0, + "IMAGE" + ], + [ + 204, + 119, + 0, + 118, + 0, + "UPSCALE_MODEL" + ], + [ + 205, + 88, + 0, + 118, + 1, + "IMAGE" + ], + [ + 207, + 92, + 0, + 125, + 0, + "IMAGE" + ], + [ + 209, + 104, + 0, + 127, + 0, + "IMAGE" + ], + [ + 217, + 92, + 0, + 129, + 0, + "IMAGE" + ], + [ + 218, + 92, + 1, + 129, + 1, + "MASK" + ], + [ + 219, + 92, + 2, + 129, + 2, + "MESHRENDER" + ], + [ + 220, + 129, + 0, + 104, + 0, + "IMAGE" + ], + [ + 221, + 129, + 0, + 126, + 0, + "IMAGE" + ], + [ + 222, + 129, + 1, + 104, + 1, + "MASK" + ], + [ + 223, + 129, + 2, + 98, + 1, + "MESHRENDER" + ], + [ + 226, + 132, + 0, + 133, + 0, + "MASK" + ], + [ + 227, + 133, + 0, + 64, + 0, + "IMAGE" + ], + [ + 244, + 56, + 1, + 138, + 0, + "MASK" + ], + [ + 250, + 10, + 1, + 140, + 0, + "HY3DVAE" + ], + [ + 251, + 140, + 0, + 59, + 0, + "HY3DMESH" + ], + [ + 252, + 10, + 0, + 141, + 0, + "HY3DMODEL" + ], + [ + 255, + 141, + 0, + 140, + 1, + "HY3DLATENT" + ], + [ + 262, + 144, + 0, + 35, + 3, + "INT" + ], + [ + 263, + 144, + 0, + 35, + 4, + "INT" + ], + [ + 264, + 144, + 0, + 88, + 6, + "INT" + ], + [ + 265, + 148, + 0, + 35, + 2, + "NOISESCHEDULER" + ], + [ + 266, + 28, + 0, + 148, + 0, + "HY3DDIFFUSERSPIPE" + ], + [ + 267, + 149, + 0, + 88, + 5, + "NOISESCHEDULER" + ], + [ + 268, + 85, + 0, + 149, + 0, + "HY3DDIFFUSERSPIPE" + ], + [ + 272, + 61, + 0, + 79, + 1, + "HY3DCAMERA" + ], + [ + 273, + 61, + 0, + 88, + 4, + "HY3DCAMERA" + ], + [ + 274, + 61, + 0, + 92, + 2, + "HY3DCAMERA" + ], + [ + 275, + 17, + 0, + 153, + 0, + "STRING" + ], + [ + 277, + 52, + 0, + 141, + 1, + "IMAGE" + ], + [ + 278, + 56, + 1, + 141, + 2, + "MASK" + ], + [ + 279, + 52, + 0, + 56, + 1, + "IMAGE" + ], + [ + 281, + 56, + 1, + 64, + 2, + "MASK" + ], + [ + 282, + 52, + 0, + 64, + 1, + "IMAGE" + ], + [ + 283, + 99, + 0, + 157, + 0, + "STRING" + ] + ], + "groups": [ + { + "id": 2, + "title": "Delight", + "bounding": [ + -160, + 590, + 1140, + 850 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "id": 3, + "title": "RenderTextures", + "bounding": [ + 1010, + -330, + 1160, + 990 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "id": 4, + "title": "TextureSampling", + "bounding": [ + 1010, + 690, + 2010, + 1240 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "id": 5, + "title": "Resize", + "bounding": [ + -600, + -330, + 335, + 431.6000061035156 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 6, + "title": "Remove BG", + "bounding": [ + -600, + 120, + 340, + 610 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 7, + "title": "GenerateMesh", + "bounding": [ + -160, + -330, + 1140, + 897.5999755859375 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 8, + "title": "Input", + "bounding": [ + -980, + -330, + 340, + 707.6000366210938 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.17985878990921372, + "offset": [ + 2377.8145603235803, + 1002.5954432141118 + ] + }, + "node_versions": { + "comfyui-hunyan3dwrapper": "875b0b0420b2af86c4e75f9014b304ba4d21f4c3", + "comfy-core": "0.3.26", + "ComfyUI_essentials": "33ff89fd354d8ec3ab6affb605a79a931b445d99" + }, + "VHS_latentpreview": true, + "VHS_latentpreviewrate": 0 + }, + "models": [ + { + "name": "hunyuan3d-dit-v2-0-fp16.safetensors", + "url": "https://huggingface.co/Kijai/Hunyuan3D-2_safetensors/blob/main/hunyuan3d-dit-v2-0-fp16.safetensors", + "directory": "diffusion_models" + } + ], + "version": 0.4 +} \ No newline at end of file diff --git a/Hunyuan3D多视角.json b/Hunyuan3D多视角.json new file mode 100644 index 0000000..3992928 --- /dev/null +++ b/Hunyuan3D多视角.json @@ -0,0 +1,4274 @@ +{ + "id": "f5ad25af-94a5-4d1b-9787-8bfb63bcbf5c", + "revision": 0, + "last_node_id": 234, + "last_link_id": 422, + "nodes": [ + { + "id": 52, + "type": "ImageResize+", + "pos": [ + -1160, + -1270 + ], + "size": [ + 315, + 218 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 292 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 306, + 352 + ] + }, + { + "label": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "height", + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 518, + 518, + "lanczos", + "pad", + "always", + 2 + ] + }, + { + "id": 56, + "type": "ImageRemoveBackground+", + "pos": [ + -1160, + -1010 + ], + "size": [ + 320, + 50 + ], + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "label": "rembg_session", + "name": "rembg_session", + "type": "REMBG_SESSION", + "link": 74 + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 306 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [] + }, + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "slot_index": 1, + "links": [ + 244, + 370 + ] + } + ], + "properties": { + "Node name for S&R": "ImageRemoveBackground+" + }, + "widgets_values": [] + }, + { + "id": 202, + "type": "InvertMask", + "pos": [ + -790, + -1270 + ], + "size": [ + 210, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 33, + "mode": 0, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 370 + } + ], + "outputs": [ + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 371 + ] + } + ], + "properties": { + "Node name for S&R": "InvertMask" + }, + "widgets_values": [] + }, + { + "id": 195, + "type": "JoinImageWithAlpha", + "pos": [ + -790, + -1230 + ], + "size": [ + 264.5999755859375, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 40, + "mode": 0, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 352 + }, + { + "label": "alpha", + "name": "alpha", + "type": "MASK", + "link": 371 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 354 + ] + } + ], + "properties": { + "Node name for S&R": "JoinImageWithAlpha" + }, + "widgets_values": [] + }, + { + "id": 138, + "type": "MaskPreview+", + "pos": [ + -790, + -1180 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 244 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "MaskPreview+" + }, + "widgets_values": [] + }, + { + "id": 157, + "type": "LoadImage", + "pos": [ + -1500, + -1270 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 292 + ] + }, + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "title": "Load Image: Front", + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "front.png", + "image", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 204, + "type": "ImageResize+", + "pos": [ + -1160, + -790 + ], + "size": [ + 315, + 218 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 376 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 377, + 379 + ] + }, + { + "label": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "height", + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 518, + 518, + "lanczos", + "pad", + "always", + 2 + ] + }, + { + "id": 205, + "type": "ImageRemoveBackground+", + "pos": [ + -1160, + -530 + ], + "size": [ + 320, + 50 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "label": "rembg_session", + "name": "rembg_session", + "type": "REMBG_SESSION", + "link": 384 + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 377 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [] + }, + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "slot_index": 1, + "links": [ + 378, + 381 + ] + } + ], + "properties": { + "Node name for S&R": "ImageRemoveBackground+" + }, + "widgets_values": [] + }, + { + "id": 206, + "type": "InvertMask", + "pos": [ + -790, + -790 + ], + "size": [ + 210, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 34, + "mode": 0, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 378 + } + ], + "outputs": [ + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 380 + ] + } + ], + "properties": { + "Node name for S&R": "InvertMask" + }, + "widgets_values": [] + }, + { + "id": 208, + "type": "MaskPreview+", + "pos": [ + -790, + -700 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 381 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "MaskPreview+" + }, + "widgets_values": [] + }, + { + "id": 209, + "type": "LoadImage", + "pos": [ + -1500, + -790 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 376 + ] + }, + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "title": "Load Image: Left", + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "front.png", + "image", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 210, + "type": "ImageResize+", + "pos": [ + -1160, + -310 + ], + "size": [ + 315, + 218 + ], + "flags": {}, + "order": 22, + "mode": 2, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 385 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 387, + 389 + ] + }, + { + "label": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "height", + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 518, + 518, + "lanczos", + "pad", + "always", + 2 + ] + }, + { + "id": 211, + "type": "ImageRemoveBackground+", + "pos": [ + -1160, + -50 + ], + "size": [ + 320, + 50 + ], + "flags": {}, + "order": 30, + "mode": 2, + "inputs": [ + { + "label": "rembg_session", + "name": "rembg_session", + "type": "REMBG_SESSION", + "link": 392 + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 387 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [] + }, + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "slot_index": 1, + "links": [ + 388, + 391 + ] + } + ], + "properties": { + "Node name for S&R": "ImageRemoveBackground+" + }, + "widgets_values": [] + }, + { + "id": 212, + "type": "InvertMask", + "pos": [ + -790, + -310 + ], + "size": [ + 210, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 36, + "mode": 2, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 388 + } + ], + "outputs": [ + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 390 + ] + } + ], + "properties": { + "Node name for S&R": "InvertMask" + }, + "widgets_values": [] + }, + { + "id": 214, + "type": "MaskPreview+", + "pos": [ + -790, + -220 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 37, + "mode": 2, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 391 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "MaskPreview+" + }, + "widgets_values": [] + }, + { + "id": 215, + "type": "LoadImage", + "pos": [ + -1500, + -310 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 2, + "mode": 2, + "inputs": [], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 385 + ] + }, + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "title": "Load Image: Right", + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "front.png", + "image", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 217, + "type": "ImageResize+", + "pos": [ + -1160, + 170 + ], + "size": [ + 315, + 218 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 393 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 395, + 397 + ] + }, + { + "label": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "height", + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 518, + 518, + "lanczos", + "pad", + "always", + 2 + ] + }, + { + "id": 218, + "type": "ImageRemoveBackground+", + "pos": [ + -1160, + 430 + ], + "size": [ + 320, + 50 + ], + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "label": "rembg_session", + "name": "rembg_session", + "type": "REMBG_SESSION", + "link": 402 + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 395 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [] + }, + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "slot_index": 1, + "links": [ + 396, + 399 + ] + } + ], + "properties": { + "Node name for S&R": "ImageRemoveBackground+" + }, + "widgets_values": [] + }, + { + "id": 219, + "type": "InvertMask", + "pos": [ + -790, + 170 + ], + "size": [ + 210, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 38, + "mode": 0, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 396 + } + ], + "outputs": [ + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "links": [ + 398 + ] + } + ], + "properties": { + "Node name for S&R": "InvertMask" + }, + "widgets_values": [] + }, + { + "id": 221, + "type": "MaskPreview+", + "pos": [ + -790, + 260 + ], + "size": [ + 210, + 246 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 399 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "MaskPreview+" + }, + "widgets_values": [] + }, + { + "id": 222, + "type": "LoadImage", + "pos": [ + -1500, + 170 + ], + "size": [ + 315, + 314 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 393 + ] + }, + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "title": "Load Image: Back", + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "front.png", + "image", + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 207, + "type": "JoinImageWithAlpha", + "pos": [ + -790, + -750 + ], + "size": [ + 264.5999755859375, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 41, + "mode": 0, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 379 + }, + { + "label": "alpha", + "name": "alpha", + "type": "MASK", + "link": 380 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 403 + ] + } + ], + "properties": { + "Node name for S&R": "JoinImageWithAlpha" + }, + "widgets_values": [] + }, + { + "id": 213, + "type": "JoinImageWithAlpha", + "pos": [ + -790, + -270 + ], + "size": [ + 264.5999755859375, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 42, + "mode": 2, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 389 + }, + { + "label": "alpha", + "name": "alpha", + "type": "MASK", + "link": 390 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 404 + ] + } + ], + "properties": { + "Node name for S&R": "JoinImageWithAlpha" + }, + "widgets_values": [] + }, + { + "id": 220, + "type": "JoinImageWithAlpha", + "pos": [ + -790, + 210 + ], + "size": [ + 264.5999755859375, + 46 + ], + "flags": { + "collapsed": true + }, + "order": 43, + "mode": 0, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 397 + }, + { + "label": "alpha", + "name": "alpha", + "type": "MASK", + "link": 398 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 405 + ] + } + ], + "properties": { + "Node name for S&R": "JoinImageWithAlpha" + }, + "widgets_values": [] + }, + { + "id": 193, + "type": "MarkdownNote", + "pos": [ + -1497.031494140625, + -1557.4007568359375 + ], + "size": [ + 430, + 140 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Model download links", + "properties": {}, + "widgets_values": [ + "Fast MultiView model:\n\n[https://huggingface.co/tencent/Hunyuan3D-2mv/blob/main/hunyuan3d-dit-v2-mv-fast/model.fp16.safetensors](https://huggingface.co/tencent/Hunyuan3D-2mv/blob/main/hunyuan3d-dit-v2-mv-fast/model.fp16.safetensors)\n\nNormal:\n\n[https://huggingface.co/tencent/Hunyuan3D-2mv/blob/main/hunyuan3d-dit-v2-mv/model.fp16.safetensors](https://huggingface.co/tencent/Hunyuan3D-2mv/blob/main/hunyuan3d-dit-v2-mv/model.fp16.safetensors)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 10, + "type": "Hy3DModelLoader", + "pos": [ + -1007.0319213867188, + -1547.4007568359375 + ], + "size": [ + 435.4117431640625, + 126 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "label": "compile_args", + "name": "compile_args", + "shape": 7, + "type": "HY3DCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "label": "pipeline", + "name": "pipeline", + "type": "HY3DMODEL", + "slot_index": 0, + "links": [ + 293 + ] + }, + { + "label": "vae", + "name": "vae", + "type": "HY3DVAE", + "slot_index": 1, + "links": [ + 250 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DModelLoader" + }, + "widgets_values": [ + "hunyuan3d-dit-v2-mv.safetensors", + "sdpa", + false + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 166, + "type": "Hy3DGenerateMeshMultiView", + "pos": [ + -460, + -1470 + ], + "size": [ + 315, + 234 + ], + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [ + { + "label": "pipeline", + "name": "pipeline", + "type": "HY3DMODEL", + "link": 293 + }, + { + "label": "front", + "name": "front", + "shape": 7, + "type": "IMAGE", + "link": 354 + }, + { + "label": "left", + "name": "left", + "shape": 7, + "type": "IMAGE", + "link": 403 + }, + { + "label": "right", + "name": "right", + "shape": 7, + "type": "IMAGE", + "link": 404 + }, + { + "label": "back", + "name": "back", + "shape": 7, + "type": "IMAGE", + "link": 405 + } + ], + "outputs": [ + { + "label": "latents", + "name": "latents", + "type": "HY3DLATENT", + "links": [ + 297 + ] + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "links": [ + 325, + 327 + ] + }, + { + "label": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 326, + 350 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DGenerateMeshMultiView" + }, + "widgets_values": [ + 5.5, + 30, + 416935455784444, + "fixed", + "FlowMatchEulerDiscreteScheduler" + ] + }, + { + "id": 168, + "type": "Note", + "pos": [ + -450, + -1180 + ], + "size": [ + 300, + 100 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "The input should be either already with background removed or RGBA image" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 140, + "type": "Hy3DVAEDecode", + "pos": [ + 40, + -1540 + ], + "size": [ + 315, + 198 + ], + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "label": "vae", + "name": "vae", + "type": "HY3DVAE", + "link": 250 + }, + { + "label": "latents", + "name": "latents", + "type": "HY3DLATENT", + "link": 297 + } + ], + "outputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "slot_index": 0, + "links": [ + 372 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DVAEDecode" + }, + "widgets_values": [ + 1.01, + 256, + 32000, + 0, + "mc", + true + ] + }, + { + "id": 203, + "type": "Hy3DPostprocessMesh", + "pos": [ + 30, + -1270 + ], + "size": [ + 318.9639587402344, + 158.95484924316406 + ], + "flags": {}, + "order": 50, + "mode": 0, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 372 + } + ], + "outputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "links": [ + 373, + 374, + 375 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DPostprocessMesh" + }, + "widgets_values": [ + true, + true, + true, + 50000, + false + ] + }, + { + "id": 163, + "type": "Hy3DRenderSingleView", + "pos": [ + 420, + -1540 + ], + "size": [ + 315, + 294 + ], + "flags": {}, + "order": 54, + "mode": 2, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 375 + } + ], + "outputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "links": [] + }, + { + "label": "mask", + "name": "mask", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "Hy3DRenderSingleView" + }, + "widgets_values": [ + "normal", + 1024, + "orth", + 1.45, + 0, + 0, + 1.2, + 146.666748046875, + 0, + "128, 128, 255" + ] + }, + { + "id": 17, + "type": "Hy3DExportMesh", + "pos": [ + 40, + -1070 + ], + "size": [ + 315.6768493652344, + 106 + ], + "flags": {}, + "order": 52, + "mode": 0, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 373 + } + ], + "outputs": [ + { + "label": "glb_path", + "name": "glb_path", + "type": "STRING", + "slot_index": 0, + "links": [ + 283 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DExportMesh" + }, + "widgets_values": [ + "3D/Hy3D", + "glb", + true + ] + }, + { + "id": 162, + "type": "Preview3D", + "pos": [ + 1420, + -1530 + ], + "size": [ + 536.2473754882812, + 612.539794921875 + ], + "flags": {}, + "order": 56, + "mode": 0, + "inputs": [ + { + "label": "model_file", + "name": "model_file", + "type": "STRING", + "widget": { + "name": "model_file" + }, + "link": 283 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "Preview3D", + "Camera Info": { + "position": { + "x": 7.755871271365268, + "y": 7.75587127136527, + "z": 7.755871271365269 + }, + "target": { + "x": 0, + "y": 0, + "z": 0 + }, + "zoom": 1, + "cameraType": "perspective" + }, + "FOV": 31, + "Light Intensity": 7, + "Material Mode": "normal" + }, + "widgets_values": [ + "3D/Hy3D_00011_.glb", + "" + ] + }, + { + "id": 182, + "type": "PreviewImage", + "pos": [ + 780, + -1220 + ], + "size": [ + 618.2745971679688, + 258 + ], + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 325 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 183, + "type": "MaskPreview+", + "pos": [ + 770, + -1530 + ], + "size": [ + 633.1389770507812, + 258 + ], + "flags": {}, + "order": 48, + "mode": 0, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 326 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "MaskPreview+" + }, + "widgets_values": [] + }, + { + "id": 135, + "type": "Reroute", + "pos": [ + -150, + -560 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 49, + "mode": 0, + "inputs": [ + { + "label": "", + "name": "", + "type": "*", + "link": 350 + } + ], + "outputs": [ + { + "label": "", + "name": "", + "type": "MASK", + "slot_index": 0, + "links": [ + 231 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 132, + "type": "SolidMask", + "pos": [ + -500.64788818359375, + -326.732177734375 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "MASK", + "name": "MASK", + "type": "MASK", + "slot_index": 0, + "links": [ + 226 + ] + } + ], + "properties": { + "Node name for S&R": "SolidMask" + }, + "widgets_values": [ + 0.8, + 512, + 512 + ] + }, + { + "id": 144, + "type": "PrimitiveNode", + "pos": [ + 90, + -920 + ], + "size": [ + 260.3999938964844, + 84.1800765991211 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "INT", + "name": "INT", + "type": "INT", + "widget": { + "name": "width" + }, + "slot_index": 0, + "links": [ + 262, + 263, + 264 + ] + } + ], + "title": "Primitive: reference image size", + "properties": { + "Run widget replace on values": false + }, + "widgets_values": [ + 512, + "fixed" + ] + }, + { + "id": 148, + "type": "Hy3DDiffusersSchedulerConfig", + "pos": [ + 180, + -660 + ], + "size": [ + 288.13494873046875, + 82 + ], + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "label": "pipeline", + "name": "pipeline", + "type": "HY3DDIFFUSERSPIPE", + "link": 266 + } + ], + "outputs": [ + { + "label": "diffusers_scheduler", + "name": "diffusers_scheduler", + "type": "NOISESCHEDULER", + "links": [ + 265 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DDiffusersSchedulerConfig" + }, + "widgets_values": [ + "Euler A", + "default" + ] + }, + { + "id": 28, + "type": "DownloadAndLoadHy3DDelightModel", + "pos": [ + -160, + -710 + ], + "size": [ + 307.71990966796875, + 58 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "label": "compile_args", + "name": "compile_args", + "shape": 7, + "type": "HY3DCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "label": "delight_pipe", + "name": "delight_pipe", + "type": "HY3DDIFFUSERSPIPE", + "slot_index": 0, + "links": [ + 30, + 266 + ] + } + ], + "properties": { + "Node name for S&R": "DownloadAndLoadHy3DDelightModel" + }, + "widgets_values": [ + "hunyuan3d-delight-v2-0" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 45, + "type": "PreviewImage", + "pos": [ + 610, + -440 + ], + "size": [ + 387.0841979980469, + 384.5358581542969 + ], + "flags": {}, + "order": 63, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 57 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 155, + "type": "Note", + "pos": [ + 1980, + -1510 + ], + "size": [ + 320, + 88 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "If the Preview3D node doesn't work, right click on it and select \"fix node\" or re-create the whole node. It's part of ComfyUI and often gets updated causing mismatch with the version that's in the workflow." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 156, + "type": "Note", + "pos": [ + 5220, + -1810 + ], + "size": [ + 317.4715270996094, + 108.64700317382812 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "If the Preview3D node doesn't work, right click on it and select \"fix node\" or re-create the whole node. It's part of ComfyUI and often gets updated causing mismatch with the version that's in the workflow." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 119, + "type": "UpscaleModelLoader", + "pos": [ + 3227.823486328125, + -1543.9659423828125 + ], + "size": [ + 315, + 58 + ], + "flags": {}, + "order": 12, + "mode": 2, + "inputs": [], + "outputs": [ + { + "label": "UPSCALE_MODEL", + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 204 + ] + } + ], + "properties": { + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "4x_foolhardy_Remacri.pth" + ] + }, + { + "id": 118, + "type": "ImageUpscaleWithModel", + "pos": [ + 3227.823486328125, + -1443.9659423828125 + ], + "size": [ + 310, + 46 + ], + "flags": {}, + "order": 69, + "mode": 2, + "inputs": [ + { + "label": "upscale_model", + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 204 + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 205 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageUpscaleWithModel" + }, + "widgets_values": [] + }, + { + "id": 120, + "type": "Note", + "pos": [ + 3587.823486328125, + -1533.9659423828125 + ], + "size": [ + 354.4071044921875, + 125.7635726928711 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "You can upscale the multiviews at this point for more texture details" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 98, + "type": "Hy3DApplyTexture", + "pos": [ + 4510, + -1440 + ], + "size": [ + 226.79998779296875, + 46 + ], + "flags": {}, + "order": 75, + "mode": 0, + "inputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "link": 185 + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "link": 223 + } + ], + "outputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "slot_index": 0, + "links": [ + 163 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DApplyTexture" + }, + "widgets_values": [] + }, + { + "id": 99, + "type": "Hy3DExportMesh", + "pos": [ + 4770, + -1440 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 77, + "mode": 0, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 163 + } + ], + "outputs": [ + { + "label": "glb_path", + "name": "glb_path", + "type": "STRING", + "slot_index": 0, + "links": [ + 276 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DExportMesh" + }, + "widgets_values": [ + "3D/Hy3D_textured", + "glb", + true + ] + }, + { + "id": 111, + "type": "PreviewImage", + "pos": [ + 2760, + -740 + ], + "size": [ + 801.6017456054688, + 562.7461547851562 + ], + "flags": {}, + "order": 67, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 192 + } + ], + "outputs": [], + "title": "Preview Image: Multiview results", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 126, + "type": "PreviewImage", + "pos": [ + 4140, + -750 + ], + "size": [ + 491.2337341308594, + 523.9635620117188 + ], + "flags": {}, + "order": 73, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 221 + } + ], + "outputs": [], + "title": "Preview Image: vertex inpainted texture", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 127, + "type": "PreviewImage", + "pos": [ + 4680, + -750 + ], + "size": [ + 471.61279296875, + 520.6934204101562 + ], + "flags": {}, + "order": 76, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 209 + } + ], + "outputs": [], + "title": "Preview Image: fully inpainted texture", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 125, + "type": "PreviewImage", + "pos": [ + 3600, + -750 + ], + "size": [ + 503.22430419921875, + 521.7835083007812 + ], + "flags": {}, + "order": 71, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 207 + } + ], + "outputs": [], + "title": "Preview Image: Initial baked texture", + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 129, + "type": "Hy3DMeshVerticeInpaintTexture", + "pos": [ + 4130, + -1060 + ], + "size": [ + 277.20001220703125, + 66 + ], + "flags": {}, + "order": 72, + "mode": 0, + "inputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "link": 217 + }, + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 218 + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "link": 219 + } + ], + "outputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "links": [ + 220, + 221 + ] + }, + { + "label": "mask", + "name": "mask", + "type": "MASK", + "links": [ + 222 + ] + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "links": [ + 223 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DMeshVerticeInpaintTexture" + }, + "widgets_values": [] + }, + { + "id": 104, + "type": "CV2InpaintTexture", + "pos": [ + 4660, + -1060 + ], + "size": [ + 239.40000915527344, + 102 + ], + "flags": {}, + "order": 74, + "mode": 0, + "inputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "link": 220 + }, + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 222 + } + ], + "outputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 185, + 209 + ] + } + ], + "properties": { + "Node name for S&R": "CV2InpaintTexture" + }, + "widgets_values": [ + 3, + "ns" + ] + }, + { + "id": 92, + "type": "Hy3DBakeFromMultiview", + "pos": [ + 3600, + -1060 + ], + "size": [ + 302.4000244140625, + 66 + ], + "flags": {}, + "order": 70, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 203 + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "link": 339 + }, + { + "label": "camera_config", + "name": "camera_config", + "shape": 7, + "type": "HY3DCAMERA", + "link": 337 + } + ], + "outputs": [ + { + "label": "texture", + "name": "texture", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 207, + 217 + ] + }, + { + "label": "mask", + "name": "mask", + "type": "MASK", + "slot_index": 1, + "links": [ + 218 + ] + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "slot_index": 2, + "links": [ + 219 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DBakeFromMultiview" + }, + "widgets_values": [] + }, + { + "id": 35, + "type": "Hy3DDelightImage", + "pos": [ + 620, + -710 + ], + "size": [ + 278.7183837890625, + 222 + ], + "flags": {}, + "order": 62, + "mode": 0, + "inputs": [ + { + "label": "delight_pipe", + "name": "delight_pipe", + "type": "HY3DDIFFUSERSPIPE", + "link": 30 + }, + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 99 + }, + { + "label": "scheduler", + "name": "scheduler", + "shape": 7, + "type": "NOISESCHEDULER", + "link": 265 + }, + { + "label": "width", + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 262 + }, + { + "label": "height", + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 263 + } + ], + "outputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 57, + 421 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DDelightImage" + }, + "widgets_values": [ + 50, + 512, + 512, + 1, + 0, + "fixed" + ] + }, + { + "id": 234, + "type": "Reroute", + "pos": [ + 1080, + -860 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 64, + "mode": 0, + "inputs": [ + { + "label": "", + "name": "", + "type": "*", + "link": 421 + } + ], + "outputs": [ + { + "label": "", + "name": "", + "type": "IMAGE", + "links": [ + 422 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 188, + "type": "Reroute", + "pos": [ + 2400, + -1010 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 61, + "mode": 0, + "inputs": [ + { + "label": "", + "name": "", + "type": "*", + "link": 338 + } + ], + "outputs": [ + { + "label": "", + "name": "", + "type": "MESHRENDER", + "links": [ + 339 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 187, + "type": "Reroute", + "pos": [ + 2400, + -1060 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "label": "", + "name": "", + "type": "*", + "link": 335 + } + ], + "outputs": [ + { + "label": "", + "name": "", + "type": "HY3DCAMERA", + "links": [ + 336, + 337 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 83, + "type": "Hy3DMeshUVWrap", + "pos": [ + 1126.7655029296875, + -707.058837890625 + ], + "size": [ + 214.20001220703125, + 26 + ], + "flags": {}, + "order": 53, + "mode": 0, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 374 + } + ], + "outputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "slot_index": 0, + "links": [ + 134 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DMeshUVWrap" + }, + "widgets_values": [] + }, + { + "id": 61, + "type": "Hy3DCameraConfig", + "pos": [ + 1128.4725341796875, + -633.6324462890625 + ], + "size": [ + 342.9443054199219, + 154 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "camera_config", + "name": "camera_config", + "type": "HY3DCAMERA", + "slot_index": 0, + "links": [ + 272, + 335 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DCameraConfig" + }, + "widgets_values": [ + "0, 90, 180, 270, 0, 180", + "0, 0, 0, 0, 90, -90", + "1, 0.1, 0.5, 0.1, 0.05, 0.05", + 1.45, + 1.2 + ] + }, + { + "id": 79, + "type": "Hy3DRenderMultiView", + "pos": [ + 1491.720947265625, + -711.062744140625 + ], + "size": [ + 342.5999755859375, + 170 + ], + "flags": {}, + "order": 57, + "mode": 0, + "inputs": [ + { + "label": "trimesh", + "name": "trimesh", + "type": "TRIMESH", + "link": 134 + }, + { + "label": "camera_config", + "name": "camera_config", + "shape": 7, + "type": "HY3DCAMERA", + "link": 272 + } + ], + "outputs": [ + { + "label": "normal_maps", + "name": "normal_maps", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 148, + 417 + ] + }, + { + "label": "position_maps", + "name": "position_maps", + "type": "IMAGE", + "slot_index": 1, + "links": [ + 199, + 418 + ] + }, + { + "label": "renderer", + "name": "renderer", + "type": "MESHRENDER", + "links": [ + 338 + ] + }, + { + "label": "masks", + "name": "masks", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "Hy3DRenderMultiView" + }, + "widgets_values": [ + 1024, + 2048, + "world" + ] + }, + { + "id": 116, + "type": "PreviewImage", + "pos": [ + 1399.96484375, + -389.4582214355469 + ], + "size": [ + 436.25860595703125, + 366.5243835449219 + ], + "flags": {}, + "order": 60, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 199 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 90, + "type": "PreviewImage", + "pos": [ + 1863.701171875, + -391.990478515625 + ], + "size": [ + 436.39898681640625, + 371.510498046875 + ], + "flags": {}, + "order": 59, + "mode": 0, + "inputs": [ + { + "label": "images", + "name": "images", + "type": "IMAGE", + "link": 148 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 115, + "type": "Note", + "pos": [ + 1132.720947265625, + -438.7151794433594 + ], + "size": [ + 235.0191650390625, + 88 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "These are the default camera views used, customizing is fully experimental. To customize." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 233, + "type": "Reroute", + "pos": [ + 1869.108642578125, + -859.0965576171875 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 65, + "mode": 0, + "inputs": [ + { + "label": "", + "name": "", + "type": "*", + "link": 422 + } + ], + "outputs": [ + { + "label": "", + "name": "", + "type": "IMAGE", + "links": [ + 420 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 85, + "type": "DownloadAndLoadHy3DPaintModel", + "pos": [ + 2370, + -1570 + ], + "size": [ + 327.5999755859375, + 58 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "label": "compile_args", + "name": "compile_args", + "shape": 7, + "type": "HY3DCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "label": "multiview_pipe", + "name": "multiview_pipe", + "type": "HY3DDIFFUSERSPIPE", + "links": [ + 139, + 268 + ] + } + ], + "properties": { + "Node name for S&R": "DownloadAndLoadHy3DPaintModel" + }, + "widgets_values": [ + "hunyuan3d-paint-v2-0" + ] + }, + { + "id": 88, + "type": "Hy3DSampleMultiView", + "pos": [ + 2756.18603515625, + -1439.86669921875 + ], + "size": [ + 311.7241516113281, + 286 + ], + "flags": {}, + "order": 66, + "mode": 0, + "inputs": [ + { + "label": "pipeline", + "name": "pipeline", + "type": "HY3DDIFFUSERSPIPE", + "link": 139 + }, + { + "label": "ref_image", + "name": "ref_image", + "type": "IMAGE", + "link": 420 + }, + { + "label": "normal_maps", + "name": "normal_maps", + "type": "IMAGE", + "link": 417 + }, + { + "label": "position_maps", + "name": "position_maps", + "type": "IMAGE", + "link": 418 + }, + { + "label": "camera_config", + "name": "camera_config", + "shape": 7, + "type": "HY3DCAMERA", + "link": 336 + }, + { + "label": "scheduler", + "name": "scheduler", + "shape": 7, + "type": "NOISESCHEDULER", + "link": 267 + }, + { + "label": "view_size", + "name": "view_size", + "type": "INT", + "widget": { + "name": "view_size" + }, + "link": 264 + }, + { + "label": "samples", + "name": "samples", + "shape": 7, + "type": "LATENT", + "link": null + } + ], + "outputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 192, + 202, + 205 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DSampleMultiView" + }, + "widgets_values": [ + 512, + 25, + 1024, + "fixed", + 1 + ] + }, + { + "id": 149, + "type": "Hy3DDiffusersSchedulerConfig", + "pos": [ + 2374.73681640625, + -1461.33642578125 + ], + "size": [ + 288.13494873046875, + 82 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "label": "pipeline", + "name": "pipeline", + "type": "HY3DDIFFUSERSPIPE", + "link": 268 + } + ], + "outputs": [ + { + "label": "diffusers_scheduler", + "name": "diffusers_scheduler", + "type": "NOISESCHEDULER", + "slot_index": 0, + "links": [ + 267 + ] + } + ], + "properties": { + "Node name for S&R": "Hy3DDiffusersSchedulerConfig" + }, + "widgets_values": [ + "Euler A", + "default" + ] + }, + { + "id": 117, + "type": "ImageResize+", + "pos": [ + 3236.396240234375, + -1311.2293701171875 + ], + "size": [ + 315, + 218 + ], + "flags": {}, + "order": 68, + "mode": 0, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 202 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 203 + ] + }, + { + "label": "width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "height", + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 2048, + 2048, + "lanczos", + "stretch", + "always", + 0 + ] + }, + { + "id": 146, + "type": "Note", + "pos": [ + -1940, + -1260 + ], + "size": [ + 374.3083190917969, + 129.76754760742188 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "The image encoder used works at 518x518, every input is resized to that automatically, but better to do it here first in controlled fashion\n\nDepending on the version of the comfyui-essentials nodes, the \"Image Remove Background\" -node may return the image with alpha, in which case the InverMask and Join Image with Alpha -nodes are unnecessary." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 55, + "type": "TransparentBGSession+", + "pos": [ + -1898.323486328125, + -431.44195556640625 + ], + "size": [ + 290, + 82 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [], + "outputs": [ + { + "label": "REMBG_SESSION", + "name": "REMBG_SESSION", + "type": "REMBG_SESSION", + "slot_index": 0, + "links": [ + 74, + 384, + 392, + 402 + ] + } + ], + "properties": { + "Node name for S&R": "TransparentBGSession+" + }, + "widgets_values": [ + "base", + true + ] + }, + { + "id": 64, + "type": "ImageCompositeMasked", + "pos": [ + 180, + -520 + ], + "size": [ + 290, + 150 + ], + "flags": {}, + "order": 58, + "mode": 0, + "inputs": [ + { + "label": "destination", + "name": "destination", + "type": "IMAGE", + "link": 330 + }, + { + "label": "source", + "name": "source", + "type": "IMAGE", + "link": 241 + }, + { + "label": "mask", + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 231 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 99 + ] + } + ], + "properties": { + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + false + ] + }, + { + "id": 73, + "type": "Note", + "pos": [ + -496.90484619140625, + -179.099609375 + ], + "size": [ + 259.3616943359375, + 99.84209442138672 + ], + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "The level of the background affects the delighting a lot, fully black generally doesn't work, too dark makes the image red, fully white can be overbright, adjust the background level to your liking with the mask value level" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 133, + "type": "MaskToImage", + "pos": [ + -432.7048034667969, + -32.66529846191406 + ], + "size": [ + 264.5999755859375, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 24, + "mode": 0, + "inputs": [ + { + "label": "mask", + "name": "mask", + "type": "MASK", + "link": 226 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 329 + ] + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + }, + "widgets_values": [] + }, + { + "id": 136, + "type": "Reroute", + "pos": [ + -480, + -510 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 47, + "mode": 0, + "inputs": [ + { + "label": "", + "name": "", + "type": "*", + "link": 327 + } + ], + "outputs": [ + { + "label": "", + "name": "", + "type": "IMAGE", + "slot_index": 0, + "links": [ + 241, + 332 + ] + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 185, + "type": "BatchCount+", + "pos": [ + -470, + -420 + ], + "size": [ + 210, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 51, + "mode": 0, + "inputs": [ + { + "label": "batch", + "name": "batch", + "type": "*", + "link": 332 + } + ], + "outputs": [ + { + "label": "INT", + "name": "INT", + "type": "INT", + "links": [ + 333 + ] + } + ], + "properties": { + "Node name for S&R": "BatchCount+" + }, + "widgets_values": [] + }, + { + "id": 184, + "type": "RepeatImageBatch", + "pos": [ + -140, + -420 + ], + "size": [ + 315, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 55, + "mode": 0, + "inputs": [ + { + "label": "image", + "name": "image", + "type": "IMAGE", + "link": 329 + }, + { + "label": "amount", + "name": "amount", + "type": "INT", + "widget": { + "name": "amount" + }, + "link": 333 + } + ], + "outputs": [ + { + "label": "IMAGE", + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 330 + ] + } + ], + "properties": { + "Node name for S&R": "RepeatImageBatch" + }, + "widgets_values": [ + 3 + ] + }, + { + "id": 154, + "type": "Preview3D", + "pos": [ + 5220, + -1620 + ], + "size": [ + 1203.0570068359375, + 1629.183349609375 + ], + "flags": {}, + "order": 78, + "mode": 0, + "inputs": [ + { + "label": "model_file", + "name": "model_file", + "type": "STRING", + "widget": { + "name": "model_file" + }, + "link": 276 + } + ], + "outputs": [], + "properties": { + "Node name for S&R": "Preview3D", + "Camera Info": { + "position": { + "x": 11.555238911017879, + "y": 11.555238911017879, + "z": 11.55523891101788 + }, + "target": { + "x": 0, + "y": 0, + "z": 0 + }, + "zoom": 1, + "cameraType": "perspective" + } + }, + "widgets_values": [ + "3D/Hy3D_textured_00010_.glb", + "" + ] + } + ], + "links": [ + [ + 30, + 28, + 0, + 35, + 0, + "DELIGHTMODEL" + ], + [ + 57, + 35, + 0, + 45, + 0, + "IMAGE" + ], + [ + 74, + 55, + 0, + 56, + 0, + "REMBG_SESSION" + ], + [ + 99, + 64, + 0, + 35, + 1, + "IMAGE" + ], + [ + 134, + 83, + 0, + 79, + 0, + "HY3DMESH" + ], + [ + 139, + 85, + 0, + 88, + 0, + "HY3DPAINTMODEL" + ], + [ + 148, + 79, + 0, + 90, + 0, + "IMAGE" + ], + [ + 163, + 98, + 0, + 99, + 0, + "HY3DMESH" + ], + [ + 185, + 104, + 0, + 98, + 0, + "IMAGE" + ], + [ + 192, + 88, + 0, + 111, + 0, + "IMAGE" + ], + [ + 199, + 79, + 1, + 116, + 0, + "IMAGE" + ], + [ + 202, + 88, + 0, + 117, + 0, + "IMAGE" + ], + [ + 203, + 117, + 0, + 92, + 0, + "IMAGE" + ], + [ + 204, + 119, + 0, + 118, + 0, + "UPSCALE_MODEL" + ], + [ + 205, + 88, + 0, + 118, + 1, + "IMAGE" + ], + [ + 207, + 92, + 0, + 125, + 0, + "IMAGE" + ], + [ + 209, + 104, + 0, + 127, + 0, + "IMAGE" + ], + [ + 217, + 92, + 0, + 129, + 0, + "IMAGE" + ], + [ + 218, + 92, + 1, + 129, + 1, + "MASK" + ], + [ + 219, + 92, + 2, + 129, + 2, + "MESHRENDER" + ], + [ + 220, + 129, + 0, + 104, + 0, + "IMAGE" + ], + [ + 221, + 129, + 0, + 126, + 0, + "IMAGE" + ], + [ + 222, + 129, + 1, + 104, + 1, + "MASK" + ], + [ + 223, + 129, + 2, + 98, + 1, + "MESHRENDER" + ], + [ + 226, + 132, + 0, + 133, + 0, + "MASK" + ], + [ + 231, + 135, + 0, + 64, + 2, + "MASK" + ], + [ + 241, + 136, + 0, + 64, + 1, + "IMAGE" + ], + [ + 244, + 56, + 1, + 138, + 0, + "MASK" + ], + [ + 250, + 10, + 1, + 140, + 0, + "HY3DVAE" + ], + [ + 262, + 144, + 0, + 35, + 3, + "INT" + ], + [ + 263, + 144, + 0, + 35, + 4, + "INT" + ], + [ + 264, + 144, + 0, + 88, + 6, + "INT" + ], + [ + 265, + 148, + 0, + 35, + 2, + "NOISESCHEDULER" + ], + [ + 266, + 28, + 0, + 148, + 0, + "HY3DDIFFUSERSPIPE" + ], + [ + 267, + 149, + 0, + 88, + 5, + "NOISESCHEDULER" + ], + [ + 268, + 85, + 0, + 149, + 0, + "HY3DDIFFUSERSPIPE" + ], + [ + 272, + 61, + 0, + 79, + 1, + "HY3DCAMERA" + ], + [ + 276, + 99, + 0, + 154, + 0, + "STRING" + ], + [ + 283, + 17, + 0, + 162, + 0, + "STRING" + ], + [ + 292, + 157, + 0, + 52, + 0, + "IMAGE" + ], + [ + 293, + 10, + 0, + 166, + 0, + "HY3DMODEL" + ], + [ + 297, + 166, + 0, + 140, + 1, + "HY3DLATENT" + ], + [ + 306, + 52, + 0, + 56, + 1, + "IMAGE" + ], + [ + 325, + 166, + 1, + 182, + 0, + "IMAGE" + ], + [ + 326, + 166, + 2, + 183, + 0, + "MASK" + ], + [ + 327, + 166, + 1, + 136, + 0, + "*" + ], + [ + 329, + 133, + 0, + 184, + 0, + "IMAGE" + ], + [ + 330, + 184, + 0, + 64, + 0, + "IMAGE" + ], + [ + 332, + 136, + 0, + 185, + 0, + "*" + ], + [ + 333, + 185, + 0, + 184, + 1, + "INT" + ], + [ + 335, + 61, + 0, + 187, + 0, + "*" + ], + [ + 336, + 187, + 0, + 88, + 4, + "HY3DCAMERA" + ], + [ + 337, + 187, + 0, + 92, + 2, + "HY3DCAMERA" + ], + [ + 338, + 79, + 2, + 188, + 0, + "*" + ], + [ + 339, + 188, + 0, + 92, + 1, + "MESHRENDER" + ], + [ + 350, + 166, + 2, + 135, + 0, + "*" + ], + [ + 352, + 52, + 0, + 195, + 0, + "IMAGE" + ], + [ + 354, + 195, + 0, + 166, + 1, + "IMAGE" + ], + [ + 370, + 56, + 1, + 202, + 0, + "MASK" + ], + [ + 371, + 202, + 0, + 195, + 1, + "MASK" + ], + [ + 372, + 140, + 0, + 203, + 0, + "TRIMESH" + ], + [ + 373, + 203, + 0, + 17, + 0, + "TRIMESH" + ], + [ + 374, + 203, + 0, + 83, + 0, + "TRIMESH" + ], + [ + 375, + 203, + 0, + 163, + 0, + "TRIMESH" + ], + [ + 376, + 209, + 0, + 204, + 0, + "IMAGE" + ], + [ + 377, + 204, + 0, + 205, + 1, + "IMAGE" + ], + [ + 378, + 205, + 1, + 206, + 0, + "MASK" + ], + [ + 379, + 204, + 0, + 207, + 0, + "IMAGE" + ], + [ + 380, + 206, + 0, + 207, + 1, + "MASK" + ], + [ + 381, + 205, + 1, + 208, + 0, + "MASK" + ], + [ + 384, + 55, + 0, + 205, + 0, + "REMBG_SESSION" + ], + [ + 385, + 215, + 0, + 210, + 0, + "IMAGE" + ], + [ + 387, + 210, + 0, + 211, + 1, + "IMAGE" + ], + [ + 388, + 211, + 1, + 212, + 0, + "MASK" + ], + [ + 389, + 210, + 0, + 213, + 0, + "IMAGE" + ], + [ + 390, + 212, + 0, + 213, + 1, + "MASK" + ], + [ + 391, + 211, + 1, + 214, + 0, + "MASK" + ], + [ + 392, + 55, + 0, + 211, + 0, + "REMBG_SESSION" + ], + [ + 393, + 222, + 0, + 217, + 0, + "IMAGE" + ], + [ + 395, + 217, + 0, + 218, + 1, + "IMAGE" + ], + [ + 396, + 218, + 1, + 219, + 0, + "MASK" + ], + [ + 397, + 217, + 0, + 220, + 0, + "IMAGE" + ], + [ + 398, + 219, + 0, + 220, + 1, + "MASK" + ], + [ + 399, + 218, + 1, + 221, + 0, + "MASK" + ], + [ + 402, + 55, + 0, + 218, + 0, + "REMBG_SESSION" + ], + [ + 403, + 207, + 0, + 166, + 2, + "IMAGE" + ], + [ + 404, + 213, + 0, + 166, + 3, + "IMAGE" + ], + [ + 405, + 220, + 0, + 166, + 4, + "IMAGE" + ], + [ + 417, + 79, + 0, + 88, + 2, + "IMAGE" + ], + [ + 418, + 79, + 1, + 88, + 3, + "IMAGE" + ], + [ + 420, + 233, + 0, + 88, + 1, + "IMAGE" + ], + [ + 421, + 35, + 0, + 234, + 0, + "*" + ], + [ + 422, + 234, + 0, + 233, + 0, + "*" + ] + ], + "groups": [ + { + "id": 1, + "title": "MeshGen", + "bounding": [ + -500, + -1660, + 2820, + 850 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 2, + "title": "Delight", + "bounding": [ + -190, + -790, + 1250, + 800 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "id": 3, + "title": "RenderTextures", + "bounding": [ + 1090, + -790, + 1230, + 800 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "id": 4, + "title": "TextureSampling", + "bounding": [ + 2350, + -1660, + 2853.1875, + 1672.14794921875 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "id": 5, + "title": "Front", + "bounding": [ + -1530, + -1360, + 980, + 450 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 9, + "title": "Left", + "bounding": [ + -1530, + -880, + 980, + 450 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 10, + "title": "Right", + "bounding": [ + -1530, + -400, + 980, + 450 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 11, + "title": "Back", + "bounding": [ + -1530, + 80, + 980, + 450 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 12, + "title": "Load Model Here", + "bounding": [ + -1527.031494140625, + -1657.4007568359375, + 975.4182739257812, + 279.28448486328125 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 14, + "title": "Upscale Image (Optional)", + "bounding": [ + 3217.823486328125, + -1613.9659423828125, + 780, + 240 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 15, + "title": "SolidMask", + "bounding": [ + -510.64788818359375, + -400.3321838378906, + 296.7890319824219, + 408.2003173828125 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.12284597357367272, + "offset": [ + 4745.806428489098, + 3794.7371951825885 + ] + }, + "linkExtensions": [ + { + "id": 419, + "parentId": 1 + } + ], + "node_versions": { + "ComfyUI_essentials": "33ff89fd354d8ec3ab6affb605a79a931b445d99", + "comfy-core": "0.3.26", + "comfyui-hunyan3dwrapper": "875b0b0420b2af86c4e75f9014b304ba4d21f4c3" + }, + "VHS_latentpreview": true, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true + }, + "models": [ + { + "name": "hunyuan3d-dit-v2-mv.safetensors", + "url": "https://huggingface.co/tencent/Hunyuan3D-2mv/blob/main/hunyuan3d-dit-v2-mv/model.fp16.safetensors", + "directory": "diffusion_models" + } + ], + "version": 0.4 +} \ No newline at end of file diff --git a/Kijai_FLF2V_framepack.json b/Kijai_FLF2V_framepack.json new file mode 100644 index 0000000..cdde20b --- /dev/null +++ b/Kijai_FLF2V_framepack.json @@ -0,0 +1,1566 @@ +{ + "id": "ce2cb810-7775-4564-8928-dd5bed1053cd", + "revision": 0, + "last_node_id": 64, + "last_link_id": 145, + "nodes": [ + { + "id": 13, + "type": "DualCLIPLoader", + "pos": [ + -30, + 700 + ], + "size": [ + 340.2243957519531, + 130 + ], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 102 + ] + } + ], + "properties": { + "Node name for S&R": "DualCLIPLoader", + "cnr_id": "comfy-core", + "ver": "0.3.28", + "models": [ + { + "name": "clip_l.safetensors", + "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/text_encoders/clip_l.safetensors?download=true", + "directory": "text_encoders" + }, + { + "name": "llava_llama3_fp16.safetensors", + "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/text_encoders/llava_llama3_fp16.safetensors?download=true", + "directory": "text_encoders" + } + ] + }, + "widgets_values": [ + "clip_l.safetensors", + "llava_llama3_fp16.safetensors", + "hunyuan_video", + "default" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 52, + "type": "LoadFramePackModel", + "pos": [ + -30, + 490 + ], + "size": [ + 341.1507873535156, + 131.83546447753906 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "FRAMEPACKCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "FramePackMODEL", + "links": [ + 129 + ] + } + ], + "properties": { + "Node name for S&R": "LoadFramePackModel", + "aux_id": "kijai/ComfyUI-FramePackWrapper", + "ver": "49fe507eca8246cc9d08a8093892f40c1180e88f", + "models": [ + { + "name": "FramePackI2V_HY_fp8_e4m3fn.safetensors", + "url": "https://huggingface.co/Kijai/HunyuanVideo_comfy/blob/main/FramePackI2V_HY_fp8_e4m3fn.safetensors", + "directory": "diffusion_models" + } + ] + }, + "widgets_values": [ + "FramePackI2V_HY_fp8_e4m3fn.safetensors", + "bf16", + "fp8_e4m3fn", + "sdpa" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 19, + "type": "LoadImage", + "pos": [ + 350, + 500 + ], + "size": [ + 330.056884765625, + 326 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 122, + 126 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage", + "cnr_id": "comfy-core", + "ver": "0.3.28" + }, + "widgets_values": [ + "input-1.webp", + "image" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 51, + "type": "FramePackFindNearestBucket", + "pos": [ + 720, + 500 + ], + "size": [ + 315, + 78 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 126 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 128 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 127 + ] + } + ], + "properties": { + "Node name for S&R": "FramePackFindNearestBucket", + "aux_id": "kijai/ComfyUI-FramePackWrapper", + "ver": "4f9030a9f4c0bd67d86adf3d3dc07e37118c40bd" + }, + "widgets_values": [ + 640 + ] + }, + { + "id": 17, + "type": "CLIPVisionEncode", + "pos": [ + 1060, + 490 + ], + "size": [ + 253.60000610351562, + 78 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "clip_vision", + "type": "CLIP_VISION", + "link": 18 + }, + { + "name": "image", + "type": "IMAGE", + "link": 116 + } + ], + "outputs": [ + { + "name": "CLIP_VISION_OUTPUT", + "type": "CLIP_VISION_OUTPUT", + "links": [ + 83 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPVisionEncode", + "cnr_id": "comfy-core", + "ver": "0.3.28" + }, + "widgets_values": [ + "center" + ] + }, + { + "id": 59, + "type": "LoadImage", + "pos": [ + 350, + 960 + ], + "size": [ + 330.056884765625, + 326 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 140, + 141 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "Node name for S&R": "LoadImage", + "cnr_id": "comfy-core", + "ver": "0.3.28" + }, + "widgets_values": [ + "input-2.webp", + "image" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 18, + "type": "CLIPVisionLoader", + "pos": [ + -30, + 890 + ], + "size": [ + 340.9768981933594, + 62.64126968383789 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP_VISION", + "type": "CLIP_VISION", + "links": [ + 18, + 142 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPVisionLoader", + "cnr_id": "comfy-core", + "ver": "0.3.28", + "models": [ + { + "name": "sigclip_vision_patch14_384.safetensors", + "url": "https://huggingface.co/Comfy-Org/sigclip_vision_384/resolve/main/sigclip_vision_patch14_384.safetensors?download=true)", + "directory": "clip_vision" + } + ] + }, + "widgets_values": [ + "sigclip_vision_patch14_384.safetensors" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 63, + "type": "CLIPVisionEncode", + "pos": [ + 1060, + 960 + ], + "size": [ + 253.60000610351562, + 78 + ], + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "clip_vision", + "type": "CLIP_VISION", + "link": 142 + }, + { + "name": "image", + "type": "IMAGE", + "link": 138 + } + ], + "outputs": [ + { + "name": "CLIP_VISION_OUTPUT", + "type": "CLIP_VISION_OUTPUT", + "links": [ + 143 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPVisionEncode", + "cnr_id": "comfy-core", + "ver": "0.3.28" + }, + "widgets_values": [ + "center" + ] + }, + { + "id": 12, + "type": "VAELoader", + "pos": [ + -30, + 1000 + ], + "size": [ + 341.07684326171875, + 71.51380157470703 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 22, + 62, + 145 + ] + } + ], + "properties": { + "Node name for S&R": "VAELoader", + "cnr_id": "comfy-core", + "ver": "0.3.28", + "models": [ + { + "name": "hunyuan_video_vae_bf16.safetensors", + "url": "https://huggingface.co/Comfy-Org/HunyuanVideo_repackaged/resolve/main/split_files/vae/hunyuan_video_vae_bf16.safetensors?download=true)", + "directory": "vae" + } + ] + }, + "widgets_values": [ + "hunyuan_video_vae_bf16.safetensors" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 60, + "type": "ImageResize+", + "pos": [ + 720, + 1090 + ], + "size": [ + 315, + 218 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 141 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 135 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 136 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 137 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageResize+", + "cnr_id": "comfyui_essentials", + "aux_id": "kijai/ComfyUI_essentials", + "ver": "76e9d1e4399bd025ce8b12c290753d58f9f53e93" + }, + "widgets_values": [ + 512, + 512, + "lanczos", + "stretch", + "always", + 0 + ] + }, + { + "id": 61, + "type": "FramePackFindNearestBucket", + "pos": [ + 720, + 960 + ], + "size": [ + 315, + 78 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 140 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 135 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 136 + ] + } + ], + "properties": { + "Node name for S&R": "FramePackFindNearestBucket", + "aux_id": "kijai/ComfyUI-FramePackWrapper", + "ver": "4f9030a9f4c0bd67d86adf3d3dc07e37118c40bd" + }, + "widgets_values": [ + 640 + ] + }, + { + "id": 47, + "type": "CLIPTextEncode", + "pos": [ + 360, + 250 + ], + "size": [ + 338.3762512207031, + 113.06334686279297 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 102 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 114, + 118 + ] + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode", + "cnr_id": "comfy-core", + "ver": "0.3.28" + }, + "widgets_values": [ + "The girl spins dramatically, her braid whipping through the air as her dress flows with the motion." + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 15, + "type": "ConditioningZeroOut", + "pos": [ + 820, + 290 + ], + "size": [ + 317.4000244140625, + 26 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 118 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 108 + ] + } + ], + "properties": { + "Node name for S&R": "ConditioningZeroOut", + "cnr_id": "comfy-core", + "ver": "0.3.28" + }, + "widgets_values": [], + "color": "#332922", + "bgcolor": "#593930" + }, + { + "id": 54, + "type": "DownloadAndLoadFramePackModel", + "pos": [ + 350, + 20 + ], + "size": [ + 315, + 130 + ], + "flags": {}, + "order": 6, + "mode": 4, + "inputs": [ + { + "name": "compile_args", + "shape": 7, + "type": "FRAMEPACKCOMPILEARGS", + "link": null + } + ], + "outputs": [ + { + "name": "model", + "type": "FramePackMODEL", + "links": null + } + ], + "properties": { + "Node name for S&R": "DownloadAndLoadFramePackModel", + "aux_id": "kijai/ComfyUI-FramePackWrapper", + "ver": "49fe507eca8246cc9d08a8093892f40c1180e88f" + }, + "widgets_values": [ + "lllyasviel/FramePackI2V_HY", + "bf16", + "disabled", + "sdpa" + ] + }, + { + "id": 27, + "type": "FramePackTorchCompileSettings", + "pos": [ + -230, + -60 + ], + "size": [ + 531.5999755859375, + 202 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "torch_compile_args", + "type": "FRAMEPACKCOMPILEARGS", + "links": [] + } + ], + "properties": { + "Node name for S&R": "FramePackTorchCompileSettings", + "aux_id": "lllyasviel/FramePack", + "ver": "0e5fe5d7ca13c76fb8e13708f4b92e7c7a34f20c" + }, + "widgets_values": [ + "inductor", + false, + "default", + false, + 64, + true, + true + ] + }, + { + "id": 39, + "type": "FramePackSampler", + "pos": [ + 1380, + 210 + ], + "size": [ + 390, + 540 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "FramePackMODEL", + "link": 129 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 114 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 108 + }, + { + "name": "image_embeds", + "type": "CLIP_VISION_OUTPUT", + "link": 83 + }, + { + "name": "start_latent", + "shape": 7, + "type": "LATENT", + "link": 86 + }, + { + "name": "end_latent", + "shape": 7, + "type": "LATENT", + "link": 144 + }, + { + "name": "end_image_embeds", + "shape": 7, + "type": "CLIP_VISION_OUTPUT", + "link": 143 + }, + { + "name": "initial_samples", + "shape": 7, + "type": "LATENT", + "link": null + } + ], + "outputs": [ + { + "name": "samples", + "type": "LATENT", + "links": [ + 85 + ] + } + ], + "properties": { + "Node name for S&R": "FramePackSampler", + "aux_id": "kijai/ComfyUI-FramePackWrapper", + "ver": "8e5ec6b7f3acf88255c5d93d062079f18b43aa2b" + }, + "widgets_values": [ + 30, + true, + 0.15, + 1, + 10, + 0, + 688037858921160, + "randomize", + 9, + 5, + 6, + "unipc_bh1", + "weighted_average", + 0.5, + 1 + ] + }, + { + "id": 33, + "type": "VAEDecodeTiled", + "pos": [ + 1400, + 810 + ], + "size": [ + 350, + 150 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 85 + }, + { + "name": "vae", + "type": "VAE", + "link": 62 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 131, + 133 + ] + } + ], + "properties": { + "Node name for S&R": "VAEDecodeTiled", + "cnr_id": "comfy-core", + "ver": "0.3.28" + }, + "widgets_values": [ + 256, + 64, + 64, + 8 + ] + }, + { + "id": 57, + "type": "VHS_VideoCombine", + "pos": [ + 1820, + 220 + ], + "size": [ + 580, + 937.4736938476562 + ], + "flags": {}, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 133 + }, + { + "name": "audio", + "shape": 7, + "type": "AUDIO", + "link": null + }, + { + "name": "meta_batch", + "shape": 7, + "type": "VHS_BatchManager", + "link": null + }, + { + "name": "vae", + "shape": 7, + "type": "VAE", + "link": null + } + ], + "outputs": [ + { + "name": "Filenames", + "type": "VHS_FILENAMES", + "links": null + } + ], + "properties": { + "Node name for S&R": "VHS_VideoCombine" + }, + "widgets_values": { + "frame_rate": 16, + "loop_count": 0, + "filename_prefix": "AnimateDiff", + "format": "video/h264-mp4", + "pix_fmt": "yuv420p", + "crf": 19, + "save_metadata": true, + "trim_to_audio": false, + "pingpong": false, + "save_output": true, + "videopreview": { + "hidden": false, + "paused": false, + "params": { + "filename": "AnimateDiff_00004.mp4", + "subfolder": "", + "type": "output", + "format": "video/h264-mp4", + "frame_rate": 16, + "workflow": "AnimateDiff_00004.png", + "fullpath": "/root/ComfyUI/output/AnimateDiff_00004.mp4" + } + } + } + }, + { + "id": 50, + "type": "ImageResize+", + "pos": [ + 720, + 630 + ], + "size": [ + 315, + 218 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 122 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 128 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 127 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 125 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "ImageResize+", + "cnr_id": "comfyui_essentials", + "aux_id": "kijai/ComfyUI_essentials", + "ver": "76e9d1e4399bd025ce8b12c290753d58f9f53e93" + }, + "widgets_values": [ + 512, + 512, + "lanczos", + "stretch", + "always", + 0 + ] + }, + { + "id": 48, + "type": "GetImageSizeAndCount", + "pos": [ + 1060, + 630 + ], + "size": [ + 250, + 86 + ], + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 125 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 116, + 117 + ] + }, + { + "label": "608 width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "640 height", + "name": "height", + "type": "INT", + "links": null + }, + { + "label": "1 count", + "name": "count", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "GetImageSizeAndCount", + "cnr_id": "comfyui-kjnodes", + "ver": "8ecf5cd05e0a1012087b0da90eea9a13674668db" + }, + "widgets_values": [] + }, + { + "id": 20, + "type": "VAEEncode", + "pos": [ + 1060, + 760 + ], + "size": [ + 210, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 117 + }, + { + "name": "vae", + "type": "VAE", + "link": 22 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 86 + ] + } + ], + "properties": { + "Node name for S&R": "VAEEncode", + "cnr_id": "comfy-core", + "ver": "0.3.28" + }, + "widgets_values": [] + }, + { + "id": 62, + "type": "GetImageSizeAndCount", + "pos": [ + 1060, + 1090 + ], + "size": [ + 250, + 86 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 137 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 138, + 139 + ] + }, + { + "label": "608 width", + "name": "width", + "type": "INT", + "links": null + }, + { + "label": "640 height", + "name": "height", + "type": "INT", + "links": null + }, + { + "label": "1 count", + "name": "count", + "type": "INT", + "links": null + } + ], + "properties": { + "Node name for S&R": "GetImageSizeAndCount", + "cnr_id": "comfyui-kjnodes", + "ver": "8ecf5cd05e0a1012087b0da90eea9a13674668db" + }, + "widgets_values": [] + }, + { + "id": 64, + "type": "VAEEncode", + "pos": [ + 1060, + 1220 + ], + "size": [ + 210, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 139 + }, + { + "name": "vae", + "type": "VAE", + "link": 145 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 144 + ] + } + ], + "properties": { + "Node name for S&R": "VAEEncode", + "cnr_id": "comfy-core", + "ver": "0.3.28" + }, + "widgets_values": [] + }, + { + "id": 56, + "type": "SaveAnimatedWEBP", + "pos": [ + 1400, + 1010 + ], + "size": [ + 210, + 379.0526428222656 + ], + "flags": {}, + "order": 22, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 131 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.29" + }, + "widgets_values": [ + "ComfyUI", + 16.000000000000004, + true, + 80, + "default" + ] + } + ], + "links": [ + [ + 18, + 18, + 0, + 17, + 0, + "CLIP_VISION" + ], + [ + 22, + 12, + 0, + 20, + 1, + "VAE" + ], + [ + 62, + 12, + 0, + 33, + 1, + "VAE" + ], + [ + 83, + 17, + 0, + 39, + 3, + "CLIP_VISION_OUTPUT" + ], + [ + 85, + 39, + 0, + 33, + 0, + "LATENT" + ], + [ + 86, + 20, + 0, + 39, + 4, + "LATENT" + ], + [ + 102, + 13, + 0, + 47, + 0, + "CLIP" + ], + [ + 108, + 15, + 0, + 39, + 2, + "CONDITIONING" + ], + [ + 114, + 47, + 0, + 39, + 1, + "CONDITIONING" + ], + [ + 116, + 48, + 0, + 17, + 1, + "IMAGE" + ], + [ + 117, + 48, + 0, + 20, + 0, + "IMAGE" + ], + [ + 118, + 47, + 0, + 15, + 0, + "CONDITIONING" + ], + [ + 122, + 19, + 0, + 50, + 0, + "IMAGE" + ], + [ + 125, + 50, + 0, + 48, + 0, + "IMAGE" + ], + [ + 126, + 19, + 0, + 51, + 0, + "IMAGE" + ], + [ + 127, + 51, + 1, + 50, + 2, + "INT" + ], + [ + 128, + 51, + 0, + 50, + 1, + "INT" + ], + [ + 129, + 52, + 0, + 39, + 0, + "FramePackMODEL" + ], + [ + 131, + 33, + 0, + 56, + 0, + "IMAGE" + ], + [ + 133, + 33, + 0, + 57, + 0, + "IMAGE" + ], + [ + 135, + 61, + 0, + 60, + 1, + "INT" + ], + [ + 136, + 61, + 1, + 60, + 2, + "INT" + ], + [ + 137, + 60, + 0, + 62, + 0, + "IMAGE" + ], + [ + 138, + 62, + 0, + 63, + 1, + "IMAGE" + ], + [ + 139, + 62, + 0, + 64, + 0, + "IMAGE" + ], + [ + 140, + 59, + 0, + 61, + 0, + "IMAGE" + ], + [ + 141, + 59, + 0, + 60, + 0, + "IMAGE" + ], + [ + 142, + 18, + 0, + 63, + 0, + "CLIP_VISION" + ], + [ + 143, + 63, + 0, + 39, + 6, + "CLIP_VISION_OUTPUT" + ], + [ + 144, + 64, + 0, + 39, + 5, + "LATENT" + ], + [ + 145, + 12, + 0, + 64, + 1, + "VAE" + ] + ], + "groups": [ + { + "id": 1, + "title": "Load Models Here", + "bounding": [ + -40, + 420, + 361.1507873535156, + 656.2219848632812 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 2, + "title": "Start Frame", + "bounding": [ + 340, + 420, + 360, + 450 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 3, + "title": "Prompt", + "bounding": [ + 340, + 170, + 720, + 230 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 4, + "title": "Resize & Encoding", + "bounding": [ + 710, + 420, + 630, + 450 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 5, + "title": "Last Frame", + "bounding": [ + 340, + 890, + 360, + 430 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 6, + "title": "Resize & Encoding", + "bounding": [ + 710, + 890, + 630, + 430 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 0.40909090909092355, + "offset": [ + 928.9456641867407, + 281.74751659707204 + ] + }, + "frontendVersion": "1.17.9", + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true, + "node_versions": { + "comfy-core": "0.3.29", + "ComfyUI-FramePackWrapper": "dcb0fc64d6266be728457a62c8737e1192605f20", + "ComfyUI_essentials": "33ff89fd354d8ec3ab6affb605a79a931b445d99", + "comfyui-videohelpersuite": "598e181e97d50174cc18677dfcdaa7b9b6ec0cb2", + "comfyui-kjnodes": "c3dc82108a2a86c17094107ead61d63f8c76200e" + } + }, + "version": 0.4 +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..a8efd0e --- /dev/null +++ b/README.md @@ -0,0 +1,137 @@ +## 55服务器文档 + +IP:192.168.124.55 + +uname:ubun + +## cuda环境 +主机完成NVIDIA驱动,CUDA nvcc,cuDNN配置 +```bash +Driver Version: 535.247.01 +CUDA Version: 12.2 +Cuda compilation tools, release 10.1, V10.1.243 +``` + +`nvidia-smi` + +`nvcc --version` + +## conda + +base环境下已有 +```text +python 3.13.5 +torch 2.8.0 +``` + + +如需创建其他环境,推荐使用conda创建隔离环境,最佳环境隔离建议使用docker,配置macvlan和GPU直通 + +## docker + +已有服务 +```bash +CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES +89e4a4fdd5a2 comfyui-lndextts:20250821 "python3 main.py --l…" 7 days ago Up 28 hours 0.0.0.0:8188->8188/tcp, [::]:8188->8188/tcp comfyui +051fd84a4992 universonic/stable-diffusion-webui "/app/entrypoint.sh …" 12 days ago Up 3 days 0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp stable-diffusion-webui +d5cd287d04a7 ollama/ollama:0.11.4 "/bin/ollama serve" 2 weeks ago Up 3 days 0.0.0.0:11434->11434/tcp, [::]:11434->11434/tcp ollama +``` + + +docker镜像:https://docker.ziyourufeng.eu.org/ +使用方法: `pull docker.ziyourufeng.eu.org/nanozoo/python3.12:3.12--d46ab4d` + + +### comfyui +服务:http://192.168.124.55:8188/ + +已有服务及模型:ComfyUI Manager,qwen image,indexTTS,Hunyuan3D,Framepack + +```bash +docker run --gpus all -d --name comfyui-qwen -p 8188:8188 \ + -v /home/edzhao/Qwen-image/comfyui_data/models:/ComfyUI/models \ + -v /home/edzhao/Qwen-image/comfyui_data/output:/ComfyUI/output \ + -v /home/edzhao/Qwen-image/comfyui_data/custom_nodes:/ComfyUI/custom_nodes \ + -v /home/edzhao/Qwen-image/comfyui_data/input:/ComfyUI/input \ + comfyui-qwen-image:latest python3 main.py --listen 0.0.0.0 +``` + ++ 文件相关 +comfyui服务挂载路径位于:`/home/edzhao/Qwen-image/comfyui_data` + +宿主机挂载目录没有备份请谨慎操作 + +custom_nodes 插件挂载路径 +input web上传文件路径 +models 模型文件路径 +output 输出文件路径 + + +注:工作流未挂载宿主机,恢复容器备份会导致工作流消失 + + + ++ 备份相关 + +容器备份作为镜像commit,如遇到环境冲突无法修复可从镜像恢复. +```bash +comfyui-lndextts 20250821 +comfyui-qwen-image latest +``` + +如何遇到依赖错误导致docker容器直接无法启动,基于这个新的自定义镜像,启动一个临时的、只运行 shell 的容器 +```bash +docker run -it --name comfyui_fix_shell_temp --entrypoint /bin/bash comfyui_my_custom_state:latest +``` +```bash +docker commit f6b773f8bcc7 comfyui_my_custom_state_fixed_final:latest +``` + + ++ 包管理 + +ComfyUI未配置pip虚拟环境,容器安全限制pip管理需要添加`--break-system-packages`参数,**请勿使用apt包管理安装python包**,会产生双包管理器管理环境问题. + +请勿直接安装`requirements.txt` + +插件管理优先使用`ComfyUI Manager`,如遇依赖问题需要手动进入容器处理. + + ++ 模型管理 + +安装魔搭社区的modelscope模型管理工具 + +```bash +pip install -i https://pypi.tuna.tsinghua.edu.cn/simple modelscope +``` + ++ 网络相关 + +建议使用macvlan模式,容器间通信无需担心端口冲突. +```bash +docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o parent=eth0 macnet +``` +docker network create 命令创建了一个新的 Docker 网络,使用了 macvlan 驱动。macvlan 网络允许您将容器连接到物理网络,就像它们是网络上的独立主机一样。您为这个网络指定了以下参数: + +-d macvlan:指定网络驱动为 macvlan。 +--subnet=192.168.1.0/24:指定网络的子网掩码为 192.168.1.0/24。 +--gateway=192.168.1.1:指定网络的网关地址为 192.168.1.1。 +-o parent=eth0:指定父接口为 eth0,这是混杂模式下配置的物理网络接口。 +macnet:是新创建的 Docker 网络的名称。 + ++ 显存相关 + +comfyui服务启动时添加`--lowvram`参数,可释放显存,但会降低性能 +默认情况下运行一次后会在显存加载模型,提升下一次运行速度,一段时间后不使用会清空,当然也可以创建一个新的工作流加载空模型.最佳方式还是重启容器. +资源监控http://192.168.124.55:8090/ + + + +## 端口使用情况 + +| 服务 | 端口 | 说明 | +| --- | --- | --- | +| comfyui | 8188 | 图像,语音,视频,3D合成服务 | +| stable-diffusion-webui | 8080 | 图像生成服务 | +| Beszel | 8090 | 资源监控 | +| ollama | 11434 | ollama服务 | \ No newline at end of file diff --git a/加载speaker模型.json b/加载speaker模型.json new file mode 100644 index 0000000..51b2f1f --- /dev/null +++ b/加载speaker模型.json @@ -0,0 +1 @@ +{"id":"dd3c6096-28cc-415f-a93d-3a732e3d1f0d","revision":0,"last_node_id":61,"last_link_id":109,"nodes":[{"id":59,"type":"IndexSpeakersPreview","pos":[421.4978332519531,14.600564002990723],"size":[291.1605224609375,81.94380950927734],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"speaker","name":"speaker","type":"COMBO","widget":{"name":"speaker"},"link":null}],"outputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","links":[107,109]}],"properties":{"Node name for S&R":"IndexSpeakersPreview"},"widgets_values":["中文女\\女中音-中-00003.wav"]},{"id":57,"type":"SaveAudioMP3","pos":[1101.9638671875,117.3270034790039],"size":[270,136],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":104},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"quality","name":"quality","type":"COMBO","widget":{"name":"quality"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null}],"outputs":[],"properties":{"Node name for S&R":"SaveAudioMP3"},"widgets_values":["IN会话","V0"]},{"id":56,"type":"IndexTTSRun","pos":[746.2798461914062,119.43355560302734],"size":[315,350],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":108},{"localized_name":"text","name":"text","type":"STRING","link":101},{"localized_name":"dialogue_audio_s2","name":"dialogue_audio_s2","shape":7,"type":"AUDIO","link":null},{"localized_name":"version","name":"version","type":"COMBO","widget":{"name":"version"},"link":null},{"localized_name":"top_k","name":"top_k","type":"INT","widget":{"name":"top_k"},"link":null},{"localized_name":"top_p","name":"top_p","type":"FLOAT","widget":{"name":"top_p"},"link":null},{"localized_name":"temperature","name":"temperature","type":"FLOAT","widget":{"name":"temperature"},"link":null},{"localized_name":"num_beams","name":"num_beams","type":"INT","widget":{"name":"num_beams"},"link":null},{"localized_name":"max_mel_tokens","name":"max_mel_tokens","type":"INT","widget":{"name":"max_mel_tokens"},"link":null},{"localized_name":"max_text_tokens_per_sentence","name":"max_text_tokens_per_sentence","type":"INT","widget":{"name":"max_text_tokens_per_sentence"},"link":null},{"localized_name":"sentences_bucket_max_size","name":"sentences_bucket_max_size","type":"INT","widget":{"name":"sentences_bucket_max_size"},"link":null},{"localized_name":"fast_inference","name":"fast_inference","type":"BOOLEAN","widget":{"name":"fast_inference"},"link":null},{"localized_name":"custom_cuda_kernel","name":"custom_cuda_kernel","type":"BOOLEAN","widget":{"name":"custom_cuda_kernel"},"link":null},{"localized_name":"unload_model","name":"unload_model","type":"BOOLEAN","widget":{"name":"unload_model"},"link":null}],"outputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","links":[104]}],"properties":{"Node name for S&R":"IndexTTSRun"},"widgets_values":["v1.5",30,0.8,1,3,786,94,4,true,false,false]},{"id":60,"type":"MinimalPauseNode","pos":[810.9137573242188,-2.8286590576171875],"size":[210,73],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"any","name":"any","type":"*","link":107}],"outputs":[{"localized_name":"any","name":"any","type":"*","links":[108]}],"properties":{"Node name for S&R":"MinimalPauseNode"},"widgets_values":[""]},{"id":61,"type":"PreviewAudio","pos":[430.0892333984375,162.98651123046875],"size":[270,88],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":109},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null}],"outputs":[],"properties":{"Node name for S&R":"PreviewAudio"},"widgets_values":[]},{"id":11,"type":"MultiLinePromptIndex","pos":[428.05999755859375,325.6589050292969],"size":[264.0611572265625,88],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"multi_line_prompt","name":"multi_line_prompt","type":"STRING","widget":{"name":"multi_line_prompt"},"link":null}],"outputs":[{"localized_name":"text","name":"text","type":"STRING","links":[101]}],"properties":{"Node name for S&R":"MultiLinePromptIndex"},"widgets_values":["轻喘像风掠过耳畔,\n你靠近时,连呼吸都慢了半拍。\n\n"]}],"links":[[101,11,0,56,1,"STRING"],[104,56,0,57,0,"AUDIO"],[107,59,0,60,0,"*"],[108,60,0,56,0,"AUDIO"],[109,59,0,61,0,"AUDIO"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.2100000000000006,"offset":[-147.24560759759694,109.35765408174318]},"frontendVersion":"1.18.9","VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4} \ No newline at end of file diff --git a/加载音频.json b/加载音频.json new file mode 100644 index 0000000..6a7747d --- /dev/null +++ b/加载音频.json @@ -0,0 +1 @@ +{"id":"f616e4a5-ddda-4c3e-a13c-bfe3aee9ecc7","revision":0,"last_node_id":62,"last_link_id":111,"nodes":[{"id":56,"type":"IndexTTSRun","pos":[751.6865234375,93.94501495361328],"size":[315,350],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":111},{"localized_name":"text","name":"text","type":"STRING","link":101},{"localized_name":"dialogue_audio_s2","name":"dialogue_audio_s2","shape":7,"type":"AUDIO","link":null},{"localized_name":"version","name":"version","type":"COMBO","widget":{"name":"version"},"link":null},{"localized_name":"top_k","name":"top_k","type":"INT","widget":{"name":"top_k"},"link":null},{"localized_name":"top_p","name":"top_p","type":"FLOAT","widget":{"name":"top_p"},"link":null},{"localized_name":"temperature","name":"temperature","type":"FLOAT","widget":{"name":"temperature"},"link":null},{"localized_name":"num_beams","name":"num_beams","type":"INT","widget":{"name":"num_beams"},"link":null},{"localized_name":"max_mel_tokens","name":"max_mel_tokens","type":"INT","widget":{"name":"max_mel_tokens"},"link":null},{"localized_name":"max_text_tokens_per_sentence","name":"max_text_tokens_per_sentence","type":"INT","widget":{"name":"max_text_tokens_per_sentence"},"link":null},{"localized_name":"sentences_bucket_max_size","name":"sentences_bucket_max_size","type":"INT","widget":{"name":"sentences_bucket_max_size"},"link":null},{"localized_name":"fast_inference","name":"fast_inference","type":"BOOLEAN","widget":{"name":"fast_inference"},"link":null},{"localized_name":"custom_cuda_kernel","name":"custom_cuda_kernel","type":"BOOLEAN","widget":{"name":"custom_cuda_kernel"},"link":null},{"localized_name":"unload_model","name":"unload_model","type":"BOOLEAN","widget":{"name":"unload_model"},"link":null}],"outputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","links":[104]}],"properties":{"Node name for S&R":"IndexTTSRun"},"widgets_values":["v1.5",30,0.8,1,3,786,94,4,true,false,false]},{"id":62,"type":"LoadAudio","pos":[442.48858642578125,71.31970977783203],"size":[274.080078125,136],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"COMBO","widget":{"name":"audio"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"AUDIOUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[111]}],"properties":{"Node name for S&R":"LoadAudio"},"widgets_values":["11月19日.WAV",null,null]},{"id":11,"type":"MultiLinePromptIndex","pos":[445.8247985839844,269.2752990722656],"size":[267.9230041503906,205.40167236328125],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"multi_line_prompt","name":"multi_line_prompt","type":"STRING","widget":{"name":"multi_line_prompt"},"link":null}],"outputs":[{"localized_name":"text","name":"text","type":"STRING","links":[101]}],"properties":{"Node name for S&R":"MultiLinePromptIndex"},"widgets_values":["IndexTTS 正式发布1.5 版本了,效果666,\n晕XUAN4是一种GAN3觉,\n我爱你!,\nI love you!,\n“我爱你”的英语是“I love you”,\n2.5平方电线,\n共465篇,约315万字,\n2002年的第一场雪,下在了2003年.\n\n"]},{"id":57,"type":"SaveAudioMP3","pos":[1089.605712890625,98.01750183105469],"size":[270,136],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":104},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"quality","name":"quality","type":"COMBO","widget":{"name":"quality"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null}],"outputs":[],"properties":{"Node name for S&R":"SaveAudioMP3"},"widgets_values":["IN会话","V0"]}],"links":[[101,11,0,56,1,"STRING"],[104,56,0,57,0,"AUDIO"],[111,62,0,56,0,"AUDIO"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.2100000000000006,"offset":[-117.12284118166198,50.65686556805521]},"frontendVersion":"1.18.9","VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4} \ No newline at end of file diff --git a/双人会话.json b/双人会话.json new file mode 100644 index 0000000..7f5f6d9 --- /dev/null +++ b/双人会话.json @@ -0,0 +1 @@ +{"id":"627b95b8-115a-4e3a-9d35-31d86b783c25","revision":0,"last_node_id":57,"last_link_id":104,"nodes":[{"id":41,"type":"PreviewAudio","pos":[778.8387451171875,-15.026528358459473],"size":[270,88],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":103},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null}],"outputs":[],"properties":{"Node name for S&R":"PreviewAudio"},"widgets_values":[]},{"id":56,"type":"IndexTTSRun","pos":[748.5969848632812,127.1573486328125],"size":[315,350],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":100},{"localized_name":"text","name":"text","type":"STRING","link":101},{"localized_name":"dialogue_audio_s2","name":"dialogue_audio_s2","shape":7,"type":"AUDIO","link":102},{"localized_name":"version","name":"version","type":"COMBO","widget":{"name":"version"},"link":null},{"localized_name":"top_k","name":"top_k","type":"INT","widget":{"name":"top_k"},"link":null},{"localized_name":"top_p","name":"top_p","type":"FLOAT","widget":{"name":"top_p"},"link":null},{"localized_name":"temperature","name":"temperature","type":"FLOAT","widget":{"name":"temperature"},"link":null},{"localized_name":"num_beams","name":"num_beams","type":"INT","widget":{"name":"num_beams"},"link":null},{"localized_name":"max_mel_tokens","name":"max_mel_tokens","type":"INT","widget":{"name":"max_mel_tokens"},"link":null},{"localized_name":"max_text_tokens_per_sentence","name":"max_text_tokens_per_sentence","type":"INT","widget":{"name":"max_text_tokens_per_sentence"},"link":null},{"localized_name":"sentences_bucket_max_size","name":"sentences_bucket_max_size","type":"INT","widget":{"name":"sentences_bucket_max_size"},"link":null},{"localized_name":"fast_inference","name":"fast_inference","type":"BOOLEAN","widget":{"name":"fast_inference"},"link":null},{"localized_name":"custom_cuda_kernel","name":"custom_cuda_kernel","type":"BOOLEAN","widget":{"name":"custom_cuda_kernel"},"link":null},{"localized_name":"unload_model","name":"unload_model","type":"BOOLEAN","widget":{"name":"unload_model"},"link":null}],"outputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","links":[103,104]}],"properties":{"Node name for S&R":"IndexTTSRun"},"widgets_values":["v1.5",30,0.8,1,3,786,94,4,true,false,false]},{"id":57,"type":"SaveAudioMP3","pos":[1114.32177734375,19.234790802001953],"size":[270,136],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"AUDIO","link":104},{"localized_name":"filename_prefix","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null},{"localized_name":"quality","name":"quality","type":"COMBO","widget":{"name":"quality"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null}],"outputs":[],"properties":{"Node name for S&R":"SaveAudioMP3"},"widgets_values":["IN会话","V0"]},{"id":11,"type":"MultiLinePromptIndex","pos":[441.962890625,355.0093994140625],"size":[273.32977294921875,129.7134552001953],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"multi_line_prompt","name":"multi_line_prompt","type":"STRING","widget":{"name":"multi_line_prompt"},"link":null}],"outputs":[{"localized_name":"text","name":"text","type":"STRING","links":[101]}],"properties":{"Node name for S&R":"MultiLinePromptIndex"},"widgets_values":["[S1] 轻喘像风掠过耳畔,\n[S2] 你靠近时,连呼吸都慢了半拍。\n[S1] 指尖在我锁骨上游移,\n[S2] 仿佛试探一扇未曾开启的门。\n"]},{"id":46,"type":"LoadAudio","pos":[442.8542175292969,-21.205684661865234],"size":[274.080078125,136],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"COMBO","widget":{"name":"audio"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"AUDIOUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[100]}],"properties":{"Node name for S&R":"LoadAudio"},"widgets_values":["2.台湾嗲女1Haa.wav",null,null]},{"id":55,"type":"LoadAudio","pos":[440.0348205566406,165.98684692382812],"size":[274.080078125,136],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"audio","name":"audio","type":"COMBO","widget":{"name":"audio"},"link":null},{"localized_name":"audioUI","name":"audioUI","type":"AUDIO_UI","widget":{"name":"audioUI"},"link":null},{"localized_name":"choose file to upload","name":"upload","type":"AUDIOUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"AUDIO","name":"AUDIO","type":"AUDIO","links":[102]}],"properties":{"Node name for S&R":"LoadAudio"},"widgets_values":["影视配音-女高音-中-00047.wav",null,null]}],"links":[[100,46,0,56,0,"AUDIO"],[101,11,0,56,1,"STRING"],[102,55,0,56,2,"AUDIO"],[103,56,0,41,0,"AUDIO"],[104,56,0,57,0,"AUDIO"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.2100000000000006,"offset":[-120.84802997548528,94.24562689515798]},"frontendVersion":"1.18.9","VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4} \ No newline at end of file