πŸŽ‰ Launch Sale β€” 20% OFF all credit packages!

Get Credits
Logo of Trellis2
Trellis 2
StudioAI AgentPricing
Blog
Logo of Trellis2
Trellis 2

Transform images into stunning 3D models with AI-powered technology

Product

  • Features
  • Pricing
  • Blog
  • FAQ

Company

  • About
  • Contact
  • Trify3D

Legal

  • Privacy Policy
  • Terms of Service

Β© 2026 Trellis 2. All rights reserved.

  1. Home
  2. Blog
  3. How to Use Microsoft TRELLIS 2: Official Ways, Steps & Demo
How to Use Microsoft TRELLIS 2: Official Ways, Steps & Demo
2026/04/14
15 min read

How to Use Microsoft TRELLIS 2: Official Ways, Steps & Demo

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.

What Is TRELLIS 2?

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.

Official Ways to Use TRELLIS 2 at a Glance

Before picking a lane, here's the whole map. These are the channels Microsoft itself provides or endorses:

Official channelWhat it costs youBest for
GitHub repoLinux + 24GB GPU + setup timeFull control, batch work, research
HF Spaces demoHF account, ZeroGPU quota waitsA quick one-off test
ComfyUI official workflowA working ComfyUI installExisting ComfyUI pipelines
Online platform (like ours)Nothing β€” browser onlyNo GPU, no queue, client work

The details behind each row β€” including one licensing nuance most posts get wrong β€” are below.

What You Need Before Starting

ApproachRequirementsBest For
Online platformA web browserQuick generation, no setup
Local installationNVIDIA 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 Official Ways to Use TRELLIS 2 (Channel Map)

GitHub: the official open-source repository

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).

Hugging Face Spaces: the official hosted demo

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.

ComfyUI: the official workflow for pipelines

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.

License boundary: MIT code, research positioning

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.

Method 1: Image-to-3D Generation

Image-to-3D is the most popular workflow. You upload a single photo and TRELLIS 2 reconstructs a full 3D model.

Step 1: Prepare Your Input Image

The quality of your output depends heavily on the input image. Follow these guidelines:

Ideal input images have:

  • A single, clearly defined subject
  • Clean background (solid color or transparent PNG)
  • Even, diffused lighting
  • Resolution of 512x512 pixels or higher
  • The subject centered and fully visible

Avoid:

  • Multiple overlapping objects
  • Blurry or low-resolution photos
  • Harsh shadows or extreme lighting
  • Significant occlusion (parts hidden behind other objects)

Step 2: Upload Your Image

On our platform:

  1. Navigate to the 3D generation page
  2. Upload your image via drag-and-drop or file picker
  3. The system automatically detects the subject and prepares it for 3D generation

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.

Step 3: Configure Generation Parameters

TRELLIS 2 exposes several parameters that control output quality:

ParameterDefaultRangeEffect
Resolution512256-1536Higher = more detail, slower generation
Sampling Steps124-50More steps = better quality, slower
Guidance Scale7.51.0-20.0Higher = more faithful to input
SeedRandomAny integerFixed seed = reproducible results

Recommended settings by use case:

Use CaseResolutionStepsGuidance Scale
Quick preview25645.0
Standard quality512127.5
High quality10242510.0
Maximum quality15364012.0

Step 4: Generate and Review

Click generate and wait approximately 3-10 seconds (depending on resolution and hardware). After generation, review your model:

  1. Rotate the model β€” check all angles, not just the front
  2. Check the back side β€” AI estimates the unseen portions, which are less accurate
  3. Inspect fine details β€” look for symmetry issues or distorted features
  4. Evaluate texture quality β€” textures should match the original image

If the result needs improvement, try:

  • A different source image angle
  • Increasing sampling steps
  • Adjusting the guidance scale

Step 5: Export Your Model

TRELLIS 2 supports multiple export formats:

FormatExtensionBest For
GLB.glbGame engines (Unity, Unreal), Web viewers, AR/VR
OBJ.objUniversal compatibility, 3D editing software
STL.stl3D printing (geometry only, no textures)
3D Gaussian Splatting.plyReal-time rendering, web-based 3D viewers
NeRF.npzPhotorealistic 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

Method 2: Text-to-3D Generation

Text-to-3D lets you describe what you want in natural language and TRELLIS 2 generates it.

Step 1: Write an Effective Prompt

Good prompts are specific and descriptive. Here's a formula that works well:

[Subject] + [Key Features] + [Style/Material] + [Optional: Color, Pose, etc.]

Example prompts:

QualityPrompt
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"

Step 2: Generate from Text

On our platform:

  1. Switch to Text-to-3D mode
  2. Enter your prompt
  3. Optionally add a negative prompt (what to avoid)
  4. Click generate

Locally, the same pipeline call accepts a text prompt instead of an image.

Step 3: Iterate and Refine

Text-to-3D often requires iteration. If the first result isn't what you envisioned:

  1. Add more detail to the prompt
  2. Use a reference image β€” combine text with an image for more control
  3. Try different seeds β€” the same prompt can produce varied results
  4. Use negative prompts β€” specify what you don't want ("blurry", "low quality", "deformed")

Can TRELLIS 2 Take Multiple Images? (Multi-View)

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.

Official Channels vs Online Tool: Which Should You Use?

Three constraints decide it: queue access, GPU ownership, and how much you value your afternoon.

ConstraintGitHub repoHF demoOnline platform
SetupLinux env, CUDA 12.4, 24GB GPUHF account onlyNone
WaitingNone (your hardware)ZeroGPU quota at peakNone
CostYour electricityFree tierFree tier + paid plans
Output controlTotal (code-level)Fixed UIUI + 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.

What You Can Do with the Output

For Game Development

Export as GLB with these considerations:

  • Polygon count: AI models often generate 50k-200k polygons β€” decimate to 10k-50k for real-time rendering
  • Textures: Check UV mapping quality in Blender
  • Scale: Set real-world units in your 3D software

For 3D Printing

Export as STL or OBJ:

  • Run mesh repair to ensure watertight geometry
  • Check for non-manifold edges and flipped normals
  • Verify scale matches your intended print size

For Web/AR

Export as 3D Gaussian Splatting or GLB:

  • Gaussian Splatting provides real-time rendering in browsers
  • GLB is widely supported in WebXR frameworks
  • Optimize file size for web delivery

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.)

Parameter Tuning Deep Dive

Sampling Steps

Sampling steps control the denoising process. More steps produce cleaner geometry and sharper textures:

StepsQualitySpeedUse Case
4Draft~1sQuick preview
12Good~3sStandard use
25Very Good~6sProduction assets
40+Excellent~10sFinal output

Guidance Scale

Guidance scale controls how closely the output follows the input. Think of it as "creativity vs. accuracy":

  • Low (1-5): More creative, may deviate from input
  • Medium (5-10): Balanced creativity and accuracy
  • High (10-20): Strict adherence to input, less variation

Resolution Trade-offs

Higher resolution means more detail but requires more VRAM and time:

ResolutionVRAM RequiredGeneration TimeDetail Level
2568 GB~1sBasic shapes
51212 GB~3sGood detail
102416 GB~6sHigh detail
153624 GB~10sMaximum detail

Output Format Guide

(Consolidated into "What You Can Do with the Output" above.)

Resources

  • Source code: github.com/microsoft/TRELLIS.2 (MIT license)
  • Official demo: Hugging Face Spaces β€” microsoft/TRELLIS.2
  • Official ComfyUI workflow: docs.comfy.org/tutorials/3d/trellis2
  • Model weights: Hugging Face β€” TRELLIS.2-4B
  • Research paper: "Native and Compact Structured Latents for 3D Generation" β€” arXiv:2512.14692
  • v1 paper: "Structured 3D Latents for Scalable and Versatile 3D Generation" β€” arXiv:2412.01506

Common Issues and Solutions

IssueCauseSolution
Blurry texturesLow sampling stepsIncrease to 25+
Distorted geometryPoor input imageUse a cleaner, well-lit photo
Missing detailsLow resolutionIncrease to 1024+
Artifacts on backSingle-view inputTry a multi-view platform flow
Slow generationHigh resolution + stepsUse online platform with optimized hardware
Out of memoryHigh resolution on limited GPUReduce resolution or use cloud generation

TRELLIS 2 vs Other 3D Generation Tools

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.

FeatureTRELLIS 2Tripo3DMeshy AIHunyuan3D
Generation speed~3s~10s~30s~15s
Max resolution1536Β³1024Β³1024Β³1024Β³
Output formatsGLB, OBJ, STL, GS, NeRFGLB, OBJ, FBXOBJ, FBX, STL, GLBOBJ, GLB
Local editingYesNoNoNo
Open sourceYes (MIT)NoNoYes
Text-to-3DYesYesYesYes

Best Practices Summary

  1. Pick the official channel that matches your hardware β€” the map above exists so you don't burn an evening on a setup your GPU can't run
  2. Prepare your input β€” a clean, well-lit image dramatically improves results
  3. Start with default settings β€” generate a preview before tweaking parameters
  4. Review from all angles β€” the back side is estimated and may need attention
  5. Choose the right format β€” match your export format to your end goal
  6. Post-process β€” use Blender or MeshLab for final cleanup and optimization

FAQ

How do you use TRELLIS 2?

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.

What is Microsoft TRELLIS 2?

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.

Can TRELLIS 2 be used for 3D printing?

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.

Is TRELLIS 2 any good?

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.

Can I use TRELLIS 2 commercially?

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.

How much VRAM does TRELLIS 2 need?

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.

What file formats does TRELLIS 2 export?

GLB, OBJ, STL, 3D Gaussian Splatting (.ply), and NeRF (.npz). GLB for game engines, STL for printing, Gaussian Splatting for web viewers.

How does TRELLIS 2 compare to Tripo3D and Meshy AI?

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.

Get Started with TRELLIS 2

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.

FeatureSelf-HostedOur Platform
Setup time2-4 hours0 minutes
GPU requiredYes (24GB+ VRAM, per official repo)No
Technical knowledgePython, CUDANone
Max resolutionLimited by your GPUUp to 1536Β³
Multi-view inputNo (single-image official pipeline)Yes
Batch processingYesYes

Start Creating 3D Models Now β†’


Related articles:

  • What is TRELLIS 3D?: learn about the AI model behind our 3D generation
  • How to Install TRELLIS 2: set up TRELLIS 2 locally on your machine
  • How to Test TRELLIS 2: evaluate output quality with benchmarks and comparisons
  • How to Turn an Image into a 3D Model: broader guide covering multiple methods
All Posts

Author

avatar for Trellis2 Team
Trellis2 Team

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.

Categories

  • Product
What Is TRELLIS 2?Official Ways to Use TRELLIS 2 at a GlanceWhat You Need Before StartingThe Official Ways to Use TRELLIS 2 (Channel Map)GitHub: the official open-source repositoryHugging Face Spaces: the official hosted demoComfyUI: the official workflow for pipelinesLicense boundary: MIT code, research positioningMethod 1: Image-to-3D GenerationStep 1: Prepare Your Input ImageStep 2: Upload Your ImageStep 3: Configure Generation ParametersStep 4: Generate and ReviewStep 5: Export Your ModelMethod 2: Text-to-3D GenerationStep 1: Write an Effective PromptStep 2: Generate from TextStep 3: Iterate and RefineCan TRELLIS 2 Take Multiple Images? (Multi-View)Official Channels vs Online Tool: Which Should You Use?What You Can Do with the OutputFor Game DevelopmentFor 3D PrintingFor Web/ARParameter Tuning Deep DiveSampling StepsGuidance ScaleResolution Trade-offsOutput Format GuideResourcesCommon Issues and SolutionsTRELLIS 2 vs Other 3D Generation ToolsBest Practices SummaryFAQHow do you use TRELLIS 2?What is Microsoft TRELLIS 2?Can TRELLIS 2 be used for 3D printing?Is TRELLIS 2 any good?Can I use TRELLIS 2 commercially?How much VRAM does TRELLIS 2 need?What file formats does TRELLIS 2 export?How does TRELLIS 2 compare to Tripo3D and Meshy AI?Get Started with TRELLIS 2

More Posts

Is Trellis 2 Free? Official Pricing & Free Usage Guide (2026)

Is Trellis 2 Free? Official Pricing & Free Usage Guide (2026)

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.

avatar for Trellis2 Team
Trellis2 Team
2026/10/25
Trellis 2 vs Hunyuan 3D: Complete Comparison (2026 Benchmarks)

Trellis 2 vs Hunyuan 3D: Complete Comparison (2026 Benchmarks)

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

avatar for Trellis2 Team
Trellis2 Team
2026/10/25
Godot MCP: Complete Setup Guide & Server Comparison (2025)

Godot MCP: Complete Setup Guide & Server Comparison (2025)

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.

avatar for Trellis2 Team
Trellis2 Team
2026/09/16

Newsletter

Join the community

Subscribe to our newsletter for the latest news and updates