
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.
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-retexture/v1/3d/generationsmeshy/meshy-retexture来自 EmpirioLabs 目录的实时按量计费价格。也可以选择包含每周用量额度的套餐。
Meshy Retexture 通过 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-retexture",
"prompt": "Describe what you want Meshy Retexture 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-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)EmpirioLabs 上 Meshy Retexture API 支持的请求参数。省略字段时使用默认值。
| 参数 | 类型 | 默认值 | 范围 / 值 | 描述 |
|---|---|---|---|---|
| model_url | string | - | - | 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). |
| prompt | string | - | - | 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. |
| image | image | - | - | 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_model | enum | meshy-7 | meshy-7, meshy-n1, meshy-6, meshy-6-lite | The 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_resolution | enum | 2k | 2k, 4k, 8k | The 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_pbr | boolean | false | - | Also make metallic, roughness and normal maps. Not available with the meshy-n1 texture model. |
| enable_original_uv | boolean | false | - | Paint onto the model's own UV layout. |
| remove_lighting | boolean | - | - | Remove highlights and shadows from the texture. Applies to the meshy-6 texture model. |
| file_format | enum | glb | glb, fbx, obj, usdz, stl, 3mf | The 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.
涵盖这个模型的公告、提示词测试和对比文章。
在 EmpirioLabs,Meshy Retexture 按量计费。也可以选择包含每周用量额度的套餐。本页的实时价格表始终与 API 的实际计费一致。
Meshy Retexture 接受 3D, 文本, 图像 作为输入,并返回 3D。
Meshy Retexture 通过 api.empiriolabs.ai 上的 POST /v1/3d/generations 提供,使用标准的 Bearer 令牌认证。
在请求中将 meshy-retexture 作为 model 发送。备用 ID meshy/meshy-retexture 同样可用。
Meshy 于 2025年6月25日 发布了 Meshy Retexture。
可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Meshy Retexture,你可以在写代码之前先测试提示词。
创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。也可以选择包含每周用量额度的套餐。