Microsoft Trellis 2
300积分/次起
ae_trellis_2
将单张图像转换为带纹理的 3D GLB 模型,并可平衡细节、网格质量和文件大小。
300积分/次起
价格说明
300积分/次起
| 分辨率 | 费用 |
|---|---|
| 512 | 300积分/次 |
| 1024 / 未指定 | 360积分/次 |
| 1536 | 420积分/次 |
起价对应分辨率:512。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
request_body | object | 是 | 暂无参数说明。 | — |
request_body.seed | integer | unknown | 否 | Random seed for reproducibility | — |
request_body.remesh | boolean | 否 | Rebuild the mesh topology for cleaner triangles. Slower but usually produces better results for downstream use (animation, 3D printing, etc). | true |
request_body.image_url | string | 是 | URL of the input image to convert to 3D | — |
request_body.resolution | enum (512 | 1024 | 1536) | 否 | Output resolution; higher is slower but more detailed | 1024 |
request_body.remesh_band | number | 否 | Controls how far remeshing can move vertices from the original surface. Higher values allow more smoothing but may lose fine details. | 1 |
request_body.ss_rescale_t | number | 否 | Controls noise schedule sharpness for structure generation. Higher values produce sharper transitions. | 5 |
request_body.texture_size | enum (1024 | 2048 | 4096) | 否 | Resolution of the texture image baked onto the mesh. Higher values capture finer surface details but produce larger files. | 2048 |
request_body.remesh_project | number | 否 | How much to project remeshed vertices back onto the original surface. 0 = no projection (smoother), 1 = full projection (preserves detail). | 0 |
request_body.decimation_target | integer | 否 | Target number of vertices in the final mesh. Lower values produce smaller files but less detail. 500k is good for most uses, reduce to 20k-50k for web/mobile. | 500000 |
request_body.ss_sampling_steps | integer | 否 | Number of denoising steps for the initial structure. More steps = slower but potentially higher quality. | 12 |
request_body.tex_slat_rescale_t | number | 否 | Controls noise schedule sharpness for texture generation. Higher values produce sharper texture details. | 3 |
request_body.ss_guidance_rescale | number | 否 | Dampens artifacts from high guidance in stage 1. Lower values allow stronger guidance effects, higher values stabilize the output. | 0.7 |
request_body.shape_slat_rescale_t | number | 否 | Controls noise schedule sharpness for shape refinement. Higher values produce sharper geometric details. | 3 |
request_body.ss_guidance_strength | number | 否 | How closely the initial 3D structure follows the input image. Higher values produce more faithful but potentially noisier results. | 7.5 |
request_body.tex_slat_sampling_steps | integer | 否 | Number of denoising steps for texture generation. More steps = slower but potentially cleaner textures. | 12 |
request_body.shape_slat_sampling_steps | integer | 否 | Number of denoising steps for shape refinement. More steps = slower but potentially smoother geometry. | 12 |
request_body.tex_slat_guidance_rescale | number | 否 | Dampens artifacts from high guidance in the texture stage. Increase if textures look noisy or have color banding. | 0 |
request_body.tex_slat_guidance_strength | number | 否 | How closely the texture follows the input image colors. Higher values produce more vivid but potentially oversaturated textures. | 1 |
request_body.shape_slat_guidance_rescale | number | 否 | Dampens artifacts from high guidance in the shape stage. Increase if you see noisy geometry. | 0.5 |
request_body.shape_slat_guidance_strength | number | 否 | How closely the detailed geometry follows the input image. Higher values add more detail but may introduce noise. | 7.5 |
调用示例
提交任务并查询完成结果
POST
/agent-api/v1/tool/executeX-Api-Key先提交任务,再用返回的 task_id 查询,直至完成。
请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_trellis_2' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"decimation_target": 120000,
"image_url": "https://agentearth.ai/fileserver/file/e526a548-99f9-4088-a924-85d9fea088ce.jpg",
"remesh": true,
"resolution": 1024,
"texture_size": 2048
}
}
}'返回示例response.json
{
"description": "task accepted; poll the result via query_tool with this task_id",
"query_tool": "ae_get_result",
"status": "created",
"task_id": "bfc1a9e0-6721-4930-aab7-bddbbe56484a"
}使用该工具的指南
看看真实工作流里怎么用这个工具






