Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

TRELLIS.2

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

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

試用這個模型

Playground

開啟 playground
輸入

PNG、JPEG、WebP 或 GIF · 最多 20 MiB

Image of the object to convert to 3D.
Generation resolution. Higher is slower and more detailed, and changes the price.
進階設定
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. 範圍:5000 到 2000000。
Rebuild the mesh topology for cleaner triangles. Slower, but usually better for animation or 3D printing.
Random seed for reproducible results.
結果
範例
  1. 接下來您想做什麼?

    開啟原始檔

已儲存的範例結果。未要求新的生成。

顯示的執行預估:$0.3。最終費用將依下方模型計費規則計算。

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.