Meshy Retexture API

Paints a new texture onto an existing 3D model from a text prompt or style images, with a choice of texture model, PBR maps, and textures up to 8K.

Meshy 3D生成 发布日期 2025年6月25日 专有端点 新

关于 Meshy Retexture

Paints a new texture onto an existing 3D model from a text prompt or style images, with a choice of texture model, PBR maps, and textures up to 8K.

retexturing texture generation pbr materials

Meshy Retexture 规格

模型 ID
meshy-retexture
开发方
Meshy
类别
3D生成
发布日期
2025年6月25日
输入
3D文本图像
输出
3D
端点
POST/v1/3d/generations
备用模型 ID
meshy/meshy-retexture

Meshy Retexture API 价格最高省 5%

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

类型
规格
价格
2K or 4K texture
per request
$0.40$0.38
8K texture
per request
$0.60$0.57
在完整价格页比较

如何调用 Meshy Retexture API

Meshy Retexture 通过 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-retexture",
    "prompt": "Describe what you want Meshy Retexture 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-retexture",
        "prompt": "Describe what you want Meshy Retexture 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 Retexture API 完整参考

Meshy Retexture API 参数

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

参数类型默认值范围 / 值描述
model_urlstring--The model to texture: a GLB, glTF, OBJ, FBX or STL file, as a URL (up to 400 MB) or base64 (up to 100 MB).
promptstring--Text that describes the new texture, up to 800 characters. Send a prompt or images, not both. Not available with the meshy-n1 texture model.
imageimage--An image whose look the texture follows, or two to four views of the same object with the meshy-7 or meshy-n1 texture model. JPG, PNG or WebP, up to 20 MB each, as...
texture_modelenummeshy-7meshy-7, meshy-n1, meshy-6, meshy-6-liteThe model that paints the texture. meshy-7 is detailed and realistic, meshy-n1 paints clean color with few seams from reference images only, meshy-6 can also remove...
texture_resolutionenum2k2k, 4k, 8kThe size of the color texture. A PBR map can be one size smaller. 4k and 8k need the meshy-7 or meshy-6 texture model.
enable_pbrbooleanfalse-Also make metallic, roughness and normal maps. Not available with the meshy-n1 texture model.
enable_original_uvbooleanfalse-Paint onto the model's own UV layout.
remove_lightingboolean--Remove highlights and shadows from the texture. Applies to the meshy-6 texture model.
file_formatenumglbglb, fbx, obj, usdz, stl, 3mfThe file format of the returned model. obj also returns its material file and textures.

须知

Paints a new texture onto a 3D model you provide. Send the model with a text prompt, one style image, or two to four views of the object. Billing is per request, at the price of the texture size.

Controls

  • The texture model, 2K, 4K, or 8K textures, and PBR maps.
  • Painting onto the model's own UV layout, and baked lighting removal with the meshy-6 texture model.
  • glb, fbx, obj, usdz, stl, or 3mf output. An obj comes with its material file and textures.

Input limits

  • 3D model: GLB, glTF, OBJ, FBX, or STL, up to 400 MB by URL or 100 MB as base64.
  • Images: JPG, PNG, or WebP, up to 20 MB each, as URLs or base64.
  • Prompt: up to 800 characters. Send a prompt or images, not both.

输出

  • Each file is stored and returned as a signed download URL.

Billing

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

Meshy Retexture 相关博客文章

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

Meshy Retexture API:常见问题

Meshy Retexture API 收费多少?

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

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

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

Meshy Retexture 使用哪个端点?

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

Meshy Retexture 的模型 ID 是什么?

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

Meshy Retexture 是什么时候发布的?

Meshy 于 2025年6月25日 发布了 Meshy Retexture。

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

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

如何获取 Meshy Retexture API 密钥?

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

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

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