Call it
curl https://api.peume.com/v1/call/generate-3d-model-from-image \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"input": "your input",
"model": "v3.1-20260211",
"texture": true
}
}'const res = await fetch("https://api.peume.com/v1/call/generate-3d-model-from-image", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"input": "your input",
"model": "v3.1-20260211",
"texture": true
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/generate-3d-model-from-image",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"input": "your input",
"model": "v3.1-20260211",
"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-3d-model-from-image.
Parameters
inputRequiredstringOne clear image of the object: a public https URL or a file_ token from /files/presign.
enable_image_autofixbooleanEnhance a low-quality input image first.
texture_alignmentstringMatch the input image colors or the geometry.
original_image · geometry
orientationstringalign_image faces the model like the input image.
default · align_image
modelRequiredstringv3.1-20260211 (recommended) or v3.0-20250812.
v3.1-20260211 · v3.0-20250812
face_limitintegerMax faces (default adaptive). Triangle ≤ 1,500,000 on v3.1, ≤ 1,000,000 on v3.0, 2,000,000 with geometry_quality: detailed. Quad ≤ 150,000; smart_low_poly 500–20,000 (quad 500–10,000).
geometry_qualitystringdetailed = Ultra geometry, +$0.20.
standard · detailed
quadbooleanQuad mesh, output forced to FBX (+$0.05).
smart_low_polybooleanHand-crafted-style low-poly topology (+$0.10).
generate_partsbooleanEditable segmented parts (+$0.20); needs texture: false, no quad or smart_low_poly.
compressstringmeshopt geometry compression.
geometry
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.
