
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-retextureEmpirioLabs カタログのライブ従量課金料金です。週ごとの利用枠付きプランも選べます。
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 トークン認証を使用します。
リクエストの model に meshy-retexture を指定してください。代替 ID の meshy/meshy-retexture も使えます。
Meshy は 2025年6月25日 に Meshy Retexture をリリースしました。
はい。EmpirioLabs Playgroundでは API と同じパラメーターで Meshy Retexture をブラウザ上で実行できるので、コードを書く前にプロンプトを試せます。
EmpirioLabs アカウントを作成し、ダッシュボードの API Keysでキーを生成してください。課金は従量制クレジットなので、実行したリクエストの分だけ支払います。週ごとの利用枠付きプランも選べます。