{"id":"0ba45310-0a4e-4db4-869d-1b294e479e5b","extra":{"ds":{"scale":0.7972024500000051,"offset":[-20576.411410289606,1624.9213223696797]},"ue_links":[],"0246.VERSION":[0,0,4],"frontendVersion":"1.21.7","VHS_MetadataImage":true,"VHS_latentpreview":false,"VHS_KeepIntermediate":true,"VHS_latentpreviewrate":0},"links":[[31,10,0,20,1,"STRING"],[32,21,0,10,0,"PartPacker_MODEL"],[33,10,1,22,0,"MESH"],[34,23,0,10,3,"INT"],[35,7,0,24,0,"IMAGE"],[36,24,0,10,1,"IMAGE"],[37,25,0,10,4,"INT"],[38,26,0,10,5,"FLOAT"]],"nodes":[{"id":20,"pos":[22028.728515625,-1317.0079345703125],"mode":4,"size":[300,550],"type":"Preview3DAnimation","color":"#223","flags":{},"order":7,"inputs":[{"link":null,"name":"camera_info","type":"LOAD3D_CAMERA","shape":7},{"link":31,"name":"model_file","type":"STRING","widget":{"name":"model_file"}}],"bgcolor":"#335","outputs":[],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"Preview3DAnimation"},"widgets_values":["",""]},{"id":21,"pos":[21344.900390625,-948.0056762695312],"mode":0,"size":[270,130],"type":"PartPacker_Loader","color":"#223","flags":{},"order":0,"inputs":[],"bgcolor":"#335","outputs":[{"name":"model","type":"PartPacker_MODEL","links":[32]}],"properties":{"ver":"24261cc59dd2c77b3b0d8319b5221116942c18df","aux_id":"smthemex/ComfyUI_PartPacker","Node name for S&R":"PartPacker_Loader"},"widgets_values":["flow.pt","vae.pt","facebook/dinov2-giant",true]},{"id":23,"pos":[20875.81640625,-1196.638427734375],"mode":0,"size":[400,200],"type":"ComfyUIDeployExternalNumberInt","flags":{},"order":1,"inputs":[],"outputs":[{"name":"value","type":"INT","links":[34]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalNumberInt"},"widgets_values":["seed",482750,"",""]},{"id":22,"pos":[22371.861328125,-1448.022705078125],"mode":0,"size":[630,820],"type":"SaveGLB","flags":{},"order":8,"inputs":[{"link":33,"name":"mesh","type":"MESH"}],"outputs":[],"properties":{"Show Grid":false,"Camera Info":{"zoom":1,"target":{"x":0,"y":2.5,"z":0},"position":{"x":1.5011515326581202,"y":4.9302025672599985,"z":13.671866628827404},"cameraType":"perspective"},"Light Intensity":3,"Background Color":"#4e5f5f"},"widgets_values":["mesh/ComfyUI",""]},{"id":25,"pos":[20871.1640625,-1456.65283203125],"mode":0,"size":[400,200],"type":"ComfyUIDeployExternalNumberInt","flags":{},"order":2,"inputs":[],"outputs":[{"name":"value","type":"INT","links":[37]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalNumberInt"},"widgets_values":["steps",50,"",""]},{"id":24,"pos":[20552.73828125,-1382.3538818359375],"mode":0,"size":[309.1890563964844,154],"type":"ComfyUIDeployExternalImage","flags":{},"order":5,"inputs":[{"link":35,"name":"default_value","type":"IMAGE","shape":7}],"outputs":[{"name":"image","type":"IMAGE","links":[36]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalImage"},"widgets_values":["input_image","","","",""]},{"id":26,"pos":[20453.23046875,-1165.553466796875],"mode":0,"size":[400,208],"type":"ComfyUIDeployExternalNumberSlider","flags":{},"order":3,"inputs":[],"outputs":[{"name":"value","type":"FLOAT","links":[38]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalNumberSlider"},"widgets_values":["cfg_scale",7,0,1,"",""]},{"id":10,"pos":[21642.53515625,-1322.547607421875],"mode":0,"size":[350,252.90908813476562],"type":"PartPacker_Sampler","color":"#223","flags":{},"order":6,"inputs":[{"link":32,"name":"model","type":"PartPacker_MODEL","label":"model"},{"link":36,"name":"image","type":"IMAGE","label":"image"},{"name":"mask","type":"MASK","label":"mask","shape":7},{"link":34,"name":"seed","type":"INT","widget":{"name":"seed"}},{"link":37,"name":"steps","type":"INT","widget":{"name":"steps"}},{"link":38,"name":"cfg_scale","type":"FLOAT","widget":{"name":"cfg_scale"}}],"bgcolor":"#335","outputs":[{"name":"trimesh","type":"TRIMESH","label":"model_path","links":[31]},{"name":"mesh","type":"MESH","links":[33]},{"name":"model_path","type":"STRING","links":null}],"properties":{"ver":"24261cc59dd2c77b3b0d8319b5221116942c18df","aux_id":"smthemex/ComfyUI_PartPacker","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"},"Node name for S&R":"PartPacker_Sampler"},"widgets_values":[99854,384,1935900172,"randomize",50,7,true]},{"id":7,"pos":[21336.966796875,-1324.1412353515625],"mode":0,"size":[270,314],"type":"LoadImage","color":"#223","flags":{},"order":4,"inputs":[],"bgcolor":"#335","outputs":[{"name":"IMAGE","type":"IMAGE","label":"图像","links":[35]},{"name":"MASK","type":"MASK","label":"遮罩","links":[]}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","ttNbgOverride":{"color":"#223","bgcolor":"#335","groupcolor":"#88A"},"Node name for S&R":"LoadImage"},"widgets_values":["571760d52921f07cfc54b6cb22a1fd26 (1).jpg","image"]}],"config":{},"groups":[{"id":1,"color":"#88A","flags":{},"title":"PARTPACKER","bounding":[21313.298828125,-1416.5635986328125,1037.720703125,710.0001220703125],"font_size":24}],"version":0.4,"revision":0,"environment":{"gpu":"L40S","extra_args":null,"run_timeout":300,"machine_hash":"7b23d9fdac7ce490faede48d76f94228cadaaab8fe5a44a2823aeca6d11bfd71","max_containers":1,"min_containers":0,"python_version":"3.11","comfyui_version":"483b3e62e00624fc52da8ad67e88f863abe975d2","disable_metadata":true,"prestart_command":null,"scaledown_window":60,"base_docker_image":null,"docker_command_steps":{"steps":[{"id":"b209114f-d","data":"# Stage 0: Base (Modal ignores this)\nFROM scratch AS base","type":"commands"},{"id":"37e9a26b-f","data":"# Stage 1: The actual build stage\nFROM nvidia/cuda:12.8.1-cudnn-devel-ubuntu22.04 AS comfyui-builder\n\n# Set CUDA architecture for L40s\nENV TORCH_CUDA_ARCH_LIST=8.9\n\n# Set up CUDA environment variables\nENV CUDA_HOME=/usr/local/cuda\nENV PATH=/usr/local/cuda/bin:${PATH}\nENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:-}\nENV CUDA_LAUNCH_BLOCKING=1\nENV TORCH_USE_CUDA_DSA=1\n","type":"commands"},{"id":"2616be6e-f","data":"# Fix temp directory permissions for Modal\nRUN mkdir -p /tmp && chmod 1777 /tmp","type":"commands"},{"id":"fe097e03-d","data":"# Install system dependencies. Keeping this simple as the environment is Debian\n# and we are no longer compiling flash-attn from source.\nRUN apt-get update && \\\n    apt-get install -y --no-install-recommends \\\n    python3 \\\n    python3-pip \\\n    git \\\n    git-lfs \\\n    curl \\\n    aria2 \\\n    ffmpeg \\\n    poppler-utils \\\n    && rm -rf /var/lib/apt/lists/*","type":"commands"},{"id":"93215c56-4","data":"# Python environment setup\nRUN python3 -m pip install --upgrade pip setuptools wheel","type":"commands"},{"id":"ed33c547-8","data":"RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu128","type":"commands"},{"id":"ecc8d520-7","data":"# Install ML dependencies\nRUN pip3 install transformers triton ninja\nRUN pip3 install sageattention \nRUN pip3 install xatlas","type":"commands"},{"id":"2cffe64d-3","data":"# This step is commented out, as we cannot compile from source.\n# RUN pip3 install flash-attn==2.7.3 --no-build-isolation","type":"commands"},{"id":"c468aa20-6","data":"# FINAL FIX: Install the pre-compiled wheel directly. This avoids\n# the need for the nvcc compiler which is missing in the build environment.\nRUN pip install https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.3/flash_attn-2.7.3+cu12torch2.6cxx11abiTRUE-cp311-cp311-linux_x86_64.whl","type":"commands"},{"id":"5b3828e3-7","data":"# THE FINAL STEP - YOUR SOLUTION: Clone your fork and install your pre-built wheels.\n# This completely bypasses the broken compilation environment.\nRUN set -e && \\\n    cd /comfyui/custom_nodes && \\\n    echo 'Cloning your forked repository...' && \\\n    git -c credential.helper= clone https://github.com/if-ai/ComfyUI-Hunyuan3d-2-1.git && \\\n    cd ComfyUI-Hunyuan3d-2-1 && \\\n    echo 'Installing pre-built wheels...' && \\\n    pip install hy3dpaint/custom_rasterizer/dist/custom_rasterizer-0.1-cp311-cp311-linux_x86_64.whl && \\\n    pip install hy3dpaint/DifferentiableRenderer/dist/mesh_inpaint_processor-0.0.0-cp311-cp311-linux_x86_64.whl && \\\n    echo 'Installation from wheels complete.'","type":"commands"},{"id":"c6a3bb26-d","data":{"url":"https://github.com/comfy-deploy/comfyui-llm-toolkit","hash":"d8b0243e94e935d846c3235a85e07c43cd17598a","meta":{"message":"Update pyproject.toml","committer":{"date":"2025-06-18T01:48:53.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/comfy-deploy/comfyui-llm-toolkit/commit/d8b0243e94e935d846c3235a85e07c43cd17598a","latest_hash":"d8b0243e94e935d846c3235a85e07c43cd17598a","stargazers_count":19},"name":"ComfyUI LLM Toolkit","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"0a859818-a","data":{"url":"https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite","hash":"a7ce59e381934733bfae03b1be029756d6ce936d","meta":{"message":"Fix Use Everywhere compatibility","committer":{"date":"2025-04-26T20:27:20.000Z","name":"AustinMroz","email":"austinmroz@utexas.edu"},"commit_url":"https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/commit/a7ce59e381934733bfae03b1be029756d6ce936d","latest_hash":"a7ce59e381934733bfae03b1be029756d6ce936d","stargazers_count":1053},"name":"ComfyUI-VideoHelperSuite","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"619c3136-6","data":{"url":"https://github.com/rgthree/rgthree-comfy","hash":"84a146fee39f7b3a8c6631dcac29bc13b077eb49","meta":{"message":"Inc version","committer":{"date":"2025-06-08T16:10:06.000Z","name":"rgthree","email":"regis.gaughan@gmail.com"},"commit_url":"https://github.com/rgthree/rgthree-comfy/commit/84a146fee39f7b3a8c6631dcac29bc13b077eb49","latest_hash":"84a146fee39f7b3a8c6631dcac29bc13b077eb49","stargazers_count":1983},"name":"rgthree's ComfyUI Nodes","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"6b52c0ac-0","data":{"url":"https://github.com/kijai/ComfyUI-KJNodes","hash":"f7eb33abc80a2aded1b46dff0dd14d07856a7d50","meta":{"message":"I remembered\n\nShould keep the id or node title methods viable, though not recommended","committer":{"date":"2025-06-18T08:03:51.000Z","name":"kijai","email":"40791699+kijai@users.noreply.github.com"},"commit_url":"https://github.com/kijai/ComfyUI-KJNodes/commit/f7eb33abc80a2aded1b46dff0dd14d07856a7d50","latest_hash":"f7eb33abc80a2aded1b46dff0dd14d07856a7d50","stargazers_count":1470},"name":"KJNodes for ComfyUI","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"02184577-1","data":{"url":"https://github.com/1038lab/ComfyUI-RMBG","hash":"8577848f31ed7dcf19b920451e7e90fad17cbc3b","meta":{"message":"Add files via upload","committer":{"date":"2025-06-01T21:28:56.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/1038lab/ComfyUI-RMBG/commit/8577848f31ed7dcf19b920451e7e90fad17cbc3b","latest_hash":"8577848f31ed7dcf19b920451e7e90fad17cbc3b","stargazers_count":1076},"name":"ComfyUI-RMBG","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"4a1db634-e","data":{"url":"https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes","hash":"d78b780ae43fcf8c6b7c6505e6ffb4584281ceca","meta":{"message":"version 1.76","committer":{"date":"2024-01-24T22:44:09.000Z","name":"Suzie1","email":"7.lyssa@gmail.com"},"commit_url":"https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/commit/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca","latest_hash":"d78b780ae43fcf8c6b7c6505e6ffb4584281ceca","stargazers_count":912},"name":"Comfyroll Studio","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"2896b128-3","data":{"url":"https://github.com/if-ai/ComfyUI-WanResolutionSelector","hash":"a2fe6fa45ce2087d5cda40dae36e5fb895fff01e","meta":{"message":"fix readme","committer":{"date":"2025-06-20T19:40:30.000Z","name":"ImpactFrames","email":"impactframes@outlook.com"},"commit_url":"https://github.com/if-ai/ComfyUI-WanResolutionSelector/commit/a2fe6fa45ce2087d5cda40dae36e5fb895fff01e","latest_hash":"a2fe6fa45ce2087d5cda40dae36e5fb895fff01e","stargazers_count":0},"name":"ComfyUI-WanResolutionSelector","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"74b462e7-a","data":{"url":"https://github.com/jamesWalker55/comfyui-various","hash":"5bd85aaf7616878471469c4ec7e11bbd0cef3bf2","meta":{"message":"New experimental sound module","committer":{"date":"2025-02-27T11:01:47.000Z","name":"James Walker","email":"james.chunho@gmail.com"},"commit_url":"https://github.com/jamesWalker55/comfyui-various/commit/5bd85aaf7616878471469c4ec7e11bbd0cef3bf2","latest_hash":"5bd85aaf7616878471469c4ec7e11bbd0cef3bf2","stargazers_count":104},"name":"Various ComfyUI Nodes by Type","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"8d3ea716-4","data":{"url":"https://github.com/LAOGOU-666/Comfyui_LG_Tools","hash":"c0efd16fcec289d2f2c93f2c3526b225c922410b","meta":{"message":"更新桥接预览V2遮罩反转问题","committer":{"date":"2025-06-12T09:20:27.000Z","name":"LAOGOU-666","email":"441059767@qq.com"},"commit_url":"https://github.com/LAOGOU-666/Comfyui_LG_Tools/commit/c0efd16fcec289d2f2c93f2c3526b225c922410b","latest_hash":"c0efd16fcec289d2f2c93f2c3526b225c922410b","stargazers_count":139},"name":"Comfyui_LG_Tools","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"d0280aaf-d","data":{"url":"https://github.com/ltdrdata/was-node-suite-comfyui","hash":"f86447721c18758d7b3b6ae5769f52344a3d764a","meta":{"message":"modified: Migrated from WASasquatch to a repo based on ltdrdata\nfeat: Added whitelist feature for security enhancement","committer":{"date":"2025-06-03T09:39:55.000Z","name":"Dr.Lt.Data","email":"dr.lt.data@gmail.com"},"commit_url":"https://github.com/ltdrdata/was-node-suite-comfyui/commit/f86447721c18758d7b3b6ae5769f52344a3d764a","latest_hash":"f86447721c18758d7b3b6ae5769f52344a3d764a","stargazers_count":27},"name":"WAS Node Suite (Revised)","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"513e69aa-d","data":{"url":"https://github.com/kaibioinfo/ComfyUI_AdvancedRefluxControl","hash":"2b95c2c866399ca1914b4da486fe52808f7a9c60","meta":{"message":"fix mask bug","committer":{"date":"2025-04-19T08:47:58.000Z","name":"kaidu","email":"git@k-du.de"},"commit_url":"https://github.com/kaibioinfo/ComfyUI_AdvancedRefluxControl/commit/2b95c2c866399ca1914b4da486fe52808f7a9c60","latest_hash":"2b95c2c866399ca1914b4da486fe52808f7a9c60","stargazers_count":589},"name":"Advanced Reflux control","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"0a1f769c-5","data":{"url":"https://github.com/cubiq/ComfyUI_essentials","hash":"9d9f4bedfc9f0321c19faf71855e228c93bd0dc9","meta":{"message":"maintenance mode","committer":{"date":"2025-04-14T07:33:21.000Z","name":"cubiq","email":"matteo@elf.io"},"commit_url":"https://github.com/cubiq/ComfyUI_essentials/commit/9d9f4bedfc9f0321c19faf71855e228c93bd0dc9","latest_hash":"9d9f4bedfc9f0321c19faf71855e228c93bd0dc9","stargazers_count":870},"name":"ComfyUI Essentials","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"32b98d60-1","data":{"url":"https://github.com/lldacing/ComfyUI_PuLID_Flux_ll","hash":"ba90657fe6ffa8072ac169a949bfa5e4153bf48a","meta":{"message":"Merge pull request #60 from ComfyNodePRs/update-publish-yaml\n\nUpdate Github Action for Publishing to Comfy Registry","committer":{"date":"2025-04-08T06:21:55.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/lldacing/ComfyUI_PuLID_Flux_ll/commit/ba90657fe6ffa8072ac169a949bfa5e4153bf48a","latest_hash":"ba90657fe6ffa8072ac169a949bfa5e4153bf48a","stargazers_count":372},"name":"ComfyUI_PuLID_Flux_ll","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"e55398c3-7","data":{"url":"https://github.com/Fannovel16/comfyui_controlnet_aux","hash":"59b027e088c1c8facf7258f6e392d16d204b4d27","meta":{"message":"Push to registry","committer":{"date":"2025-06-20T08:57:29.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/Fannovel16/comfyui_controlnet_aux/commit/59b027e088c1c8facf7258f6e392d16d204b4d27","latest_hash":"59b027e088c1c8facf7258f6e392d16d204b4d27","stargazers_count":3110},"name":"ComfyUI's ControlNet Auxiliary Preprocessors","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"dc4f0d6e-2","data":{"url":"https://github.com/smthemex/ComfyUI_PartPacker","hash":"f2061567b5d51c02dfb21a74b0ffeb79bbddf670","meta":{"message":"Update README.md","committer":{"date":"2025-06-23T10:11:04.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/smthemex/ComfyUI_PartPacker/commit/f2061567b5d51c02dfb21a74b0ffeb79bbddf670","latest_hash":"f2061567b5d51c02dfb21a74b0ffeb79bbddf670","stargazers_count":13},"name":"ComfyUI_PartPacker","files":[],"install_type":"git-clone"},"type":"custom-node"}]},"extra_docker_commands":[],"install_custom_node_with_gpu":false},"last_link_id":38,"last_node_id":26,"workflow_api":{"7":{"_meta":{"title":"Load Image"},"inputs":{"image":"571760d52921f07cfc54b6cb22a1fd26 (1).jpg"},"class_type":"LoadImage"},"10":{"_meta":{"title":"PartPacker_Sampler"},"inputs":{"seed":["23",0],"image":["24",0],"model":["21",0],"steps":["25",0],"grid_res":384,"cfg_scale":["26",0],"simplify_mesh":true,"target_num_faces":99854},"class_type":"PartPacker_Sampler"},"21":{"_meta":{"title":"PartPacker_Loader"},"inputs":{"vae":"vae.pt","dino":"facebook/dinov2-giant","checkpoint":"flow.pt","cpu_offload":true},"class_type":"PartPacker_Loader"},"22":{"_meta":{"title":"SaveGLB"},"inputs":{"mesh":["10",1],"image":"","filename_prefix":"mesh/ComfyUI"},"class_type":"SaveGLB"},"23":{"_meta":{"title":"External Number Int (ComfyUI Deploy)"},"inputs":{"input_id":"seed","description":"","display_name":"","default_value":482750},"class_type":"ComfyUIDeployExternalNumberInt"},"24":{"_meta":{"title":"External Image (ComfyUI Deploy)"},"inputs":{"input_id":"input_image","description":"","display_name":"","default_value":["7",0],"default_value_url":""},"class_type":"ComfyUIDeployExternalImage"},"25":{"_meta":{"title":"External Number Int (ComfyUI Deploy)"},"inputs":{"input_id":"steps","description":"","display_name":"","default_value":50},"class_type":"ComfyUIDeployExternalNumberInt"},"26":{"_meta":{"title":"External Number Slider (ComfyUI Deploy)"},"inputs":{"input_id":"cfg_scale","max_value":1,"min_value":0,"description":"","display_name":"","default_value":7},"class_type":"ComfyUIDeployExternalNumberSlider"}}}