3D & SpatialOpen source codemicrosoft/TRELLIS

TRELLIS: Open Source AI Repository & Self-Hosting Guide

Microsoft open-source 3D asset generation foundation model using Structured 3D Latents (SLAT) to produce textured GLB meshes, NeRFs, and 3D Gaussians.

GitHub Stars
14,455 stars
Repository License
MIT
Last Push (UTC)
Oct 27, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/microsoft/TRELLIS.git
View on GitHub
Installgit clone --recurse-submodules https://github.com/microsoft/TRELLIS.git && python app.py

TRELLIS: Architecture & Practical Workflow

TRELLIS unifies geometry and appearance inside a single Rectified Flow Transformer latent space, allowing creators to convert single reference photos or text prompts into watertight textured GLB meshes or Gaussian splats cleanly.

Recommended End-to-End Pipeline

Clean a product photo with rembg, generate a high-res textured GLB mesh in TRELLIS Gradio, and inspect or animate the model inside Three.js or Blender.

Runtime Target
Self-Hosted / Python & Gradio (GitHub)
Primary Users
3D Artists, Game Developers, XR Designers
Code License
MIT
Focus Topics
open-source, github, 3d-generation, image-to-3d, microsoft

Quick Setup & Installation Steps

Platform target: Self-Hosted / Python & Gradio (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/microsoft/TRELLIS.git && cd TRELLIS`.
  2. 2Review the MIT license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `git clone --recurse-submodules https://github.com/microsoft/TRELLIS.git && python app.py` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Clean a product photo with rembg, generate a high-res textured GLB mesh in TRELLIS Gradio, and inspect or animate the model inside Three.js or Blender.)

Hardware & VRAM Notes

Hardware & VRAM guidance: Requires an NVIDIA GPU (16GB+ VRAM recommended for local runs)

GPU & VRAM

Requires an NVIDIA GPU (16GB+ VRAM recommended for local runs)

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

Self-Hosted / Python & Gradio (GitHub)

Strengths & Best For

  • High-detail textured 3D asset export to GLB, Radiance Fields, and 3DGS
  • Supports both image-to-3D and text-to-3D generation
  • Open codebase and model setup suitable for indie games and commercial prototyping
  • Best suited for: 3D Artists, Game Developers, XR Designers

Limitations & Caveats

  • Requires an NVIDIA GPU (16GB+ VRAM recommended for local runs)
  • Heavy topologies may need decimation before mobile game use
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (3D & Spatial)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted TRELLIS vs. Hosted Alternatives (Hunyuan3D & TripoSR)
FactorTRELLIS (Self-Hosted)Hunyuan3DTripoSR
Execution & PrivacyRuns locally via Self-Hosted / Python & Gradio (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaMIT code; bound only by local CPU/GPU hardware.Open Source; subject to vendor free-tier limits or paid plans.Open Source; subject to vendor free-tier limits or paid plans.
Primary FitHigh-detail textured 3D asset export to GLB, Radiance Fields, and 3DGS; Supports both image-to-3D and text-to-3D generationTencent's high-resolution open-source 3D asset generator creating detailed geometry and PBR textures from single images or text.Ultra-fast open-source image-to-3D reconstruction model built by Stability AI & Tripo generating textured meshes in under a second.
Key Trade-offRequires an NVIDIA GPU (16GB+ VRAM recommended for local runs)Requires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for TRELLIS workflows.

Golden Ratio Abstract Tech & Startup LogoImage · Branding, Vector, Minimalist, Logo
Open in Studio
Nordic Brutalist Forest VillaImage · Editorial Architectural Photography
Open in Studio

Compare Alternatives

Compare Engine →

Compare TRELLIS side-by-side on setup ease, privacy, and role scorecards.

More Open Source 3D & Spatial Repositories

Frequently Asked Questions

What does TRELLIS do and how does it work?

TRELLIS (microsoft/TRELLIS) is an open-source 3d & spatial project with 14,455 stars on GitHub. Microsoft open-source 3D asset generation foundation model using Structured 3D Latents (SLAT) to produce textured GLB meshes, NeRFs, and 3D Gaussians. TRELLIS unifies geometry and appearance inside a single Rectified Flow Transformer latent space, allowing creators to convert single reference photos or text prompts into watertight textured GLB meshes or Gaussian splats cleanly.

Is TRELLIS free to self-host and use commercially?

TRELLIS provides open source code licensed under MIT. Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does TRELLIS require?

TRELLIS targets Self-Hosted / Python & Gradio (GitHub). Typical installation runs via `git clone --recurse-submodules https://github.com/microsoft/TRELLIS.git && python app.py`. Requires an NVIDIA GPU (16GB+ VRAM recommended for local runs)

How does self-hosting TRELLIS compare to hosted tools like Hunyuan3D?

Self-hosting TRELLIS gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / Python & Gradio (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, Hunyuan3D (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is TRELLIS actively maintained and what workflow fits it best?

Repository metadata records 14,455 stars on GitHub with the latest recorded push on Oct 27, 2026. Clean a product photo with rembg, generate a high-res textured GLB mesh in TRELLIS Gradio, and inspect or animate the model inside Three.js or Blender.