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.
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.
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.
Quick Setup & Installation Steps
Platform target: Self-Hosted / Python & Gradio (GitHub). Always verify environment variables and dependencies in the upstream repository README.
- 1Clone the repository from GitHub: `git clone https://github.com/microsoft/TRELLIS.git && cd TRELLIS`.
- 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.
- 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).
- 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)
Requires an NVIDIA GPU (16GB+ VRAM recommended for local runs)
16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.
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.
Hunyuan3D
Tencent's high-resolution open-source 3D asset generator creating detailed geometry and PBR textures from single images or text.
TripoSR
Ultra-fast open-source image-to-3D reconstruction model built by Stability AI & Tripo generating textured meshes in under a second.
OpenAI Shap-E & Point-E
100% free open-source conditional 3D asset generation models by OpenAI.
| Factor | TRELLIS (Self-Hosted) | Hunyuan3D | TripoSR |
|---|---|---|---|
| Execution & Privacy | Runs 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 & Quota | MIT 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 Fit | High-detail textured 3D asset export to GLB, Radiance Fields, and 3DGS; Supports both image-to-3D and text-to-3D generation | Tencent'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-off | Requires 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
Customize variables in Live Prompt Studio for TRELLIS workflows.
Compare Alternatives
Compare TRELLIS side-by-side on setup ease, privacy, and role scorecards.
More Open Source 3D & Spatial Repositories
three.js
Leading open-source JavaScript 3D graphics library wrapping WebGL and WebGPU for interactive browser scenes, GLTF viewers, shaders, and spatial UI.
nerfstudio
Open-source PyTorch framework for training, evaluating, and interactively inspecting Neural Radiance Fields (NeRFs) and 3D Gaussian Splatting scenes.
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.