All tools

$ open tools/trellis-2

Service· Design· Content

TRELLIS.2

TRELLIS.2 by Microsoft turns a single photo of an object into a 3D model with materials and gives you a GLB file. The demo runs free in the browser, MIT licence.

Checked· Nov 16, 2026

We have not run it ourselves: described from the docs and the repository.

In numbers

1 фото
all you need as input
4B
model parameters
~17 с
per 1024³ model on an H100, authors' measurement
MIT
licence

What it is

TRELLIS.2 is an open Microsoft model that turns one picture into a three-dimensional object. Upload a photo of a mug, a toy or a character sketch, press Generate, and a few seconds later you are spinning the result in your browser. The model builds both the shape and the surface: colour, metallic shine, roughness and transparency. What comes out is not a grey blank but an object you can drop straight into a website, a game or a render scene.

What sets it apart from its neighbours in this catalogue is that nothing has to be modelled by hand. In Spline you build the object in an editor, in Amazon's library of 3D product models you take a ready-made item, while here the source is your own picture. The Hugging Face demo needs no install and no sign-up, and the code and weights are open for anyone with a powerful graphics card.

How it works

  1. 01Image PromptfreeUpload a picture or paste it from the clipboard. An object on a transparent or plain background works best.
  2. 02GeneratePick a resolution of 512, 1024 or 1536 and preview the model right in the browser. Not happy with it? Run it again with a different seed.
  3. 03Extract GLBBuilds the file: face count from 100,000 to 500,000 and texture size up to 4096 pixels are set with sliders. This step can take half a minute or more.
  4. 04Download GLBThe GLB opens in Blender, Spline, game engines, and on a website through three.js.
  5. 05app.pyYou can run the same demo yourself, but you need Linux and an NVIDIA card with at least 24 GB of memory.

Know before installing

  • The demo runs on shared Hugging Face GPUs with a daily quota: about 2 minutes of compute a day without signing in, 5 minutes with a free account. That is enough for a few models.
  • The mesh sometimes comes out with small holes. For 3D printing they need patching, and the repository has scripts for that. Transparency is off by default in the GLB and has to be switched on by hand in a 3D app.
  • Uploaded images are stored temporarily on Hugging Face servers, so keep personal photos and documents out of it.

Comments

$ ls articles/ --same-topic

Also read

$ ls tools/ --like=trellis-2

Similar tools

All tools