Call it
curl https://api.peume.com/v1/call/remesh-3d-model \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"input_run_id": "your input run id",
"model_url": "your model url"
}
}'const res = await fetch("https://api.peume.com/v1/call/remesh-3d-model", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"input_run_id": "your input run id",
"model_url": "your model url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/remesh-3d-model",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"input_run_id": "your input run id",
"model_url": "your model url"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: remesh-3d-model.
Parameters
input_run_idstringrunId of one of YOUR OWN earlier, successful Meshy runs that returned a model: /text-to-3d/preview, /text-to-3d/refine, /image-to-3d/generate, /multi-image-to-3d/generate, /model/retexture, /model/remesh, /model/convert, /model/resize, /model/uv-unwrap or /print/repair.
model_urlstringA public https URL of the model file instead.
target_formatsarrayFormats to generate (default ["glb"]).
topologystringOutput mesh topology.
quad · triangle
target_polycountintegerTarget count, 100–300,000 (default 30,000).
decimation_modestringDecimation algorithm selector (1–4).
alpha_thumbnailbooleanAlso return a transparent-background preview.
