
Resizes an existing 3D model to a set height or longest side in meters, or to an estimated real-world size, and sets where its origin sits.
Resizes an existing 3D model to a set height or longest side in meters, or to an estimated real-world size, and sets where its origin sits.
meshy-resize/v1/3d/generationsmeshy/meshy-resize来自 EmpirioLabs 目录的实时按量计费价格。也可以选择包含每周用量额度的套餐。
Meshy Resize 通过 POST /v1/3d/generations 运行。请求会立即返回 job_id;轮询 GET /v1/jobs/{job_id} 直到任务完成,再从结果中读取输出 URL。 在EmpirioLabs 控制台获取 API 密钥。
curl https://api.empiriolabs.ai/v1/3d/generations \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meshy-resize",
"prompt": "Describe what you want Meshy Resize to generate."
}'curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY"import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/3d/generations",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "meshy-resize",
"prompt": "Describe what you want Meshy Resize to generate.",
},
)
job = response.json()
# Generation runs as an async job. Poll until it completes.
import time
while True:
status = requests.get(
f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
).json()
if status.get("status") in ("completed", "failed"):
print(status)
break
time.sleep(5)EmpirioLabs 上 Meshy Resize API 支持的请求参数。省略字段时使用默认值。
| 参数 | 类型 | 默认值 | 范围 / 值 | 描述 |
|---|---|---|---|---|
| model_url | string | - | - | The model to resize: a GLB, glTF, OBJ, FBX or STL file, as a URL (up to 400 MB) or base64 (up to 100 MB). The result keeps the file format of the model you send. |
| resize_height | number | - | 最小 0.001 | Resize the model to this height in meters. Send one of height, longest side or auto size. |
| resize_longest_side | number | - | 最小 0.001 | Resize the model so its longest side is this many meters. Send one of height, longest side or auto size. |
| auto_size | boolean | false | - | Estimate the object's real-world height and size the model to it. |
| origin_at | enum | bottom | bottom, center | Where the model's origin sits. |
Resizes a 3D model you provide. Billing is per request.
涵盖这个模型的公告、提示词测试和对比文章。
在 EmpirioLabs,Meshy Resize 按量计费。也可以选择包含每周用量额度的套餐。本页的实时价格表始终与 API 的实际计费一致。
Meshy Resize 接受 3D 作为输入,并返回 3D。
Meshy Resize 通过 api.empiriolabs.ai 上的 POST /v1/3d/generations 提供,使用标准的 Bearer 令牌认证。
在请求中将 meshy-resize 作为 model 发送。备用 ID meshy/meshy-resize 同样可用。
Meshy 于 2026年5月22日 发布了 Meshy Resize。
可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Meshy Resize,你可以在写代码之前先测试提示词。
创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。也可以选择包含每周用量额度的套餐。