A 4B-parameter flow-matching transformer that turns a single image into a textured 3D asset with real PBR materials — including transparency and non-manifold topology.
The app is complete and lives in this repository (app.py plus the vendored
trellis2/ library). It is hosted statically because this is a new Hugging Face
account, and free ZeroGPU access requires an account at least 30 days old.
TRELLIS.2-4B needs an NVIDIA GPU with 24 GB VRAM minimum — there is no
CPU path, and the CUDA extensions (o_voxel, nvdiffrast,
flex_gemm) are built for Blackwell sm_120 only. A GPU community
grant has been requested; the Space switches to sdk: gradio and goes live the
moment it is approved. No code change needed.
512 fastest, 1024 default,
1536 most detailed..glb.Most 3D generators are built on iso-surface fields (SDF, Flexicubes), which struggle with open surfaces and non-manifold geometry. TRELLIS.2 uses O-Voxels — a sparse, field-free voxel structure that encodes geometry and appearance together, with instant bidirectional conversion to and from meshes.