Call it
curl https://api.peume.com/v1/call/generate-low-poly-model-from-views \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"inputs": [],
"model": "P1-20260311",
"texture": true
}
}'const res = await fetch("https://api.peume.com/v1/call/generate-low-poly-model-from-views", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"inputs": [],
"model": "P1-20260311",
"texture": true
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/generate-low-poly-model-from-views",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"inputs": [],
"model": "P1-20260311",
"texture": True
}
},
)
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-low-poly-model-from-views.
Parameters
inputsRequiredarray2–4 views of ONE object as [{front: url}, {left: url}, {back: url}, {right: url}]; front is required. Each value is a public https URL or a file_ token from /files/presign.
texture_alignmentstringMatch the input image colors or the geometry.
original_image · geometry
orientationstringalign_image faces the model like the input image.
default · align_image
modelRequiredstringP1-20260311 (low-poly, 50–20,000 faces) or P2-20260801 (quad-capable, 48–50,000 faces).
P1-20260311 · P2-20260801
face_limitintegerMax faces (default adaptive). P1 50–20,000; P2 48–50,000, quad 48–25,000.
quadbooleanQuad mesh — P2-20260801 only.
textureRequiredbooleanRequired. true = textured model (+$0.10); false = bare geometry (PBR is turned off too).
pbrbooleanPBR maps (base color, metallic, roughness, normal); default true when texture is true. Only with texture: true.
texture_seedintegerSeed for the texture stage.
texture_qualitystringstandard (default); fast needs texture_version v3.5-20260815; detailed +$0.10; extreme (8K) +$0.20.
fast · standard · detailed · extreme
texture_versionstringPin the texture model (default derived from model).
v3.5-20260815 · v3.0-20250812
delightbooleanRemove baked-in lighting before texturing (v3.5 texture only).
auto_sizebooleanScale the model to real-world size in meters.
export_uvbooleanUnwrap UVs during generation (default true).
export_orientationstringForward axis (default +x). Leave unset if you will post-process the model.
+x · -x · +y · -y
model_seedintegerSeed for the geometry stage.
