Vi3W
Skip to content

Guides

TRELLIS 2 ComfyUI guide: image to 3D game asset in nodes

TRELLIS 2 ComfyUI guide: install nodes and weights, an image-to-3D workflow, low-VRAM and GGUF options, errors and GLB export.

2 min read

A brass lantern whose left half is a cloud of glowing splats and whose right half is a solid mesh with a blue wireframe
Illustration. TRELLIS turns a structured latent into a mesh you can export.

Quick answer

Can I run TRELLIS 2 in ComfyUI?

Yes, through community node packs and workflows. You install the nodes with ComfyUI Manager, download the TRELLIS.2-4B weights, and load an image-to-3D workflow that ends in a GLB export. Microsoft's own README asks for a 24 GB NVIDIA GPU; community low-VRAM and GGUF workflows aim at smaller cards, with trade-offs.

Why ComfyUI for TRELLIS 2

Microsoft's TRELLIS.2 repo is tested on Linux with 24 GB NVIDIA GPUs. ComfyUI gives Windows users a more familiar route, lets the community add memory-saving tricks, and makes it easy to put an image generator in front of the 3D step.

Video: NEW! TRELLIS 2 on Windows: Clean ComfyUI Install, Models, Workflow, Exports (Step-by-Step), by Vladimir Chopine [GeekatPlay] (YouTube)

Setup outline

  1. ComfyUI plus ComfyUI Manager, on a recent Python and CUDA (match PyTorch's CUDA version to your toolkit).
  2. Install a TRELLIS 2 node pack from ComfyUI Manager; read its README for required compiled extensions.
  3. Download weights: TRELLIS.2-4B from Microsoft's Hugging Face page into the folder the nodes expect.
  4. Load the pack's example workflow and run it on a test image.

A basic TRELLIS 2 workflow

  1. Load Image (one object, clean background).
  2. Background removal.
  3. TRELLIS 2 image-to-3D node.
  4. Mesh post-processing: simplify, fill holes.
  5. Texture / PBR bake.
  6. Save GLB.

Want multiple views? Community workflows also show multi-view input for TRELLIS 2.

A lantern half splats, half mesh
Illustration. The final step converts the generated representation into a mesh.

Low-VRAM options

Community workflows advertise TRELLIS 2 on much smaller cards using quantised GGUF weights and offloading. These are unofficial: quality, speed and stability vary, and they change quickly. If you're on 8 to 12 GB, also consider TRELLIS (16 GB officially), Hunyuan3D shape-only or TripoSR. See GPU for AI 3D generation.

Common errors

  • Compiled extension import errors: rebuild for your exact Python, PyTorch and CUDA versions.
  • Out of memory: lower resolution, enable offloading, or use a GGUF workflow.
  • Holes or thin artefacts: turn on hole filling; TRELLIS 2 handles open surfaces, so leaves and cloth may be intentionally open.

Into Blender or a game engine

Import the GLB into Blender (File ‣ Import ‣ glTF 2.0), then reduce polygons for games: Blender decimate or Blender auto retopology.

TRELLIS 2 with no setup

Vi3W runs TRELLIS 2 (and TRELLIS on the free plan) in the browser, then retopologises and exports GLB, FBX or OBJ. Try Vi3W.

Last reviewed