
Trellis 2 Complete Guide: From Install to Production Workflow
Every Trellis 2 search eventually dumps you in the same place: a Hugging Face repo, three competing ComfyUI node packages, a Reddit thread about flexgemm failing on Windows, and no single page that tells you where to actually start. This guide is that page. It is the map for everything we have published on Trellis 2, organized as a decision path rather than a wall of steps.
TL;DR: Which Article Do You Need?
| Your situation | Read this |
|---|---|
| Installing Trellis 2 in ComfyUI, any GPU | Trellis 2 ComfyUI install & workflow guide |
| RTX 5090/5080 on Windows, install keeps failing | Windows RTX 50 / CUDA 13 install guide |
| You want ready-made workflow JSON files | Trellis 2 ComfyUI workflow download |
| You need cleaner geometry (characters, vehicles) | Trellis 2 multiview workflow tutorial |
| You want to know if it survives real production | Trellis 2 VFX production review |
| You are choosing between Trellis 2 and alternatives | Trellis 2 vs Hunyuan 3D vs TripoSR |
If you just want a textured mesh from a photo without any local setup, Trify3D runs image-to-3D in the cloud. The rest of this guide is for people who want Trellis 2 on their own GPU.
What is Trellis 2?
Trellis 2 (officially TRELLIS.2) is Microsoft's state-of-the-art 3D generation model, released as microsoft/TRELLIS.2-4B, a 4-billion-parameter model hosted on Hugging Face. You feed it a single image or a text prompt and it outputs a high-fidelity 3D mesh with PBR (Physically Based Rendering) textures, exportable as GLB or OBJ. Under the hood it uses Structured Latents (SLAT), a representation that separates 3D geometry from appearance so the model generates clean shapes first, then bakes realistic materials onto them.
Two things follow from "research model, not product":
- The ComfyUI integration is community-built. There are three active node packages (visualbruno, PozzettiAndrea, if-ai) and they are not interchangeable, which is why the first real decision of any Trellis 2 project is picking one.
- The install is genuinely painful on Windows in 2026, especially on RTX 50-series. Most of the support threads on Reddit trace back to a handful of specific, fixable errors.
Both of those have dedicated solutions further down.
Hardware Reality Check
Before choosing an install path, know what Trellis 2 demands:
| Requirement | Minimum | Recommended |
|---|---|---|
| GPU | NVIDIA, 12GB VRAM | 16-24GB VRAM (avoids OOM) |
| CUDA | 12.1+ | 12.4-12.6 (stablest) |
| Python | 3.10 or 3.11 | 3.11 (3.12 for RTX 50) |
| Disk | 30GB free | 50GB+ |
RTX 5090/5080 are a special case: they need driver 570+ and CUDA 12.8 or 13.0, which breaks several Trellis 2 dependencies built for CUDA ≤ 12.6. If you are below 12GB VRAM, you are not locked out, GGUF-quantized models run on 8GB cards at 512 resolution (expect 3-6 minutes per mesh on an RTX 3060 8GB).
Install Path: Local ComfyUI or No Local Setup?
Path 1: Local ComfyUI (the standard route)
Local is the right answer if you have an NVIDIA GPU, want free offline generation, and do not mind a rough setup. The sequence is:
- Pick a node package. Default is visualbruno/ComfyUI-Trellis2 (most stars, most active changelog, dedicated Windows guide). Pick PozzettiAndrea only if you want the experimental pixi-sandboxed install; pick if-ai only for its text-to-3D focus. The full three-way breakdown is in the ComfyUI Trellis node packages comparison.
- Install. ComfyUI Manager (search "TRELLIS") is easiest; manual clone is most reliable.
- Verify with a basic image-to-3D run at 512.
The full walkthrough, including the flash-attention optional step and the ten-point post-install checklist for RTX 50 machines, lives in the Trellis 2 ComfyUI install guide.
Path 1a: RTX 50 on Windows (the detour)
If you have an RTX 5090 or 5080, the standard install will fail, and it is not your fault. Three things collide: RTX 50 needs CUDA 12.8/13.0 and driver 570+, several wheels (cumesh especially) ship only for Python 3.12, and triton does not exist on Windows (which breaks flexgemm). The confirmed working recipe is a sequence, not one command:
- Use a Python 3.12 ComfyUI embed, not 3.13
- Install PyTorch for CUDA 12.8 or 13.0 (
--index-url .../cu128orcu130) - Patch
flexgemmto usewindows-triton, install with--no-build-isolation - Install
o_voxelwith--no-deps --no-build-isolation - If HuggingFace 404s on model config
.jsonfiles, place them manually inComfyUI/models/trellis2/ckpts/
Every one of those steps has a failure mode, and the fix for each is documented step by step in the dedicated Windows RTX 50 / CUDA 13 Trellis 2 install guide.
Path 2: No local setup
What about Google Colab? Community-shared notebooks for TRELLIS.2 exist, but the free tier's GPU time limits make the full 4B model slow going, and notebook setups break as often as local ones, just in new ways. If you try that route, treat the repo README as the source of truth rather than any single notebook. For most GPU-less users, a hosted tool is the faster path. Trify3D runs image-to-3D in the cloud: upload an image, get a clean mesh back, no CUDA, no flexgemm, no GGUF. It is not a replacement if you specifically want local, free, offline generation, it is the choice when you want the result without the setup.
The Three Workflows
Once Trellis 2 runs, there are three generation paths, plus one optional quality multiplier.
Image to 3D (start here)
The core workflow is short: Load Image → TRELLIS Image to 3D → TRELLIS Export. Set format to GLB (recommended for web and game engines), resolution 512 for speed, 1024 for quality, 2048 for production. The one preprocessing rule that matters most: feed a clean subject with the background removed. A cluttered background is the #1 cause of empty or garbage output.
Text to 3D
Trellis 2 also accepts text prompts. The chain swaps the image loader for a text encoder: Text Encode → TRELLIS Text to 3D → Apply PBR → Export. Key parameters: guidance scale 7.5 for most cases, 30-50 steps. This is the path the if-ai package leans into.
Multiview (the 2026 quality jump)
In February 2026, multiview support landed. Instead of reconstructing from one image (which leaves the back of objects as guesswork), a front-end synthesizes 4-6 camera angles first, then reconstructs from all of them. The result is cleaner topology, fewer holes, and dramatically better geometry on characters, vehicles, and complex organic shapes. The jump from single-view to 4 views is large; from 4 to 6, marginal. Start at 4. Costs: more VRAM (16GB recommended, 8GB possible with GGUF at 512) and 2-3x the single-view time.
The full setup, node graph, and tuning knobs are in the Trellis 2 multiview workflow tutorial.
Workflows you can download
You do not have to wire any of this from scratch. Ready-to-load workflow JSON files exist for all five variants: basic image-to-3D, image-to-3D with remesh + PBR, text-to-3D, multiview, and a low-VRAM GGUF setup for 8GB cards. The repo-bundled versions in the visualbruno /workflows folder are the most reliable starting point. Where to get them and how to resolve red nodes and missing models after loading: Trellis 2 ComfyUI workflow download.
Common Errors Quick Reference
Every error below comes from real install attempts. Python/CUDA version mismatch is the underlying cause most of the time.
| Error | Cause | Fix |
|---|---|---|
| Manager refuses to install git URL | security_level too high | Set security_level = weak in config.ini, install, revert |
flexgemm build fails on Windows | triton not on Windows | Replace triton with windows-triton in pyproject.toml |
o_voxel install fails | Dep conflict | pip install o_voxel --no-deps --no-build-isolation |
cumesh wheel not found | Python 3.13 | Use Python 3.12 ComfyUI embed |
| HuggingFace 404 on model config | Incomplete download | Manually place .json files in models/trellis2/ckpts |
| CUDA out of memory | VRAM < 12GB or high res | Enable Low VRAM Mode, drop resolution to 512 |
| Generation extremely slow | Running on CPU | Verify with nvidia-smi, reinstall PyTorch with CUDA index |
| Empty/garbage output | Bad input image | Clean background removal before generating |
| Nodes red after loading a workflow | Missing package | Install via Manager, restart |
Two misdiagnoses worth flagging: "CUDA out of memory" on a 32GB card is usually a resolution or CPU-fallback problem, not a real VRAM shortage, and empty output is almost always the input image, not the install. The exhaustive version of this table, including path errors on portable ComfyUI and mesh artifacts, is in the Trellis 2 ComfyUI troubleshooting master list.
Trellis 2 vs Hunyuan 3D vs the Rest
No clean winner, different trade-offs:
| Feature | Trellis 2 | Hunyuan 3D (Hunyuan3D-2) | TripoSR |
|---|---|---|---|
| Maker | Microsoft | Tencent | Stability + Tripo |
| Size | 4B | ~1B | ~1B |
| VRAM (full) | 16-24GB | 8-16GB | 6-8GB |
| Strength | Highest fidelity, best PBR | Speed, low VRAM, permissive licensing | Raw speed |
| Weakness | Heavy, painful install | Slightly lower fidelity ceiling | Outclassed on quality |
The short version: Trellis 2 wins on quality, Hunyuan 3D wins on practicality, TripoSR only matters if you need a mesh in under ten seconds on weak hardware. On commercial licensing, Hunyuan 3D is usually the safer choice, Trellis 2 ships a research license you should verify before shipping anything. One version note: a "Hunyuan3D 3.5" circulating on third-party sites is not a confirmed Tencent release; the officially released 3.x line (3.0 in September 2025, 3.1 in November 2025) is served through Tencent's hosted platform, while Hunyuan3D-2 remains the reference for local ComfyUI use.
For the full side-by-side, decision framework, and real selection scenarios by GPU and goal, see Trellis 2 vs Hunyuan 3D vs TripoSR.
Is It Production-Ready?
Honest answer: Trellis 2 is a strong first-draft generator, not a final-asset generator. It gets you 60-80% of the way to a usable asset, fast. The last 20-40%, retopology, UV cleanup, rigging prep, is still manual, because output topology is dense and irregular and characters are not rig-ready.
Where it earns its place: concepting and iteration (20 prop variations in minutes), background and set dressing, PBR texture drafts, and volume. A scene needing 40 background props drops from roughly 160 artist-hours to 80 with cleanup. Where it does not: hero assets and animated characters, where rebuilding from scratch is faster than cleaning generated output.
The full breakdown by asset type, cleanup cost table, and production pipeline are in the Trellis 2 VFX production review.
Frequently Asked Questions
What is Trellis 2?
Microsoft's open-source image-to-3D and text-to-3D model (microsoft/TRELLIS.2-4B, 4B parameters). It outputs a high-fidelity mesh with PBR textures, exportable as GLB or OBJ.
How much VRAM do I need for Trellis 2?
12GB minimum for the full model, 16-24GB recommended. GGUF-quantized versions run on 8GB cards at 512 resolution.
Is Trellis 2 better than Hunyuan 3D?
On fidelity and PBR texture quality, yes. On speed, VRAM efficiency, and licensing, Hunyuan 3D wins. Pick by your GPU and constraints, see the comparison above.
Why does the Trellis 2 install fail on Windows?
triton missing on Windows (breaks flexgemm), Python 3.12-only wheels like cumesh, and RTX 50's CUDA 12.8/13.0 requirement. Each has a documented fix in the RTX 50 install guide.
Is Trellis 2 good enough for production VFX work?
For background and mid-ground props, yes. For hero assets and animated characters, rebuild from scratch instead. It is a first-draft accelerator.
Your Path From Here
- Install: pick your route, the standard ComfyUI install guide or the RTX 50 Windows guide.
- Run: grab a ready-made workflow and do a first image-to-3D run at 512.
- Upgrade quality: add the multiview workflow for complex subjects.
- Decide honestly: read the VFX production review before committing it to a pipeline, and the Hunyuan 3D comparison if your GPU or licensing situation points elsewhere.
And if the setup fight is not worth it to you, Trify3D gets you a textured mesh from a single photo with nothing to install.
Last reviewed: October 2026. Trellis 2 node packages and wheels update frequently, recheck the repos before reinstalling.
Run it yourself in Trify3D
Keep reading from this topic
Albedo vs Normal Map: What Each Stores, When You Need Which
Albedo vs normal map explained: what each map stores, why normal maps look purple, how they work together, and three checks to tell them apart.
TutorialsWhat Is PBR Texturing? The 2026 Plain-English Guide
PBR texturing explained: what PBR stands for, the six core maps, the two workflows, and the mistakes that break PBR materials in Unity and Unreal.
TutorialsHow to Design 3D Print Models: 4 Paths & Rules
Learn how to design 3d print models with four paths, print-ready rules and a tolerance cheat sheet, then turn a photo into a printable model today.