Call it
curl https://api.peume.com/v1/call/split-model-into-printable-parts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"input_run_id": "your input run id"
}
}'const res = await fetch("https://api.peume.com/v1/call/split-model-into-printable-parts", {
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"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/split-model-into-printable-parts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"input_run_id": "your input run id"
}
},
)
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: split-model-into-printable-parts.
Parameters
input_run_idRequiredstringrunId of one of YOUR OWN successful runs of /text-to-3d/preview, /text-to-3d/refine, /image-to-3d/generate, /multi-image-to-3d/generate, /model/retexture, /model/remesh, /model/convert or /model/resize to split; the model must come from Meshy 6 / 7 (not Smart Topology) and have at most 8,000,000 faces (remesh first otherwise).
modestringauto (default) chooses the cuts; by_parts / by_color follow prompt.
auto · by_parts · by_color
promptstringThe 1–10 parts to split into (by_parts / by_color).
target_formatsarrayExport formats (default ["glb"]).
layoutstringKeep the pose, or lay the parts flat on the build plate.
assembled · on_plate
keep_texturebooleanKeep the input texture on every part (about twice as slow).
connectorsbooleanAdd mortise-and-tenon connectors at each cut.
connector_typestringConnector shape.
cube · cylinder
connector_sizenumberConnector size relative to the cut surface.
connector_heightnumberConnector height relative to the cut surface.
