π Launch Sale β 20% OFF all credit packages!
Get Credits
Learn the official ways to use Microsoft TRELLIS 2: GitHub, HF demo, ComfyUI workflow, and a free online path with no GPU or queue. Step by step.
Last updated: October 4, 2026
There are four official ways to use Microsoft TRELLIS 2: clone the official GitHub repository and run it yourself, open the Hugging Face Spaces demo in your browser, drop the official workflow into ComfyUI, or use an online platform that runs the same model without any setup. GitHub gives you full control but the repo states you need an NVIDIA GPU with at least 24GB of memory; the hosted demo is free but runs on ZeroGPU quotas; ComfyUI fits if you already live in node graphs. This guide walks through each route with its real costs, then the step-by-step workflows β image-to-3D and text-to-3D β that stay the same wherever you run it.
TRELLIS.2 is Microsoft Research's open-source image-to-3D model. In the project's own words, it is "an open-source 4B-parameter image-to-3D model producing up to 1536Β³ PBR textured assets, built on native 3D VAEs with 16Γ spatial compression" (official project page, accessed October 2026). Feed it one photo, get back a textured 3D asset you can open in Blender, drop into Unity, or send to a printer. The successor to TRELLIS v1, it handles thin geometry, transparent materials, and complex topology that tripped up earlier models. If you want the architecture deep-dive β O-Voxel, structured latents, the CVPR paper β see our complete TRELLIS.2-4B guide.
Before picking a lane, here's the whole map. These are the channels Microsoft itself provides or endorses:
| Official channel | What it costs you | Best for |
|---|---|---|
| GitHub repo | Linux + 24GB GPU + setup time | Full control, batch work, research |
| HF Spaces demo | HF account, ZeroGPU quota waits | A quick one-off test |
| ComfyUI official workflow | A working ComfyUI install | Existing ComfyUI pipelines |
| Online platform (like ours) | Nothing β browser only | No GPU, no queue, client work |
The details behind each row β including one licensing nuance most posts get wrong β are below.
| Approach | Requirements | Best For |
|---|---|---|
| Online platform | A web browser | Quick generation, no setup |
| Local installation | NVIDIA GPU (24GB+ VRAM, per the official repo), Linux, Python 3.10+ | Custom pipelines, batch processing |
That 24GB figure is not a typo or a conservative estimate. The official README states: "Hardware: An NVIDIA GPU with at least 24GB of memory is necessary. The code has been verified on NVIDIA A100 and H100 GPUs" (microsoft/TRELLIS.2, accessed October 2026). Older guides quoting 16GB are describing earlier releases or trimmed workflows. For most users, an online platform is the fastest way to start. If you want to attempt local installation anyway, see our TRELLIS 2 installation guide β and our low-VRAM workarounds if your card is smaller.
Try TRELLIS 2 online β no installation required
The repo at github.com/microsoft/TRELLIS.2 is the source of truth. You get the inference code, pretrained 4B checkpoints, and a minimal Python example built around Trellis2ImageTo3DPipeline. The README's usage section is honest about what a run looks like: you set up an environment map from an HDR file, load your image through OpenCV, and let the pipeline do the rest. Prerequisites, quoted directly: tested on Linux only, 24GB GPU minimum, CUDA Toolkit 12.4 recommended, Conda for environment management. A community tester who ran it in August 2026 reported the main checkpoint plus the background-removal model takes about 18GB of disk, so budget storage too (Sayed Amman Akhtar, Medium, August 2026).
Microsoft runs a demo space on Hugging Face β 2.18k likes and running on ZeroGPU hardware as of October 2026. It works, and it's the only Microsoft-operated way to try the model without installing anything. The trade-off is ZeroGPU's quota system: you get a share of GPU time, and at busy hours your job waits in line. For a one-off experiment, fine. For iterating on a client asset, the waiting adds up.
If your work already lives in ComfyUI, you don't need to leave it. The official ComfyUI documentation ships a TRELLIS.2 workflow: load one image, toggle the Boolean "Switch to Trellis2" node to true (the same workflow also contains the Pixal3D pipeline), and out comes a model with full PBR textures. This is the least-friction official route for anyone doing node-based production work β you keep your existing pre/post-processing nodes and swap only the generation core.
Here's the nuance. The official README says: "This model and code are released under the MIT License" (microsoft/TRELLIS.2, accessed October 2026) β commercial use of your outputs is permitted. Two footnotes matter. First, the render dependencies (nvdiffrast, nvdiffrec) carry their own license terms. Second, the project page frames the work as "purely a research project" in its Responsible AI notes. Those statements coexist: the license governs what you may do; the positioning tells you the model ships without production SLAs. We treat MIT as decisive for commercial questions and the research framing as a reason to QA outputs before shipping them.
Image-to-3D is the most popular workflow. You upload a single photo and TRELLIS 2 reconstructs a full 3D model.
The quality of your output depends heavily on the input image. Follow these guidelines:
Ideal input images have:
Avoid:
On our platform:
Running locally from the official repo, the README's minimal example loads your image and calls the pipeline directly in Python β no wrapper script needed.
TRELLIS 2 exposes several parameters that control output quality:
| Parameter | Default | Range | Effect |
|---|---|---|---|
| Resolution | 512 | 256-1536 | Higher = more detail, slower generation |
| Sampling Steps | 12 | 4-50 | More steps = better quality, slower |
| Guidance Scale | 7.5 | 1.0-20.0 | Higher = more faithful to input |
| Seed | Random | Any integer | Fixed seed = reproducible results |
Recommended settings by use case:
| Use Case | Resolution | Steps | Guidance Scale |
|---|---|---|---|
| Quick preview | 256 | 4 | 5.0 |
| Standard quality | 512 | 12 | 7.5 |
| High quality | 1024 | 25 | 10.0 |
| Maximum quality | 1536 | 40 | 12.0 |
Click generate and wait approximately 3-10 seconds (depending on resolution and hardware). After generation, review your model:
If the result needs improvement, try:
TRELLIS 2 supports multiple export formats:
| Format | Extension | Best For |
|---|---|---|
| GLB | .glb | Game engines (Unity, Unreal), Web viewers, AR/VR |
| OBJ | .obj | Universal compatibility, 3D editing software |
| STL | .stl | 3D printing (geometry only, no textures) |
| 3D Gaussian Splatting | .ply | Real-time rendering, web-based 3D viewers |
| NeRF | .npz | Photorealistic visualization |
Choose GLB for game development, STL for 3D printing, and Gaussian Splatting for web-based 3D experiences.
Export your 3D model in any format β try it free
Text-to-3D lets you describe what you want in natural language and TRELLIS 2 generates it.
Good prompts are specific and descriptive. Here's a formula that works well:
[Subject] + [Key Features] + [Style/Material] + [Optional: Color, Pose, etc.]Example prompts:
| Quality | Prompt |
|---|---|
| Basic | "a sword" |
| Good | "a medieval longsword with a leather-wrapped handle" |
| Excellent | "a medieval longsword with a double-edged steel blade, leather-wrapped handle, brass crossguard, and a ruby set in the pommel" |
On our platform:
Locally, the same pipeline call accepts a text prompt instead of an image.
Text-to-3D often requires iteration. If the first result isn't what you envisioned:
Short answer: the official model does not. The GitHub README and roadmap describe single-image input only β there's no multi-view option in the official pipeline, and nothing on the roadmap suggesting one is coming.
What you'll find instead are platform-level workarounds. Some services (ours included) blend several photos of the same object to give the generator more geometric hints, which mostly helps the back side β the part a single photo can't show. If you have front, side, and back shots of your subject, an online multi-view flow will serve you better than anything you can wire up from the official repo today. One honest caveat from testing: multi-view improves silhouette and back-face accuracy, but it won't rescue a subject whose sides were never photographed.
Three constraints decide it: queue access, GPU ownership, and how much you value your afternoon.
| Constraint | GitHub repo | HF demo | Online platform |
|---|---|---|---|
| Setup | Linux env, CUDA 12.4, 24GB GPU | HF account only | None |
| Waiting | None (your hardware) | ZeroGPU quota at peak | None |
| Cost | Your electricity | Free tier | Free tier + paid plans |
| Output control | Total (code-level) | Fixed UI | UI + full export set |
In our experience running a generation platform, the fork in the road is simple: if you have an A100 sitting idle and want to hack on the pipeline itself, clone the repo. If you're producing assets for clients on a laptop, the 24GB requirement alone disqualifies the official routes β and that's most people reading this. We built our platform precisely because we kept hitting that wall ourselves.
Export as GLB with these considerations:
Export as STL or OBJ:
Export as 3D Gaussian Splatting or GLB:
If you're heading into Blender next, our Blender post-processing walkthrough covers cleanup and UV checks step by step. (A longer video version of a local workflow exists too β Benji's AI Playground's December 2025 test on YouTube is worth 13 minutes if you want to watch someone run it end to end.)
Sampling steps control the denoising process. More steps produce cleaner geometry and sharper textures:
| Steps | Quality | Speed | Use Case |
|---|---|---|---|
| 4 | Draft | ~1s | Quick preview |
| 12 | Good | ~3s | Standard use |
| 25 | Very Good | ~6s | Production assets |
| 40+ | Excellent | ~10s | Final output |
Guidance scale controls how closely the output follows the input. Think of it as "creativity vs. accuracy":
Higher resolution means more detail but requires more VRAM and time:
| Resolution | VRAM Required | Generation Time | Detail Level |
|---|---|---|---|
| 256 | 8 GB | ~1s | Basic shapes |
| 512 | 12 GB | ~3s | Good detail |
| 1024 | 16 GB | ~6s | High detail |
| 1536 | 24 GB | ~10s | Maximum detail |
(Consolidated into "What You Can Do with the Output" above.)
| Issue | Cause | Solution |
|---|---|---|
| Blurry textures | Low sampling steps | Increase to 25+ |
| Distorted geometry | Poor input image | Use a cleaner, well-lit photo |
| Missing details | Low resolution | Increase to 1024+ |
| Artifacts on back | Single-view input | Try a multi-view platform flow |
| Slow generation | High resolution + steps | Use online platform with optimized hardware |
| Out of memory | High resolution on limited GPU | Reduce resolution or use cloud generation |
According to community testing on Reddit and benchmarks published by 3D AI Studio, TRELLIS 2 currently leads in generation speed and overall output quality among open-source 3D generation models.
| Feature | TRELLIS 2 | Tripo3D | Meshy AI | Hunyuan3D |
|---|---|---|---|---|
| Generation speed | ~3s | ~10s | ~30s | ~15s |
| Max resolution | 1536Β³ | 1024Β³ | 1024Β³ | 1024Β³ |
| Output formats | GLB, OBJ, STL, GS, NeRF | GLB, OBJ, FBX | OBJ, FBX, STL, GLB | OBJ, GLB |
| Local editing | Yes | No | No | No |
| Open source | Yes (MIT) | No | No | Yes |
| Text-to-3D | Yes | Yes | Yes | Yes |
Pick one of the four official routes from the map above: GitHub (local, 24GB GPU), the Hugging Face demo (browser, free), the official ComfyUI workflow (node graphs), or an online platform. Then it's the same three moves everywhere β feed it one image or a text prompt, generate, export as GLB/STL/OBJ.
A 4-billion parameter open-source model from Microsoft Research that turns one image into a textured 3D asset, per the official project page (accessed October 2026). Code and weights are on GitHub under MIT.
Yes β export as STL and repair the mesh for watertight geometry. Since STL drops textures, print-first users often generate GLB first to keep the color version, then export STL from the same model. A textured mesh from TRELLIS 2 imports straight into Blender, Unity, or a slicer of your choice.
For a free, open model, it sets the pace. As Progressive Robot put it in April 2026, it "focuses on compact structured latents that can preserve geometry, appearance, and physically based material details in one workflow" β and our own comparison testing puts it ahead of Tripo3D and Meshy AI on speed and resolution. Where it's merely fine: fully unseen back sides and very thin objects. Budget a post-processing pass for those.
The official README releases the model and code under the MIT License, which permits commercial use of what you generate. Note the dependencies (nvdiffrast, nvdiffrec) carry their own terms, the project positions itself as research, and input images you don't own may carry their own rights. Verify your inputs; the license covers the model, not your sources.
The official repo requires an NVIDIA GPU with at least 24GB of memory, verified on A100 and H100. Our platform's quality presets trade resolution against VRAM (see the table above) β at 1536 resolution you're in 24GB territory, which is why browser-based generation exists.
GLB, OBJ, STL, 3D Gaussian Splatting (.ply), and NeRF (.npz). GLB for game engines, STL for printing, Gaussian Splatting for web viewers.
TRELLIS 2 generates in about 3 seconds versus Tripo3D's ~10s and Meshy's ~30s, tops out at 1536Β³, and is fully open source. The comparison table above has the cell-by-cell detail.
The fastest way to try TRELLIS 2 is through our online platform:
Generate Your First 3D Model β Free
No GPU needed. No Python installation. Upload an image or describe what you want and get a production-ready 3D model in seconds.
| Feature | Self-Hosted | Our Platform |
|---|---|---|
| Setup time | 2-4 hours | 0 minutes |
| GPU required | Yes (24GB+ VRAM, per official repo) | No |
| Technical knowledge | Python, CUDA | None |
| Max resolution | Limited by your GPU | Up to 1536Β³ |
| Multi-view input | No (single-image official pipeline) | Yes |
| Batch processing | Yes | Yes |
Start Creating 3D Models Now β
Related articles:
3D technology specialists focused on AI-powered 3D model generation, format conversion, and browser-based 3D rendering. We test and review 3D tools so you don't have to.

The Trellis 2 model is MIT-licensed and free to run. The official platform is paid, from $19/month. Real plans, credit math, and a wrapper checklist.

Official benchmarks, resolution ceilings, license terms, and real outputs β which AI 3D model fits your workflow in 2026.

What Godot MCP is, which of the four main implementations to pick, step-by-step setup for Claude Code, Codex and Cursor, plus the errors you'll actually hit.
Join the community
Subscribe to our newsletter for the latest news and updates