Call it
curl https://api.peume.com/v1/call/generate-3d-model-from-views \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image_urls": []
}
}'const res = await fetch("https://api.peume.com/v1/call/generate-3d-model-from-views", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"image_urls": []
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/generate-3d-model-from-views",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"image_urls": []
}
},
)
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-views.
Parameters
image_urlsRequiredarray1–4 images of the SAME object from different angles.
ai_modelstringGeometry model (default latest = meshy-7.1); meshy-6-lite is the cheapest ($0.15 mesh-only).
meshy-6 · meshy-6-lite · meshy-7.1 · latest
geometry_resolutionstringUltra geometry (meshy-7.1 / latest); adds $0.15.
standard · 2k
should_texturebooleanRun the texture stage (default true).
texture_modelstringTexture model, meshy-7 (default) or meshy-n1 — the multi-view texture models; billed as mesh-only + Retexture.
meshy-7 · meshy-n1
enable_pbrbooleanProduce PBR texture maps.
texture_resolutionstringTexture resolution (default 2k).
2k · 4k · 8k
texture_promptstringTexture description.
texture_image_urlstringTexture reference image (public https URL).
should_remeshbooleanRemesh after generation (default true for meshy-6-lite).
topologystringOutput mesh topology.
quad · triangle
decimation_modestringDecimation algorithm selector (1–4).
save_pre_remeshed_modelbooleanAlso return the pre-remesh model.
target_polycountintegerTarget count, 100–300,000.
pose_modestringForce a rest pose for characters you intend to rig.
a-pose · t-pose
image_enhancementbooleanEnhance the input image (default true).
remove_lightingbooleanRemove baked lighting from textures (default true).
moderationbooleanRun content moderation.
target_formatsarrayFormats to generate (default: every format except 3mf).
auto_sizebooleanEstimate the real-world size.
alpha_thumbnailbooleanAlso return a transparent-background preview.
multi_view_thumbnailsbooleanRender front / right / back / left thumbnails.
origin_atstringWhere to place the origin.
bottom · center
texture_image_urlsarray1–4 texture reference views (primary first); needs the meshy-7 or meshy-n1 texture model. Not with texture_prompt / texture_image_url.
