TRELLIS.2 API

Image to 3D with
Microsoft TRELLIS.2

Generate high-fidelity 3D models with PBR materials from a single image. Powered by Microsoft's TRELLIS.2-4B model. Fast generation, low cost, production-ready output.

Image to 3D10 creditsPBR included1–3 min

High-fidelity 3D from a single photo

TRELLIS.2-4B is Microsoft's state-of-the-art image-to-3D model. Upload one photo and get a detailed 3D mesh with physically-based materials - at a fraction of the cost of other models.

Single image input - no text prompt required
PBR materials always included (albedo, normal, metallic, roughness)
High geometric fidelity and detail preservation
Only 10 credits per generation
1–3 minute generation time
GLB output, convertible to OBJ, FBX, STL, PLY

10

Credits / request

1–3

Minutes

PBR

Always included

One image in, 3D model out

Simple REST API. Send an image, get a textured 3D model.

TRELLIS.2 - Image to 3D

Request

curl -X POST https://api.3daistudio.com/v1/3d-models/trellis2/generate/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "data:image/png;base64,..."
  }'

Response

{
  "task_id": "f7e8d9c0-b1a2-...",
  "created_at": "2026-02-25T12:00:00Z"
}

// Poll: GET /v1/generation-request/{task_id}/status/
// → { "status": "FINISHED",
//     "results": [{ "asset_url": "..." }] }

TRELLIS.2 vs Hunyuan 3D

Choose the right model for your use case. Both are available through the same API.

FeatureTRELLIS.2Hunyuan 3D
InputSingle imageText, image, or multi-view
PBR TexturesAlways includedOptional (+20 credits)
Cost10 credits35–100 credits
Speed1–3 min2–6 min
Best forPhoto reconstructionCreative generation
Polygon controlNo40K–1.5M

Explore related APIs

Use TRELLIS.2 alongside other endpoints for complete workflows.

Frequently asked questions

Try TRELLIS.2 now

Get an API key and convert your first image to 3D in under 5 minutes. 10 credits per generation.