TRELLIS 3D Generation

Convert images to 3D meshes and Gaussian splats with Microsoft TRELLIS on Clore.ai

TRELLIS by Microsoft Research converts a single RGB image into a high-quality 3D mesh, Gaussian splat, or radiance field in roughly 30 seconds on an RTX 3090. Released under the MIT license, it is fully free for commercial use.

circle-check

Key Features

  • Single image → 3D — no multi-view captures, no text prompt required

  • Multiple output formats — GLB mesh, Gaussian splat (.ply), radiance field

  • ~30 seconds per asset on RTX 3090/4090

  • MIT license — free for commercial use

  • Gradio web UI included for browser-based interaction

  • Python API for pipeline integration and batch processing

  • Zero-shot — works on arbitrary images without fine-tuning

Requirements

Component
Minimum
Recommended

GPU

RTX 3090 24 GB

RTX 4090 24 GB

VRAM

24 GB

24 GB

RAM

32 GB

64 GB

Disk

30 GB

60 GB

CUDA

11.8

12.1+

Python

3.10

3.10

Clore.ai pricing: RTX 4090 ≈ $0.5–2/day · RTX 3090 ≈ $0.3–1/day

TRELLIS requires 24 GB VRAM. An RTX 3090 is the minimum viable GPU.

Quick Start

1. Set Up the Environment

TRELLIS uses specific dependency versions — a conda environment is strongly recommended:

2. Run the Gradio Web UI

This launches a Gradio interface on http://0.0.0.0:7860. With --share you get a public URL accessible from any browser, useful when running on a headless Clore.ai server.

Upload an image, adjust generation parameters, and download the resulting 3D asset.

3. Use the Python API

4. Export to Different Formats

Usage Examples

Batch Processing Multiple Images

Adjusting Generation Quality

Extract Gaussian Splat for 3D Viewers

Performance Reference

GPU
Steps (12/12)
Time
Notes

RTX 4090

12 / 12

~25 sec

Best price/performance

RTX 3090

12 / 12

~35 sec

Minimum for TRELLIS

A100 40G

12 / 12

~20 sec

Datacenter option

Tips

  • Use PNG with clean backgrounds — remove background with rembg before feeding to TRELLIS for best mesh quality

  • simplify=0.95 in GLB export reduces polygon count by 95% while preserving visual quality — essential for web/game use

  • Set --share when running the Gradio UI on Clore.ai to get a public URL

  • Seed consistency — fix seed for reproducible outputs across runs

  • Texture resolution — use texture_size=2048 for print-quality textures, 1024 for real-time applications

  • First run downloads ~5 GB of model weights — ensure enough disk space

  • Gaussian splats are ideal for real-time rendering; GLB meshes are better for game engines and 3D printing

Troubleshooting

Problem
Solution

CUDA out of memory

TRELLIS needs 24 GB VRAM — use RTX 3090/4090 or A100

kaolin install fails

Match kaolin version to your PyTorch + CUDA version exactly

spconv import error

Install the correct CUDA version: pip install spconv-cu121

Gradio UI not accessible

Use --share for a public tunnel, or expose port 7860 on Clore.ai

Poor mesh quality

Ensure input image has a clean/removed background

Slow first generation

Model weights download on first run — subsequent runs are fast

Export GLB fails

Ensure trimesh and pygltflib are installed

Resources

Last updated

Was this helpful?