Meshy Relief API

Turns a photo into a bas-relief 3D model and a depth map for 3D printing, engraving, and carving, with size, carving depth, base, and bend controls.

Meshy 3D生成 发布日期 2026年11月5日 专有端点 新

关于 Meshy Relief

Turns a photo into a bas-relief 3D model and a depth map for 3D printing, engraving, and carving, with size, carving depth, base, and bend controls.

relief image to 3d 3d printing

Meshy Relief 规格

模型 ID
meshy-relief
开发方
Meshy
类别
3D生成
发布日期
2026年11月5日
输入
图像
输出
3D
端点
POST/v1/3d/generations
备用模型 ID
meshy/meshy-relief

Meshy Relief API 价格最高省 5%

来自 EmpirioLabs 目录的实时按量计费价格。也可以选择包含每周用量额度的套餐。

类型
规格
价格
Per request
per request
$0.80$0.76
在完整价格页比较

如何调用 Meshy Relief API

Meshy Relief 通过 POST /v1/3d/generations 运行。请求会立即返回 job_id;轮询 GET /v1/jobs/{job_id} 直到任务完成,再从结果中读取输出 URL。 在EmpirioLabs 控制台获取 API 密钥。

cURL:提交任务
curl https://api.empiriolabs.ai/v1/3d/generations \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meshy-relief",
    "prompt": "Describe what you want Meshy Relief to generate."
  }'
cURL:轮询结果
curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"
Python
import requests

response = requests.post(
    "https://api.empiriolabs.ai/v1/3d/generations",
    headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
    json={
        "model": "meshy-relief",
        "prompt": "Describe what you want Meshy Relief 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)
Meshy Relief API 完整参考

Meshy Relief API 参数

EmpirioLabs 上 Meshy Relief API 支持的请求参数。省略字段时使用默认值。

参数类型默认值范围 / 值描述
imageimage--The photo to turn into a relief. JPG, PNG or WebP, up to 20 MB, as a URL or base64. Transparent areas are filled with black.
variantenumlowhigh, lowhigh carves deeper, for printed pieces. low carves shallow, for engraving, carving and thin plaques.
should_generate_modelbooleantrue-Build the relief model. Off returns the depth map only, at the same price.
size_mmnumber6020 到 250The length of the photo's longer side on the model, in millimeters.
carving_modeenumembossemboss, engraveemboss raises the near parts of the photo. engrave cuts them in.
carving_depth_mmnumber-0 到 60How deep the relief is carved, in millimeters. When unset: 6 for the high style, 3 for the low style.
remove_basebooleanfalse-Cut away the background and build no base plate.
removal_thresholdnumber0.010.01 到 1The depth, from 0.01 to 1, below which the background is cut away. Applies when remove_base is on.
base_thickness_mmnumber-0.1 到 10The thickness of the base plate, in millimeters. When unset: 1. Not available when remove_base is on.
bend_modeenumoffoff, convex, concaveoff keeps the relief flat. convex bulges the front outward, concave curves it inward.
bend_axisenumxzxz, yzxz curls the left and right edges. yz curls the top and bottom edges.
bend_anglenumber600 到 360The arc the bend spans, in degrees.
mesh_resolutioninteger1024512 到 2048The number of mesh points along the photo's longer side. A higher value keeps finer detail and makes larger files.

须知

Turns one photo into a relief: a raised or engraved model of the picture. Billing is per request.

Controls

  • A high style for printed pieces or a low style for engraving and thin plaques, embossed or engraved.
  • The size, the carving depth, the base plate or no base, a convex or concave bend, and the mesh resolution.
  • The depth map alone, at the same price.

Input limits

  • Image: JPG, PNG, or WebP, up to 20 MB, as a URL or base64.

输出

  • The model as a GLB file in meters and an STL file in millimeters, and the depth map as a 16-bit grayscale PNG, each stored and returned as a signed download URL.

Billing

  • A request that is refused or that fails is not billed.

Meshy Relief 相关博客文章

涵盖这个模型的公告、提示词测试和对比文章。

Meshy Relief API:常见问题

Meshy Relief API 收费多少?

在 EmpirioLabs,Meshy Relief 按量计费。也可以选择包含每周用量额度的套餐。本页的实时价格表始终与 API 的实际计费一致。

Meshy Relief 支持哪些输入和输出?

Meshy Relief 接受 图像 作为输入,并返回 3D。

Meshy Relief 使用哪个端点?

Meshy Relief 通过 api.empiriolabs.ai 上的 POST /v1/3d/generations 提供,使用标准的 Bearer 令牌认证。

Meshy Relief 的模型 ID 是什么?

在请求中将 meshy-relief 作为 model 发送。备用 ID meshy/meshy-relief 同样可用。

Meshy Relief 是什么时候发布的?

Meshy 于 2026年11月5日 发布了 Meshy Relief。

集成之前可以在浏览器里试用 Meshy Relief 吗?

可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Meshy Relief,你可以在写代码之前先测试提示词。

如何获取 Meshy Relief API 密钥?

创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。也可以选择包含每周用量额度的套餐。

准备好使用更好的终端了吗?

查看我们的定价,或者如果你想将自己的模型部署到我们的堆栈中,请联系我们。