TRELLIS.2 Retexture

TRELLIS.2 Retexture by Microsoft paints new textures onto an existing 3D mesh (GLB, OBJ, PLY or STL) from a reference image.
API docs
trellis/trellis-2/retexture

TRELLIS.2 Retexture by Microsoft paints new textures onto an existing 3D mesh (GLB, OBJ, PLY or STL) from a reference image.

Try the model

Playground

Open playground
Input
URL of the untextured 3D mesh to retexture. Supports GLB, OBJ, PLY and STL.

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

Reference image for the new texture.
Internal texture generation resolution. Higher gives finer texture detail, and changes the price. Allowed values: 512, 1024.
Advanced settings
Resolution of the baked texture image. Higher values keep finer surface detail but produce larger files. Allowed values: 1024, 2048, 4096.
Random seed for reproducible results.
Result
Idle

Your output will appear here

Complete the inputs, then click Run.

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

TRELLIS.2 Retexture

TRELLIS.2 Retexture by Microsoft paints new textures onto an existing 3D mesh (GLB, OBJ, PLY or STL) from a reference image.

Fields

FieldTypeDefaultNotes
model_urlstring, required—URL of the untextured 3D mesh to retexture. Supports GLB, OBJ, PLY and STL.
imageimage URL, required—Reference image for the new texture.
resolution512 / 10241024Internal texture generation resolution. Higher gives finer texture detail, and changes the price.
texture_size1024 / 2048 / 40962048Resolution of the baked texture image. Higher values keep finer surface detail but produce larger files.
seedinteger—Random seed for reproducible results.

Output

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

Billing

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

OptionPrice
resolution = 512$0.20
resolution = 1024$0.24
Failed runs are not charged.

Also on SandBase

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