jtydhr88 / ComfyUI-InstantMesh

ComfyUI InstantMesh is custom nodes that running InstantMesh into ComfyUI
Apache License 2.0
148 stars 16 forks source link

(This repo is archived due to ComfyUI-3D-Pack supports InstantMesh, please check 3D-Pack directly if you need it)

ComfyUI InstantMesh

ComfyUI InstantMesh is custom nodes that running TencentARC/InstantMesh into ComfyUI

overall

Installation

Make sure you also install Visual Studio Build Tools. overall This extension depends on ComfyUI-3D-Pack, please install it if not, and make sure it works well:

  1. stop ComfyUI if it is running
  2. goto ComfyUI/custom_nodes dir in terminal(cmd)
  3. git clone https://github.com/MrForExample/ComfyUI-3D-Pack
  4. cd ComfyUI-3D-Pack
  5. run install_windows_portable_win_py311_cu121.bat

(Don't start ComfyUI at this moment)
Then, install this extension:

  1. git clone https://github.com/jtydhr88/ComfyUI-InstantMesh
  2. cd ComfyUI-InstantMesh
  3. run install_windows_portable_win_py311_cu121.bat

Start your ComfyUI.

How to use

Currently, this extension implements two custom nodes, InstantMeshLoader and InstantMeshRun

Regarding InstantMeshLoader, there are four configurations for checkpoints, please refer to TencentARC/InstantMesh for more details.

A simple workflow looks like: simple-connection And you can find it at simple-workflow
After generated, you could find results, mesh or texture, under ComfyUI/custom_nodes/ComfyUI-InstantMesh/output folder.

Another workflow I provided - example-workflow, generate 3D mesh from ComfyUI generated image, it requires:

  1. Main checkpoint - ReV Animated
  2. Lora - Clay Render Style

It will generate gypsum style 3D model: example-workflow1

Credit

My extensions for ComfyUI

My extensions for stable diffusion webui