Call it
curl https://api.peume.com/v1/call/generate-3d-mesh-from-text \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "your prompt"
}
}'const res = await fetch("https://api.peume.com/v1/call/generate-3d-mesh-from-text", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"prompt": "your prompt"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/generate-3d-mesh-from-text",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"prompt": "your prompt"
}
},
)
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: generate-3d-mesh-from-text.
Parameters
promptRequiredstringDescribe ONE object to model (up to 800 characters).
model_typestring`smart-topology` uses the meshy-t2 family for clean low-poly topology.
standard · smart-topology
ai_modelstringGeometry model (default latest = meshy-7.1, $0.60; with model_type smart-topology, meshy-t2.5); meshy-6-lite and meshy-t2 / t2.5 cost $0.15.
meshy-6 · meshy-6-lite · meshy-7.1 · latest · meshy-t2 · meshy-t2.5
geometry_resolutionstringUltra geometry tier (meshy-7.1 / latest); adds $0.15.
standard · 2k · 4k
should_remeshbooleanRemesh after generation (default true for meshy-6-lite).
topologystringOutput mesh topology.
quad · triangle
decimation_modestringDecimation algorithm selector (1–4).
target_polycountintegerTarget count, 100–300,000.
pose_modestringForce a rest pose for characters you intend to rig.
a-pose · t-pose
moderationbooleanRun content moderation.
target_formatsarrayFormats to generate (default: every format except 3mf).
alpha_thumbnailbooleanAlso return a transparent-background preview.
auto_sizebooleanEstimate the real-world size.
origin_atstringWhere to place the origin.
bottom · center
