Mindket

TRELLIS.2-4B

Newversion 1 · updated

Overview

Microsoft's 4B image to 3D model that turns a single picture into a textured 3D mesh with PBR materials, at resolutions up to 1536, for people with a large NVIDIA GPU.

TRELLIS.2-4B is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Linux, the only system the card says is tested
  • An NVIDIA GPU with at least 24 GB, with A100 and H100 verified
  • The CUDA Toolkit to compile some packages, with version 12.4 recommended
  • Conda to manage dependencies, and Python 3.8 or newer
Runs in
  • Linux with an NVIDIA GPU, which is the tested setup
  • Python with the project's own trellis2 library
  • The official code repository, which holds the install steps
  • Windows, macOS or Linux, with Python, for the file download alone
Start with
pip install -U huggingface_hub
hf download microsoft/TRELLIS.2-4B

Platform

LinuxOperating system
WindowsOperating system
macOSOperating system

About

What it is

TRELLIS.2-4B is Microsoft's model for turning a single image into a 3D asset. The output is a mesh with PBR materials, which covers color, opacity and how light reacts. The model is a 4 billion parameter flow-matching transformer. It works on a sparse voxel structure called O-Voxel.

O-Voxel stores both shape and appearance. It handles open surfaces, non-manifold geometry and closed shapes without a lossy conversion step.

Who it suits

It suits 3D artists, game developers and researchers who have a strong NVIDIA GPU and want a 3D draft from a picture. The card asks for at least 24 GB of GPU memory.

IndustryWho uses itHow they use itExample
Games and media3D artistsTurn concept art into a starting meshA prop built from one picture
Product designDesignersDraft a 3D model from a product photoA rough model of a gadget
ResearchGraphics researchersStudy sparse voxel generationTesting at several resolutions
SoftwareDevelopersAdd image to 3D to a pipelineAn asset generator for a tool

Skip it if you have no NVIDIA GPU with 24 GB, or you need a Windows setup, since the card tests Linux only.

Where to use it

  • Linux with an NVIDIA GPU, which is the tested setup
  • Python with the project's own trellis2 library
  • The official code repository, which holds the install steps
  • Windows, macOS or Linux, with Python, for the file download alone
Use caseWhoWhat they get back
Image to 3DArtists and developersA mesh with PBR materials from one picture
Shape-conditioned texturing3D artistsTextures for an input mesh and reference image
Mesh and O-Voxel conversionResearchersFast conversion between the two forms

How to set it up

You need a few things in place first.

  • Linux, the only system the card says is tested
  • An NVIDIA GPU with at least 24 GB, with A100 and H100 verified
  • The CUDA Toolkit to compile some packages, with version 12.4 recommended
  • Conda to manage dependencies, and Python 3.8 or newer
  1. Follow the official code repository for installation and dependencies.
  2. Download the model files, or let the pipeline fetch them by name.
  3. Run the Python script from the next section.
pip install -U huggingface_hub
hf download microsoft/TRELLIS.2-4B

How to use it

You set up the environment, load the pipeline from the model name, open an image and run the pipeline. The result is a mesh, which you can simplify before rendering because of a limit in the renderer.

import os
os.environ['OPENCV_IO_ENABLE_OPENEXR'] = '1'
os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "expandable_segments:True"  # Can save GPU memory
import cv2
import imageio
from PIL import Image
import torch
from trellis2.utils import render_utils
from trellis2.renderers import EnvMap
import o_voxel

# 1. Setup Environment Map
envmap = EnvMap(torch.tensor(
    cv2.cvtColor(cv2.imread('assets/hdri/forest.exr', cv2.IMREAD_UNCHANGED), cv2.COLOR_BGR2RGB),
    dtype=torch.float32, device='cuda'
))

# 2. Load Pipeline
pipeline.cuda()

# 3. Load Image & Run
image = Image.open("assets/example_image/T.png")
mesh = pipeline.run(image)[0]
mesh.simplify(16777216) # nvdiffrast limit

Put your own value in its key setting first.

ResolutionTime on an H100
512about 3 seconds
1024about 17 seconds
1536about 60 seconds

Example

You run the script on the example image from the repository. The pipeline returns a mesh, and the call that follows simplifies it. On an H100, a 512 resolution run takes about 3 seconds and a 1536 run about 60 seconds.

For newcomers and experts

Start at the lowest resolution, which is the quickest, and use one clear picture of a single object. Check the result for small holes before you use it anywhere.

The sparse 3D VAE downsamples space by a factor of 16. A 1024 cubed asset is encoded into only about 9.6K latent tokens. The card says this costs negligible perceptual quality. The model is a pre-trained foundation model with no preference alignment, so style varies and you may need to try a few inputs.

Inference time on an H100, from the card
Resolution 5123 seconds
Resolution 102417 seconds
Resolution 153660 seconds
  1. Set up the environment and load the pipeline
  2. Open a single image
  3. Run the pipeline
  4. Get a mesh with PBR materials

Good to know

  • License: MIT
  • Cost to run: none named, but you need an NVIDIA GPU with at least 24 GB
  • Data it reaches: it downloads files from Hugging Face onto your machine and reads the images you give it
  • Not for: strictly watertight geometry without post-processing, since raw meshes can have small holes, and the card names scripts for filling them

README and files

README

TRELLIS.2-4B

Microsoft's 4B image to 3D model that turns a single picture into a textured 3D mesh with PBR materials, at resolutions up to 1536, for people with a large NVIDIA GPU.

Made by microsoft on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: TRELLIS.2-4B is Microsoft's model for turning a single image into a 3D asset. The output is a mesh with PBR materials, which covers color, opacity and how light reacts. The model is a 4 billion parameter flow-matching transformer. It works on a sparse voxel structure called O-Voxel.

O-Voxel stores both shape and appearance. It handles open surfaces, non-manifold geometry and closed shapes without a lossy conversion step.

Who it suits: It suits 3D artists, game developers and researchers who have a strong NVIDIA GPU and want a 3D draft from a picture. The card asks for at least 24 GB of GPU memory.

Industry | Who uses it | How they use it | Example
Games and media | 3D artists | Turn concept art into a starting mesh | A prop built from one picture
Product design | Designers | Draft a 3D model from a product photo | A rough model of a gadget
Research | Graphics researchers | Study sparse voxel generation | Testing at several resolutions
Software | Developers | Add image to 3D to a pipeline | An asset generator for a tool

Skip it if you have no NVIDIA GPU with 24 GB, or you need a Windows setup, since the card tests Linux only.

Where to use it:

  • Linux with an NVIDIA GPU, which is the tested setup
  • Python with the project's own trellis2 library
  • The official code repository, which holds the install steps
  • Windows, macOS or Linux, with Python, for the file download alone
Use case | Who | What they get back
Image to 3D | Artists and developers | A mesh with PBR materials from one picture
Shape-conditioned texturing | 3D artists | Textures for an input mesh and reference image
Mesh and O-Voxel conversion | Researchers | Fast conversion between the two forms

How to set it up: You need a few things in place first.

  • Linux, the only system the card says is tested
  • An NVIDIA GPU with at least 24 GB, with A100 and H100 verified
  • The CUDA Toolkit to compile some packages, with version 12.4 recommended
  • Conda to manage dependencies, and Python 3.8 or newer
  1. Follow the official code repository for installation and dependencies.
  2. Download the model files, or let the pipeline fetch them by name.
  3. Run the Python script from the next section.
pip install -U huggingface_hub
hf download microsoft/TRELLIS.2-4B

How to use it: You set up the environment, load the pipeline from the model name, open an image and run the pipeline. The result is a mesh, which you can simplify before rendering because of a limit in the renderer.

import os
os.environ['OPENCV_IO_ENABLE_OPENEXR'] = '1'
os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "expandable_segments:True"  # Can save GPU memory
import cv2
import imageio
from PIL import Image
import torch
from trellis2.utils import render_utils
from trellis2.renderers import EnvMap
import o_voxel

# 1. Setup Environment Map
envmap = EnvMap(torch.tensor(
    cv2.cvtColor(cv2.imread('assets/hdri/forest.exr', cv2.IMREAD_UNCHANGED), cv2.COLOR_BGR2RGB),
    dtype=torch.float32, device='cuda'
))

# 2. Load Pipeline
pipeline.cuda()

# 3. Load Image & Run
image = Image.open("assets/example_image/T.png")
mesh = pipeline.run(image)[0]
mesh.simplify(16777216) # nvdiffrast limit

Put your own value in its key setting first.

Resolution | Time on an H100
512 | about 3 seconds
1024 | about 17 seconds
1536 | about 60 seconds

Example: You run the script on the example image from the repository. The pipeline returns a mesh, and the call that follows simplifies it. On an H100, a 512 resolution run takes about 3 seconds and a 1536 run about 60 seconds.

For newcomers and experts: Start at the lowest resolution, which is the quickest, and use one clear picture of a single object. Check the result for small holes before you use it anywhere.

The sparse 3D VAE downsamples space by a factor of 16. A 1024 cubed asset is encoded into only about 9.6K latent tokens. The card says this costs negligible perceptual quality. The model is a pre-trained foundation model with no preference alignment, so style varies and you may need to try a few inputs.

Title: Inference time on an H100, from the card
Resolution 512: 3 seconds
Resolution 1024: 17 seconds
Resolution 1536: 60 seconds
Set up the environment and load the pipeline
Open a single image
Run the pipeline
Get a mesh with PBR materials

Good to know:

  • License: MIT
  • Cost to run: none named, but you need an NVIDIA GPU with at least 24 GB
  • Data it reaches: it downloads files from Hugging Face onto your machine and reads the images you give it
  • Not for: strictly watertight geometry without post-processing, since raw meshes can have small holes, and the card names scripts for filling them

On Hugging Face, 13 November 2026

  • Task: image to 3d
  • Library: trellis2
  • Downloads in the last 30 days: 2,566,439
  • Likes: 1,481
  • License: mit
  • Languages: en
  • Quantized versions: 3
  • Fine-tunes: 7
  • Tags: trellis2, image-to-3d

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download microsoft/TRELLIS.2-4B

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
TRELLIS.2-4B This page2,566,4391,481—mit
TRELLIS-image-largeShares image-to-3d2,762,068722—mit
VGGT-1BShares image-to-3d646,1771581.3Bcc-by-nc-4.0
TripoSR by stabilityaiShares image-to-3d168,894689—mit
Idol by Comfy-OrgShares image-to-3d52,939165—apache-2.0
Idol by speridlabsShares image-to-3d31,3672,259—apache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

デイリーHuggingFaceトレンド今日のHuggingFaceトレンド microsoft/TRELLIS.2-4B このリポジトリは、画像から3Dモデルを生成する大規模生成モデルTRELLIS.2-4Bに関するものです。 特に、複雑な形状や透明度を含む3Dアセットの生成に優れており、従来のSDFやFlexicubesといった手法の課題を克服しています。 論文やプロジェクトページへのリンクも含まれています。デイリーHuggingFaceトレンド今日のHuggingFaceトレンド microsoft/TRELLIS.2-4B このリポジトリは、画像から3Dモデルを生成する大規模生成モデルTRELLIS.2-4Bに関するものです。 特に、複雑な形状や透明度を含む3Dアセットの生成に優れており、従来のSDFやFlexicubesといった手法の課題を克服しています。 論文やプロジェクトページへのリンクも含まれています。デイリーHuggingFaceトレンド今日のHuggingFaceトレンド microsoft/TRELLIS.2-4B このリポジトリは、画像から3Dモデルを生成する大規模生成モデルTRELLIS.2-4Bに関するものです。 特に、複雑な形状や透明度を含む3Dアセットの生成に優れており、従来のSDFやFlexicubesといった手法の課題を克服しています。 論文やプロジェクトページへのリンクも含まれています。デイリーHuggingFaceトレンド今日のHuggingFaceトレンド microsoft/TRELLIS.2-4B このリポジトリは、画像から3Dモデルを生成する大規模生成モデルTRELLIS.2-4Bに関するものです。 特に、複雑な形状や透明度を含む3Dアセットの生成に優れており、従来のSDFやFlexicubesといった手法の課題を克服しています。 論文やプロジェクトページへのリンクも含まれています。geeknikMicrosoft just open-sourced a 4B-parameter portal that turns any flat JPEG into a hole-punched, PBR-textured 3D god—then whispers “btw it may leak reality, patch yourself.”デイリーHuggingFaceトレンド今日のHuggingFaceトレンド microsoft/TRELLIS.2-4B このリポジトリは、画像から3Dモデルを生成する大規模生成モデルTRELLIS.2-4Bに関するものです。 特に、複雑な形状や透明度を含む3Dアセットの生成に優れており、従来のSDFやFlexicubesといった手法の課題を克服しています。 論文やプロジェクトページへのリンクも含まれています。Sharon JermanMicrosoft releases TRELLIS 2-4B, an open-source model that generates 3D models from images, advancing AI capabilities in computer vision and 3D reconstruction. https://www.reddit.com/r/LocalLLaMA/comments/1porpwd/microsofts_trellis_24b_an_opensource_imageto3d/

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k