TRELLIS.2

TRELLIS.2 by Microsoft generates a textured 3D model (GLB with PBR materials) from a single image.
API docs
trellis/trellis-2

TRELLIS.2 by Microsoft generates a textured 3D model (GLB with PBR materials) from a single image.

Try the model

Playground

Open playground
Input

PNG, JPEG, WebP, or GIF · 20 MiB maximum

Image of the object to convert to 3D.
Generation resolution. Higher is slower and more detailed, and changes the price. Allowed values: 512, 1024, 1536.
Advanced settings
Resolution of the baked texture image. Higher values keep finer surface detail but produce larger files. Allowed values: 1024, 2048, 4096.
50002000000
Target number of vertices in the final mesh. Lower values give smaller files; 20k-50k suits web and mobile. Range: 5000 to 2000000.
Rebuild the mesh topology for cleaner triangles. Slower, but usually better for animation or 3D printing.
Random seed for reproducible results.
Result
Idle

Your output will appear here

Complete the inputs, then click Run.

Displayed run estimate: $0.3. Final charges follow the model’s billing rules below.

TRELLIS.2

TRELLIS.2 by Microsoft generates a textured 3D model (GLB with PBR materials) from a single image.

Fields

FieldTypeDefaultNotes
imageimage URL, required—Image of the object to convert to 3D.
resolution512 / 1024 / 15361024Generation resolution. Higher is slower and more detailed, and changes the price.
texture_size1024 / 2048 / 40962048Resolution of the baked texture image. Higher values keep finer surface detail but produce larger files.
decimation_targetinteger 5000–2000000500000Target number of vertices in the final mesh. Lower values give smaller files; 20k-50k suits web and mobile.
remeshbooleantrueRebuild the mesh topology for cleaner triangles. Slower, but usually better for animation or 3D printing.
seedinteger—Random seed for reproducible results.

Output

  • url: Main 3D file (GLB unless another export format is selected).

Billing

$0.30 per request with default settings. Price by option (other settings at default):

OptionPrice
resolution = 512$0.25
resolution = 1024$0.30
resolution = 1536$0.40
texture_size = 1024$0.30
texture_size = 2048$0.30
texture_size = 4096$0.30
Failed runs are not charged.

Also on SandBase

Other trellis 3D endpoints: trellis/trellis, trellis/trellis-2/retexture, trellis/trellis/multi.