Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

TRELLIS.2

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

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

Probar el modelo

Entorno de pruebas

Abrir playground
Entrada

PNG, JPEG, WebP o GIF · máximo 20 MiB

Image of the object to convert to 3D.
Generation resolution. Higher is slower and more detailed, and changes the price.
Ajustes avanzados
Resolution of the baked texture image. Higher values keep finer surface detail but produce larger files.
50002000000
Target number of vertices in the final mesh. Lower values give smaller files; 20k-50k suits web and mobile. Rango: de 5000 a 2000000.
Rebuild the mesh topology for cleaner triangles. Slower, but usually better for animation or 3D printing.
Random seed for reproducible results.
Resultado
Ejemplo
  1. ¿Qué le gustaría hacer después?

    Abrir original

Resultado de ejemplo guardado. No se solicitó una nueva generación.

La estimación de ejecución mostrada es $0.3. Los cargos finales siguen las reglas de facturación del modelo a continuación.

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.